View Single Post
  #57  
Old 09-14-2012, 11:35 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart Adapt Template

Quote:
Phil, I don't see the "Wish List" and "Gift Registry" links in the my account box.
Is this intentional? How do I add them in?

The Gift Registry link (giftregs.php) actually appears in the 'Special' side menu box.

To add Wishlist links, modify...

skin/adapt/customer/authbox.tpl
skin/adapt/addons/menus/header_dropdown.tpl

After...

Code:
<li><a href="orders.php">{$lng.lbl_orders}</a></li>

Insert...

Code:
{if $active_modules.Wishlist ne ""} <li><a href="cart.php?mode=wishlist">{$lng.lbl_wish_list}</a></li> {/if}

Quote:
Hi... I'd like to put some static pages on the menu bar in addition to the Mega menu (which rocks!) how do I go about doing that?

skin/adapt/addons/menus/header_mega_dropdown.tpl

Before the last...

Code:
</ul>

Insert...

Code:
<li><a href="#">Information <i class="icon-chevron-down"></i></a> <ul> <li><a href="#link1"><i class="icon-chevron-right"></i> Page 1</a></li> <li><a href="#link2"><i class="icon-chevron-right"></i> Page 2</a></li> <li><a href="#link3"><i class="icon-chevron-right"></i> Page 3</a></li> </ul> </li>

Or if you want dynamic static page links...

Code:
<li><a href="#">Information <i class="icon-chevron-down"></i></a> <ul> {foreach from=$pages_menu item=p name=page} {if $p.show_in_menu eq 'Y'} <li><a href="pages.php?pageid={$p.pageid}"><i class="icon-chevron-right"></i> {$p.title|amp}</a></li> {/if} {/foreach} </ul> </li>

Quote:
Also, I have noticed that both the ink site and the car site are slow... is this due to the adapt template, or your servers...

Your site can be as fast as you want it to be, it depends how prepared you are to optimise things.

Jack at the ink site has got his pages down to a insanely fast speed by adding Max CDN, optimising images, disabling unnecessary modules etc. etc.

Plus he's with a reputable x-cart hosting company, ie. not a budget shared host.

With any X-Cart store, it's best to keep things as simple as possible.

There's many tools to test your site as you optimise, one of which is Pingdom (yes I'm well aware of the performance of the demo).
__________________
xcartmods.co.uk
Reply With Quote