Fork me on GitHub

Need urgent help with this news start page  Bottom

  • 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
  • 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.
  • is it maybe theme.cfg which needs to be edited?

    here is what it says in my theme.cfg which is in the Xcorp theme folder.

    Quote


  • 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
  • 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
  • Hammerhead always has all the answers!
  • hammer, i edit it and now its like this

    Quote






    but page still doesnt show login box and admin msg on start index page on that theme cry
  • 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
  • wicked hammer its working now!!!!

    thanx a lottttttttttttttttt


    u da besttttttttttt
  • 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
  • yes hammer, im working on it now icon_smile
  • 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 icon_redface
  • 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.
  • 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

This list is based on users active over the last 60 minutes.