Kryptronic Software Wiki : MakingTheCcpSixSkinFlowIntoExistingHtmlSieUsingAnHtmlEditor

Kryptronic Internet Software Solutions
Most recent edit on 2007-03-16 06:39:32 by KryptronicWebmaster

Additions:

Making A Skin Flow Into An Existing HTML Site Using An HTML Editor

Use the code below for your skin.
Note: The links to the style sheet and JavaScript below are specific to the skin identifier name you used when you cloned the default skin above. Where you see CustomSkin in the example below you will need to use your skin identifier name (case matters on most servers).
# Insert the top portion of your HTML from Frontpage (for example) here.
# Insert the bottom portion of your HTML from Frontpage (for example) here.
Using this method will allow you to use your own HTML while not disabling some of the nicer features of ClickCartPro such as CSS usage, relative image URLs (which are needed for SSL/Non-SSL transitions) and lightbox pop-ups.
ClickCartPro - Skinning (Changing The Look Of Your Site)


Deletions:

Making A Skin Flow Into An Existing HTML Site Using an HTML Editor

Use the code below for your skin:
PUT THE TOP PART (BEFORE THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE
PUT THE BOTTOM PART (AFTER THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE
This will accomplish allowing you to use your own HTML while not disabling some of the cooler features of the software like the CSS usage, relative image URLs (needed for SSL/Non-SSL transitions) and lightbox popups.
Wiki: Pending Inclusion




Edited on 2007-03-16 06:16:11 by KryptronicWebmaster

Additions:

Making A Skin Flow Into An Existing HTML Site Using an HTML Editor

In admin under
Home > Kryptronic Hybrid X Core > Displays: Skins, Menus, XHTML Includes and Messages > Manage Display Skins
and select Clone next to Skin Name E-Commerce Skin. For our purposes we will use a Skin Identifier of CustomSkin but you may give it any identifier you like.
In admin under
Home > ClickCartPro > Application: Profile and Namespaces > Application Profile
The skin to use for your site may be selected in the Default Display Skin field (CustomSkin in our example here).
In admin under
Home > Kryptronic Hybrid X Core > Displays: Skins, Menus, XHTML Includes and Messages > Manage Display Skins
click on Update next to CustomSkin (or the name you chose). On the next screen click on Update next to File Name skin.php.
Use the code below for your skin:
	 <?php /* PHP FUNCTION */
	       /* REQUIRED: Skin startup */
	       $skinfunc =& $this->include_skinfunc('KHXC_SkinFunc');
	       extract($skinfunc->startup()); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="keywords" content="<?php print $metakeywords; ?>" />
<meta name="description" content="<?php print $metadesc; ?>" />
<meta name="robots" content="index,follow" />
<base href="<?php print $disp_baseurl; ?>" />
	 <?php /* PHP FUNCTION */
	      /* REQUIRED: Prints lightbox code */
	       $skinfunc->lightbox(); ?>
<link rel="stylesheet" type="text/css" media="all" href="skins/CustomSkin/css/all.css" />
<script type="text/javascript" src="skins/CustomSkin/scripts/scripts.js"></script>
<title><?php print $metatitle; ?></title>
</head>
	 <?php /* PHP FUNCTION */
	       /* REQUIRED: Prints the body tag */
	       $skinfunc->bodytag(); ?>
########## PUT THE TOP PART (BEFORE THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE ##########
<khxc:content />
########## PUT THE BOTTOM PART (AFTER THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE ##########
</body>
</html>


Deletions:

Making The CCP 6 Skin Flow Into Existing Html Site Using an Html Editor

(1) Access the ClickCartPro | Displays: Skins, Menus, XHTML Includes and Messages | Manage Display Skins function and clone the 'Ecom' skin. Call it 'Custom' or whatever you like.
(2) Access the ClickCartPro | Application: Profile and Namespaces | Application Profile function and choose your 'Custom' skin as the 'Default Display Skin' for ClickCartPro.
(3) Access the ClickCartPro | Displays: Skins, Menus, XHTML Includes and Messages | Manage Display Skins function and choose to update your 'Custom' skin. Choose to update the 'skin.php' file. Use the code below for your skin:
Code:
<?php /* PHP FUNCTION */
/* REQUIRED: Skin startup */
$skinfunc =& $this->include_skinfunc('KHXC_SkinFunc');
extract($skinfunc->startup()); ?>

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">//

<html xmlns="http://www.w3.org/1999/xhtml">//

<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />

<meta name="keywords" content="<?php print $metakeywords; ?>" />

<meta name="description" content="<?php print $metadesc; ?>" />

<meta name="robots" content="index,follow" />

<base href="<?php print $disp_baseurl; ?>" />

<?php /* PHP FUNCTION */
/* REQUIRED: Prints lightbox code */
$skinfunc->lightbox(); ?>

<link rel="stylesheet" type="text/css" media="all" href="skins/Ecom/css/all.css" />

<script type="text/javascript" src="skins/Ecom/scripts/scripts.js"></script>

<title><?php print $metatitle; ?></title>

</head>

<?php /* PHP FUNCTION */
/* REQUIRED: Prints the body tag */
$skinfunc->bodytag(); ?>

PUT THE TOP PART (BEFORE THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE

<khxc:content />

PUT THE BOTTOM PART (AFTER THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE

</body>

</html>




Edited on 2007-03-05 09:04:19 by KryptronicWebmaster

Additions:
Wiki: Pending Inclusion

Deletions:
Pending Inclusion



Oldest known version of this page was edited on 2007-02-15 22:09:14 by KryptronicWebmaster []
Page view:

Making The CCP 6 Skin Flow Into Existing Html Site Using an Html Editor


(1) Access the ClickCartPro | Displays: Skins, Menus, XHTML Includes and Messages | Manage Display Skins function and clone the 'Ecom' skin. Call it 'Custom' or whatever you like.

(2) Access the ClickCartPro | Application: Profile and Namespaces | Application Profile function and choose your 'Custom' skin as the 'Default Display Skin' for ClickCartPro.

(3) Access the ClickCartPro | Displays: Skins, Menus, XHTML Includes and Messages | Manage Display Skins function and choose to update your 'Custom' skin. Choose to update the 'skin.php' file. Use the code below for your skin:

Code:
<?php /* PHP FUNCTION */
/* REQUIRED: Skin startup */
$skinfunc =& $this->include_skinfunc('KHXC_SkinFunc');
extract($skinfunc->startup()); ?>

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">//

<html xmlns="http://www.w3.org/1999/xhtml">//

<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />

<meta name="keywords" content="<?php print $metakeywords; ?>" />

<meta name="description" content="<?php print $metadesc; ?>" />

<meta name="robots" content="index,follow" />

<base href="<?php print $disp_baseurl; ?>" />

<?php /* PHP FUNCTION */
/* REQUIRED: Prints lightbox code */
$skinfunc->lightbox(); ?>

<link rel="stylesheet" type="text/css" media="all" href="skins/Ecom/css/all.css" />

<script type="text/javascript" src="skins/Ecom/scripts/scripts.js"></script>

<title><?php print $metatitle; ?></title>

</head>

<?php /* PHP FUNCTION */
/* REQUIRED: Prints the body tag */
$skinfunc->bodytag(); ?>

PUT THE TOP PART (BEFORE THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE

<khxc:content />

PUT THE BOTTOM PART (AFTER THE CONTENT SECTION) OF YOUR HTML FROM FRONTPAGE HERE

</body>

</html>

This will accomplish allowing you to use your own HTML while not disabling some of the cooler features of the software like the CSS usage, relative image URLs (needed for SSL/Non-SSL transitions) and lightbox popups.



Pending Inclusion