ok i am using XCorp them.
u can see the postnuke site here with this theme.
http://www.golgappay.com/cheetah3x/index.php
now the problem is the "NEW" page, it doesnt show up. Like u know when u are in admin panel, and u click on Admin Messages, well thas what i did..i made a msg..and saved it..and index.php leads to NEWS page as starting page...
but somehow the theme doesnt show the NEWS page with the text i had written. instead it shows blank .
BUT when i switch to another theme, then i can see the NEWS content!
isnt that strange? so cansome one plz tell me if there is any theme file have to edit..for this Xcorp.
help will be much appreciated.
thanx a lot
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- Guite responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 05:53 PM
- 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
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 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
Need urgent help with this news start page
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 265
Well, this is a theme issue. I can't tell you what to put in there but our theme experts will be able to help you out. This post should be moved into the 3rd party themes forum so they will notice it.
Anyhow, all I really know is that the reason it's showing in one theme and not the other is that the theme not showing it, is not calling that portion of the block. Maybe someone can tell you where exactly that should be located. Sorry that's the only insight I can give you. Possibly a search on "theme not showing admin block" or something. -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
Did you try to put HTML in the admin message and miss a closing tag?
As you can see, http://www.golgappay.com/cheetah3x/index.php?theme=PostNuke works fine with the right blocks and a bold message saying "testing"
So I suppose what I am saying is, did you close the bold tag?
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
Scrub that - found it, its in the code, have a look at
Code
$custom_module['News'] = array (
//Module specific template file names
'main' => "theme.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' => false,
'right' => false,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
You need to change
Code
//Block display for this module
'left' => true,
'center' => false,
'right' => false,
to
Code
//Block display for this module
'left' => true,
'center' => true,
'right' => true,
And that should fix it :)
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
ok, I missed a bit, try making the same change to this part of the code:
Code
$block_display = array (
//Display blocks on all pages
'left' => true,
'center' => false,
'right' => false,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
);
False to true again....
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
got there in the end :)
Now hopefully you can launch your site...
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 176
HammerHead
ok, I missed a bit, try making the same change to this part of the code:
Code
$block_display = array (
//Display blocks on all pages
'left' => true,
'center' => false,
'right' => false,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
);
False to true again....
i did this ! and now login and voes poll come ! but the problem now is that "admin msg" shows up on top , even when iclick on forums it stays!
remember u helped with a problem with xtheme, where admin msg was staying on top...
if i change
'center' => false,
'right' => false,
then login, and vote poll comes, but the admin msg stays, and if i make them to TRUE , then admin msg doesnt stay! but then i dont see the LOGIN box
i know im reallt bugging you but this is driving me crazy
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 176
current link is http://www.golgappay.com/cheetah5x/index.php
and my theme.cfg is
Quote
login/vott main news page shows.
but admin msg stays on top now. -
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Hi there,
What we have to do is create a seperate template for the index page (homepage) which will have center and right blocks visable and another theme for the rest which will only have left blocks visable.
First make a copy of theme.html and save it as themeIndex.html
now we are going to change this line of theme.cfg :
Code
if($index != 1) {
//
$custom_module['News'] = array (
//Module specific template file names
'main' => "theme.html",
To this :
Code
if($index == 1) { // take notice of the equals signs!
//
$custom_module['News'] = array (
//Module specific template file names
'main' => "themeIndex.html",
Now change this :
Code
$template = array (
//Main theme template file names
'main' => "theme.html",
'summary' => "summary.html",
//Alternating Summary article templates
//'summary1' => "summary1.html",
//'summary2' => "summary2.html",
//
'article' => "article.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
);
$block_display = array (
//Display blocks on all pages
'left' => true,
'center' => true,
'right' => true,
to this (your only changing from true to false!)
Code
//Display blocks on all pages
'left' => true,
'center' => false,
'right' => false,
Should work now :)
Kindest regards
Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment
- Moderated by:
- Support
