网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > X-Cart
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

Reply
 
Thread Tools Display Modes
  #1   IP: 173.255.223.117
Old 2014-10-01, 07:51 AM
Kaeden Kaeden is offline
初级会员
 
Join Date: 2006-07-11
Posts: 1
Kaeden 现在声名狼藉
Default Static Pages Link Display

Hello all,

I have a question with regards to the static pages feature which if any of you can offer advice I'd greatly appreciate it.

I want to add some tutorials on my site through the static page feature, but my problem is that anytime I add a new static page, it ends up being listed under the HELP section on my homepage www.loupesusa.com.

Is there a way I can stop the link from showing up on the customer storefront?

Thanks in advance for all advice and help.

Good luck!
Reply With Quote
  #2   IP: 173.255.223.117
Old 2014-10-01, 07:53 AM
Kanaranzi Kanaranzi is offline
初级会员
 
Join Date: 2009-02-04
Posts: 1
Kanaranzi 现在声名狼藉
Default

skin/2-columns/customer/bottom.tlp


Inside that file look for this line:

Code:
 {foreach from=$pages_menu item=p}
    {if $p.show_in_menu eq 'Y'} 
    <li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp}</a></li>   {/if}
    {/foreach}
Change it to:
Code:
{foreach from=$pages_menu item=p}
      {if $pages_menu[pg].orderby gt "900"}
        <li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp}</a></li>
      {/if}
    {/foreach}
This will prevent the static pages showing up at homepage, but still showing up in the help section.

Last edited by topvip : 2014-10-01 at 08:27 AM
Reply With Quote
  #3   IP: 173.255.223.117
Old 2014-10-01, 07:56 AM
Karissa Karissa is offline
初级会员
 
Join Date: 2009-05-14
Posts: 1
Karissa 现在声名狼藉
Default

any way not leting part pages not showing up in the help section also?

Last edited by topvip : 2014-10-01 at 08:13 AM
Reply With Quote
  #4   IP: 173.255.223.117
Old 2014-10-01, 08:21 AM
Kelsey Kelsey is offline
初级会员
 
Join Date: 2012-09-08
Posts: 1
Kelsey 现在声名狼藉
Default

skin/common_files/customer/help/general.tpl

change
Code:
{foreach from=$pages_menu item=p name=pages}
      <li>{include file="customer/buttons/button.tpl" button_title=$p.title href="pages.php?pageid=`$p.pageid`" style="link"}</li>
{/foreach}
to

Code:
{foreach from=$pages_menu item=p name=pages}
{if $pages_menu[pg].orderby gt "60"}
      <li>{include file="customer/buttons/button.tpl" button_title=$p.title href="pages.php?pageid=`$p.pageid`" style="link"}</li>
    {/if}
{/foreach}
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header, Sidebar, and Footer Links - Penguin: The Sitewide Link Rabbit Hash 搜索引擎市场营销研究 0 2014-08-30 08:47 AM
Show static pages on certain conditions topvip X-Cart 0 2014-03-24 09:51 PM
Easy Hidden Static Pages Mod 4.6.x topvip X-Cart 0 2014-03-24 07:47 PM
Comprehensive List of SEO Tools topvip 搜索引擎市场营销研究 0 2006-03-23 01:16 AM
Successful Site in 12 Months with Google Alone sunshine 搜索引擎市场营销研究 0 2006-02-27 09:27 PM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 01:19 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.