Kryptronic Software Wiki : OnlineStoreFeatureItemsAndStoreHomeSharingSplashPage

Kryptronic Internet Software Solutions
Most recent edit on 2007-03-04 06:34:36 by KryptronicWebmaster

Additions:
There are two methods available to share Featured Items on the Splash (or landing) page for your site.
Method 1
In admin under
Home > ClickCartPro > Application: Profile and Namespaces > Application Profile
Change the value of the Default Namespace for Application field to Online Store (it is the 5th option from the bottom of the pulldown list).
Method 2
In admin under
Home > ClickCartPro > Web Pages: Web Page Management > Manage Web Pages
Click on Update next to Identifier splash which has a default Page Display Name of Home and look for the following in the HTML Content field (it is near the bottom):
<?php
$this->include_namespace($app,'prodfeature',array());
?>

Change the code above to:
<?php
$curr_ns = $this->globals('khxc.namespace');
$this->include_namespace($this->globals('khxc.app'),'splash',array());
$this->globals('khxc.namespace',$curr_ns);
?>

Click on Submit to save your changes.
ClickCartPro - Skinning (Changing The Look Of Your Site)


Deletions:
On the management interface, go to:
ClickCartPro > Application: Profile and Namespaces > Application Profile
And change the value for 'Default Namespace for Application' to 'Online Store' - it's the fifth option from the bottom of the list
-0r-
edit your splash page and in place of this
code:
<?php

$this->include_namespace($app,'prodfeature',array());

?>
Put this code:
<?php

$curr_ns = $this->globals('khxc.namespace');

$this->include_namespace($this->globals('khxc.app'),'splash',array());

$this->globals('khxc.namespace',$curr_ns);

?>
Pending Inclusion




Oldest known version of this page was edited on 2007-02-15 20:19:31 by KryptronicWebmaster []
Page view:

"Online Store Feature Items" and "Store Home" Sharing Splash Page


On the management interface, go to:

ClickCartPro > Application: Profile and Namespaces > Application Profile

And change the value for 'Default Namespace for Application' to 'Online Store' - it's the fifth option from the bottom of the list
-0r-
edit your splash page and in place of this
code:
<?php

$this->include_namespace($app,'prodfeature',array());

?>
Put this code:
<?php

$curr_ns = $this->globals('khxc.namespace');

$this->include_namespace($this->globals('khxc.app'),'splash',array());

$this->globals('khxc.namespace',$curr_ns);

?>



Pending Inclusion