![]() |
![]() |
|
Creating Links To Various ThingsIn all of the examples below the use of the variable named $app_id will work if a link is used within skin.php ($app_id is defined in skinfunc.php and made available to skin.php). When using the links in Web Pages you may use the variable name $app instead of $app_id. If you want to use these examples someplace other than skin.php or in Web Pages you will need to define $app_id yourself using the following code: <?php $app_id = $this->globals('khxc.app'); ?>All Products <a href="<?php echo $this->link_namespace($app_id,'prodall',array()); ?>"> Specials <a href="<?php echo $this->link_namespace($app_id,'prodspec',array()); ?>"> Product Index <a href="<?php echo $this->link_namespace($app_id,'prodidx',array()); ?>"> Categories The value catshow is a constant and must be used exactly as shown. The Category Identifier is created when you add categories. <a href="<?php echo $this->link_namespace($app_id,'catshow',array('ref' => 'Category Identifier')); ?>">Products The value prodshow is a constant and must be used exactly as shown. The Product Identifier is created when you add products. <a href="<?php echo $this->link_namespace($app_id,'prodshow',array('ref' => 'Product Identifier')); ?>">Web Pages (defined within KHXC/CCP) The value display is a constant and must be used exactly as shown. The identifier is created when you add web pages. The web page identifiers supplied by default are splash, storepolicies, termsofuse and privacy <a href="<?php echo $this->link_namespace($app_id,'display',array('ref' => 'identifier')); ?>">Dynamic Forms <a href="<?php echo $this->link_namespace($app,'dynform',array('ref' => 'formname')); ?>" title="Form Title Goes here">Click here for the dynamic form.</a>CategoryKHXC CategoryAdministration CategorySkinning |
||
![]() |
|
![]() |
There are no comments on this page. [Add comment]