I'm using postnuke to build a website for my company. In going through all the themes, (I downloaded the 3 packages from pnTHEMES), I found two interesting things: First, exactly half of them don't work at all. They either have "can't find include file" type errors, or they have a catastrophic error when looking for either the "translate()" function, or one of several SQL functions. The function errors seem to be unrecoverable and I have to reinstall postnuke. Having gotten past that by testing and eliminating all the broken themes, I ran into the second problem.
I want to be able to use the Admin Message on the site. Problem is, it seems I'm limited to the native postnuke themes. None of the other themes, several of which are exactly the type of thing I'm looking for, display this message at all. The message is there, it's activated, and it shows fine and the postnuke themes, so I know it works. What do I have to do to get it to show up on these other themes? Can this be done? Or do I have to develop my own theme?
Nick
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Where the heck is my Admin Message?
-
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 99
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=3559&highlight=centre+center+block+theme
Regards
SteveH (Britdude) -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 676
No need to reinstall Postnuke every time just because you try an old dud theme.
If you can't get back to change the theme from the browser, a handy tool to have is the postnuke Swiss Army Knife, a small emergency script to reset things like the theme to a default.:
http://www.snowjournal.com/psak.html
Or, to quote from elsewhere in this forum:
Quote
* Go to your themes folder.
* Rename the folder 'VBlue' to something like 'VBlue_dead'
* Copy the folder of a theme that you know works correctly - preferably a postnuke default theme like PostNukeBlue.
* Paste that copy in the themes folder and rename the folder 'RecoveryTheme'.
* Copy the 'RecoveryTheme' folder, and again paste that folder in the themes folder.
* Rename 'copy of RecoveryTheme' to 'VBlue'.
* Test the site to see if it works
* If everything's fine, go back and delete the folder 'VBlue_dead'.
* Leave the 'RecoveryTheme' folder for the next time you need to make a recovery
Doesn't sound like you'd know how to access the database through something like phpMyAdmin, MySQL Control Centre (from www.mysql.com) or the commandline, but for anybody else, I've used this to restore a functioning theme when trying out old ones:
Code
Run an SQL query in mysql:
> UPDATE nuke_users > SET pn_theme = "name-of-theme" where pn_uname = "your-user-name";
Replace 'name-of-theme' and 'your-user-name' as appropriate. Ending semicolon required. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 676
Um, the greater-than > in the SQL query above represents the commandline prompt, and isn't entered, not is it essential to indent, nor have it on two lines. The semicolon at the and is probably only needed on the commandline, don't know about phpMyAdmin. It means 'execute command'.
- Moderated by:
- Support
