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 10-24-2009 00:23:57

rtringo
Member
Registered: 06-22-2005
Posts: 95

How to use include in CCP7

I have just updated from CCP6 to CCP7

In CCP6 I used several php files from a custom "include" folder.
Below is an example of a navigation menu command that was used in several places of my website.

<?php $skinfunc->include_skinfile('includes/navigation/mainnav2.php');?>

Can I use this command and file in CCP7? I believe there needs to be some type of skinfunc/skinfile code at the top of my skin.php or at the top of my webpage that allows the use of this command.

Thanks

Roger

Offline

 

#2 10-24-2009 05:26:06

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: How to use include in CCP7

Were/are you using a ZipSkin? There was no function named include_skinfile in CCP but it might be something that was supplied with ZipSkins.  If it was chances are good that it is also there in the version 7 ZipSkins also.

Offline

 

#3 10-24-2009 16:10:16

ZipSkins
Member
From: United Kingdom
Registered: 01-15-2006
Posts: 822
Website

Re: How to use include in CCP7

Yes, include_skinfile is in skinfunc.php in our CCP6 and CCP7 skins.

Nigel


| Professional Quality Customisable Skins for your ClickCartPro Powered Site


-----------------------------
Certified Support Partner

Offline

 

Board footer