Hi,
I am missing Admin message on index page when using PostNukeBlue100. Admin message works just fine with other themes. Any Ideas?
Thanks in advance.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 created topic »Zikula 1.3.3 - Selecting a category in Pages not working« 04:19 PM
- nestormateo responded to »Fillters in Clip« 06:33 AM
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 03:19 AM
- 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
Missing Admin messsage in Postnukeblue100
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 676
Works here. Is it a recent download? Else try redownloading from link below.
check these lines exist, from around line 382 before the Opentable fubctions:
Code
} // End centre blocks, begin Admin message
elseif ($block['position'] == 'c') {
echo $block['content']."<BR>\n";
} //End center blocks
} //End themesidebox function
/************************************************************/
/* OpenTable Functions */
That outputs the Admin message. Do I take it that any centre block outputs OK? Else, you can do a search for "CenterCol", and you should find in the themeheader function:
Code
<TD id="CenterCol" width="100%" border="0" cellspacing="1" cellpadding="0" valign="top">
<?php if ($index == 1) { // Is it the home page, then display in center block ?>
<!----- Center block start ----->
<DIV id="AdminMsg">
<?php blocks('centre'); ?></DIV>
<!----- Center block end ----->
<?php } // End centerblock ?>
blocks('cnetre'); is what outputs centre blocks and admin message on the condition that the homepage flag is set $index==1
You could try changing if ($index == 1)
to
if ($GLOBALS['index'] == 1)
shouldn't make a difference, but could be something in the PHP setup of the server.
- Moderated by:
- Support
