site not working properly after upgrading to 1.67 version

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rjtp
New Member
New Member
Posts: 4
Joined: Thu Mar 11, 2010 5:31 pm

site not working properly after upgrading to 1.67 version

Post by rjtp »

Hi,

I just upgraded the site from 1.24 version to 1.67 version and some links on the site are not working properly now.
I have tried reinstalling modules, but it  doesn't seems to work. links on http://www.dwrf.info.php5-16.websitetestlink.com/( Quality,What's my water quality? and Regulations links should look like) the links on http://www.thefactsaboutwater.org/. Can someone help me to fix this.

Thank you
rjtp
owr_bgld

Re: site not working properly after upgrading to 1.67 version

Post by owr_bgld »

The problem are the different classes:

The first three links have
<a class="navListMain" ....
rjtp
New Member
New Member
Posts: 4
Joined: Thu Mar 11, 2010 5:31 pm

Re: site not working properly after upgrading to 1.67 version

Post by rjtp »

can you tell me how can i change the class name? is it possible to change from the admin side? i am new to this.
thank you
owr_bgld

Re: site not working properly after upgrading to 1.67 version

Post by owr_bgld »

It's not necessary to change the class, if you want to show this links in every page (for me it looks like this) but before giving an tipp please tell me the following:

Is there a parent site above this sites (maybe "home")? It looks like this are childs
This you can see at the numbers in front of the sites in the admin template (1,2,3 are the parents 1.1, 1.2, 2.1 .... are childs and so on)

can you put the code of your template in an post (or send it per PM to me)
rjtp
New Member
New Member
Posts: 4
Joined: Thu Mar 11, 2010 5:31 pm

Re: site not working properly after upgrading to 1.67 version

Post by rjtp »

hi,

thank you for your response.numbers of these pages are 2, 3 and 4.The code of the template is as follows





{sitename} {global_content name='dynamic-title'} - {title}

{metadata}
{stylesheet}









       
     

       
       {global_content name='logo'}
       
       
        {menu template='waters.tpl' collapse='1' number_of_levels="2"}
         

       
       
   
   


   
    {global_content name='topLinks'}
-->

{search resultpage='search-results'}

   

   
     

        {global_content name='dynamic-headers'}
        {title}
       
        {content}
       


     

       

       
   

       

   
   
   
   
   




{global_content name='footer'}








Thank you
rjtp
Attachments
screenshot1.png
screenshot1.png (0 Bytes) Viewed 1203 times
owr_bgld

Re: site not working properly after upgrading to 1.67 version

Post by owr_bgld »

I can't open the screenshot - can you list the content of your water.tpl?
rjtp
New Member
New Member
Posts: 4
Joined: Thu Mar 11, 2010 5:31 pm

Re: site not working properly after upgrading to 1.67 version

Post by rjtp »

Hi,

thank you for responding.
Here is the contents of waters.tpl

{if $count > 0}


{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}

{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}

{repeat string="" times=$node->prevdepth-$node->depth}

{elseif $node->index > 0}
{/if}
{if ($node->parent == true && $node->depth == 1) or ($node->current == true and $node->haschildren == true && $node->depth == 1)}
current == true}
haschildren == true && $node->depth == 1}
type == 'sectionheader'}
        {$node->menutext}
{elseif $node->type == 'separator'}
       
{else}
type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->type == 'sectionheader'}
>{$node->menutext}
{/if}

{/foreach}

{repeat string="" times=$node->depth-1}


{/if}

thank you
rjtp
Post Reply

Return to “CMSMS Core”