Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 24. May
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. 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
Help with admin messages
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 18
I just downloaded a non-autotheme that is having an interesting issue with not being able to show the admin messages. I was wondering how I should go about adding them back in (I use the admin messages as a welcome-to-my-site kinda thing that always shows on the home page). I've worked with the PHP files before, but never in this context (mostly modding colors or slight text changes or even removing/adding of links. If I'm not mistaken, it's a section in the theme.php file, but I'm not quite sure where to add it and what to add to make them visable... can anyone help me, please? I'll post the text of the theme upon request so as to not clutter up this forum. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 216
I'd recommend using the basic idea that PostNuke and PHP-Nuke were built on: borrow ideas and code from others, the GPL software license allows and encourages it.
Seriously, you have to make a modification to the themesidebox function, among other things. What I'd recommend is to grab a theme that's already working -- ExtraLite is a good one since it isn't cluttered up with a lot of routines, though it might be useful to find one that's close to your theme's coding style -- and compare it to your own theme.php. I'm betting you'll spot the differences.
If you're like me, then it's just a matter of trial-and-error wading through a dozen or more syntax errors. Just use a text editor that makes backup files so you can hit reverse quickly.
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 18
I was putzing around with it and just caused all sorts of visual glitches... are you sure it's the themesidebox function that controls the viewing of the admin messages? Is anyone else able to help me? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 18
Anyone know the answer to this? I'm still, after reading through 4 different themes, confused as to how to add admin block functionality to a theme that doesn't support it.
- Moderated by:
- Support
