Kryptronic Software Wiki : CreatingLinks

Kryptronic Internet Software Solutions
Most recent edit on 2008-10-21 08:12:05 by KryptronicWebmaster [Added Specials link]

Additions:
Specials
<a href="<?php echo $this->link_namespace($app_id,'prodspec',array()); ?>">




Edited on 2007-12-31 03:42:34 by KryptronicWebmaster [Added format for linking to dynamic forms]

Additions:
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>




Edited on 2007-08-30 06:32:47 by KryptronicWebmaster

Additions:
<a href="<?php echo $this->link_namespace($app_id,'prodall',array()); ?>">

<a href="<?php echo $this->link_namespace($app_id,'prodidx',array()); ?>">


Deletions:
<a href="<?php echo $this->link_namespace($app_id,'prodall',array(); ?>">

<a href="<?php echo $this->link_namespace($app_id,'prodidx',array(); ?>">




Edited on 2007-06-24 05:23:22 by KryptronicWebmaster

Additions:
ClickCartPro - Administration
ClickCartPro - Skinning (Changing The Look Of Your Site)




Edited on 2007-03-07 08:20:11 by KryptronicWebmaster

Additions:
Wiki: Kryptronic Hybrid X Core

Deletions:
Wiki: Pending Inclusion



Edited on 2007-03-07 08:12:45 by KryptronicWebmaster

Additions:
In 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'); ?>

<a href="<?php echo $this->link_namespace($app_id,'prodall',array(); ?>">

<a href="<?php echo $this->link_namespace($app_id,'prodidx',array(); ?>">

<a href="<?php echo $this->link_namespace($app_id,'catshow',array('ref' => 'Category Identifier')); ?>">

<a href="<?php echo $this->link_namespace($app_id,'prodshow',array('ref' => 'Product Identifier')); ?>">

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')); ?>">


Deletions:
In all of the examples below the use of the variable named $app will work if a link is used within skin.php ($app is defined in skinfunc.php). If you want to use these examples someplace other than skin.php you will need to define $app yourself using the following code:
<?php $app = $this->globals('khxc.app'); ?>

<a href="<?php echo $this->link_namespace($app,'prodall',array(); ?>">

<a href="<?php echo $this->link_namespace($app,'prodidx',array(); ?>">

<a href="<?php echo $this->link_namespace($app,'catshow',array('ref' => 'Category Identifier')); ?>">

<a href="<?php echo $this->link_namespace($app,'prodshow',array('ref' => 'Product Identifier')); ?>">

The value display 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,'display',array('ref' => 'storepolicies')); ?>">




Edited on 2007-03-07 08:02:10 by KryptronicWebmaster

Additions:
<?php $app = $this->globals('khxc.app'); ?>

Product Index
<a href="<?php echo $this->link_namespace($app,'prodidx',array(); ?>">

The value catshow is a constant and must be used exactly as shown. The Category Identifier is created when you add categories.
The value prodshow is a constant and must be used exactly as shown. The Product Identifier is created when you add products.
The value display 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,'display',array('ref' => 'storepolicies')); ?>">


Deletions:
&&(PHP)<? php $app = $this->globals('khxc.app'); ?>
(PHP)<a href="<?php echo $this->link_namespace($this->globals('khxc.app'),'display',array('ref' => 'storepolicies')); ?>">%%




Edited on 2007-03-07 07:57:39 by KryptronicWebmaster

Additions:
In all of the examples below the use of the variable named $app will work if a link is used within skin.php ($app is defined in skinfunc.php). If you want to use these examples someplace other than skin.php you will need to define $app yourself using the following code:
&&(PHP)<? php $app = $this->globals('khxc.app'); ?>%%




Edited on 2007-03-06 17:53:20 by KryptronicWebmaster

Additions:
<a href="<?php echo $this->link_namespace($app,'catshow',array('ref' => 'Category Identifier')); ?>">

<a href="<?php echo $this->link_namespace($app,'prodshow',array('ref' => 'Product Identifier')); ?>">

<a href="<?php echo $this->link_namespace($app,'prodall',array(); ?>">

<a href="<?php echo $this->link_namespace($this->globals('khxc.app'),'display',array('ref' => 'storepolicies')); ?>">


Deletions:
<?php echo $this->link_namespace($app,'catshow',array('ref' => 'Category Identifier')); ?>

<?php echo $this->link_namespace($app,'prodshow',array('ref' => 'Product Identifier')); ?>

<?php echo $this->link_namespace($app,'prodall',array(); ?>

<?php echo $this->link_namespace($app,'display',array('ref' => 'storepolicies')); ?>




Oldest known version of this page was edited on 2007-03-06 11:29:58 by KryptronicWebmaster []
Page view:

Creating Links To Various Things


Categories

<?php echo $this->link_namespace($app,'catshow',array('ref' => 'Category Identifier')); ?>


Products

<?php echo $this->link_namespace($app,'prodshow',array('ref' => 'Product Identifier')); ?>


All Products

<?php echo $this->link_namespace($app,'prodall',array(); ?>


Web Pages (defined within KHXC/CCP)

<?php echo $this->link_namespace($app,'display',array('ref' => 'storepolicies')); ?>



Wiki: Pending Inclusion