Hi,
I am facing a really weird problem. I tested all the CMS at XAMPP and it worked.
Today, I moving it to real server, I get bunch of problem...
I have create a dropdown menu by using following code:
Redirect page by using following code:
Problem 1 :
If I created a menu, the first-level menu works fine. If I create second level menu, the page is all blank, a totally empty blank page.
Problem 2:
If I try to use the redirect code
It shows exactly like problem 1 did, a totally empty blank page.
Any idea on this?
I am facing a really weird problem. I tested all the CMS at XAMPP and it worked.
Today, I moving it to real server, I get bunch of problem...
I have create a dropdown menu by using following code:
- Code: Select all
<cms:if k_is_page || k_is_folder >
<cms:if k_folder_name ><cms:set current_folder=k_folder_name /></cms:if>
<cms:if k_page_foldername ><cms:set current_folder=k_page_foldername /></cms:if>
</cms:if>
<cms:folders hierarchical='1' extended_info='1'>
<cms:if k_level_start >
<cms:set my_class2='' />
<cms:if k_level='0'>
<cms:set my_class2='class="orion-menu red"' />
</cms:if>
<UL <cms:show my_class2 />></cms:if>
<cms:if k_element_start >
<cms:set my_class='' />
<cms:if "<cms:is_ancestor parent=k_folder_name child=current_folder />" >
<cms:set my_class='class="active"' />
</cms:if>
<LI <cms:show my_class />>
<a href="<cms:if k_folder_immediate_children>javascript:void(0)<cms:else /><cms:show k_folder_link/></cms:if>"><cms:show k_folder_title/></a>
</cms:if>
<cms:if k_element_end ></LI></cms:if>
<cms:if k_level_end ></UL></cms:if>
</cms:folders>
Redirect page by using following code:
- Code: Select all
<!-- if this is NOT a folder -->
<cms:if k_is_home>
<!-- list folders -->
<cms:folders hierarchical='1'>
<!-- and redirect to the first folder that is not top-level -->
<cms:if k_level='0' || k_level='1'>
<cms:redirect url="<cms:show k_folder_link />" />
</cms:if>
</cms:folders>
</cms:if>
Problem 1 :
If I created a menu, the first-level menu works fine. If I create second level menu, the page is all blank, a totally empty blank page.
Problem 2:
If I try to use the redirect code
- Code: Select all
<cms:if k_level='0' || k_level='1'>
<cms:redirect url="<cms:show k_folder_link />" />
</cms:if>
It shows exactly like problem 1 did, a totally empty blank page.
Any idea on this?