Board index Misc & Support General Support Incorporate into css-free-templates

Incorporate into css-free-templates

Any cup related posts or other problems.

Post Mon Jul 11, 2016 9:42 pm

Posts: 2
Hi there,

first, excellent work on this software, really nice and full featured.

i like what you did with this site... where do i begin to incorporate this into a css-free-template like you did?

any hints/direction would be greatly appreciated!

Bizzo

Post Tue Jul 12, 2016 5:25 pm
karimali831 Site Admin

Posts: 153
If you want to use a HTML template or template from css-free-templates with webspell, you need to rename index.html to index.php, edit this file and include the webspell core files at the top and include the main file in body-content section.

E.g. edit index.php

Top:

// important data include
include("_mysql.php");
include("_settings.php");
include("_functions.php");


Head-title:
<title><?php echo PAGETITLE; ?></title>


Inside body div content class/ID:

if(!isset($site)) $site="news";
$invalide = array('\\','/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.".php")) $site = "news";
include($site.".php");


This is just starting point you probably need to edit some template files also such as news templates
to adapt to current design.

Post Tue Jul 12, 2016 10:32 pm

Posts: 2
Thank you Karimali!

Post Mon Jun 12, 2017 9:22 pm

Posts: 1
Can u Upload ur modificated CSS Free Template ?

Thx

Image

Image

Post Tue Jun 20, 2017 10:29 am
karimali831 Site Admin

Posts: 153
alupew wrote:
Can u Upload ur modificated CSS Free Template ?

Thx

Image

Image



I cannot send you this modified template however you can download the template free from the website and follow the instructions in my first post.


Return to General Support

cron