Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-18-2010 19:22:48

kiwimum
Member
Registered: 03-30-2004
Posts: 305
Website

hard coding a link to the store splash page

I'm probably making this more difficult than it needs to be!

If I want to link back to the store splash page, just say, in a product description or within an article posted via the cms is there a short hand way to do that?  Something like:

Code:

<?php print $link_home; ?>

The breadcrumbs code isn't too helpful:

Code:

          if ($name == 'STOREHOME') {$name = 'Store Home';}

it deals with the name rather than the link?  Would the link to the store home just be?  I can't get that to work so it must be wrong...

Code:

<?php print $link_storehome; ?>

Jessica
:: CCP5 > CCP6 > Magento > CCP7

Offline

 

#2 02-19-2010 04:36:02

sleeper
Member
Registered: 10-29-2004
Posts: 332

Re: hard coding a link to the store splash page

Hi Jessica,

You need to define the store home link wihtin the XHTML include, somethig like;

Code:

$link_storehome = $this->link_namespace('cms','display',array('ref' => 'splash'));

- Steve


Specialists in ClickCartPro Design

Offline

 

#3 02-19-2010 05:33:59

kiwimum
Member
Registered: 03-30-2004
Posts: 305
Website

Re: hard coding a link to the store splash page

Thanks Steve!


Jessica
:: CCP5 > CCP6 > Magento > CCP7

Offline

 

Board footer