|
|
Joined: Mar 2001
Posts: 80
Member
|
Member
Joined: Mar 2001
Posts: 80 |
Hi,
I have a completely new instalation of 6.6.1 and I can't get the html templates to work at all.
I have added a folder to the templates folder and uploaded the compact headers / kompact (tried both) but they jusy wont show. If i copy them over the top of the templates in the "templates" folder then they work fine.
I had the spider hack installed and first thought the problem had something to do with that so i have done a fresh install and made no changes but they just wont show.
If anyone has any ideas I would be greatefull.
Thanks Paul
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
You'll need to go into your cp and update your html template associations to use the kompact headers. This can be done by clicking "Styles" on the left bar, and going to the "Style Associations" tab. The dropdown menus should be fine. Also, make sure you upload all the default templates into the Templates/WhateverYouNamedTheFolder Directory, because the new 6.6 compact templates only change 4 templates, so the original ones should be uploaded first, then have the altered files overwritten
|
|
|
|
Joined: Mar 2001
Posts: 80
Member
|
Member
Joined: Mar 2001
Posts: 80 |
Thanks,
I have changed those settings in the styles section so many times.... but they wont show, i have also uploaded the standard templates first before the kompact files with no luck.
At the moment the board is running with the cahce and accel turned off so that can't be the problem.
its very anoying.........
|
|
|
|
Joined: Mar 2001
Posts: 80
Member
|
Member
Joined: Mar 2001
Posts: 80 |
I Figured it out, you have to name the template folder the same as is defined in the "$template_html{"PUBCOMMON"}" vaiable in the public_common.pl File.
So my next question is, where is this documented? did i miss it cos i am stupid or is there more to it?
Thanks for your help
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
It's documented somewhere deep on the website, actually...
UBB.classic: Love it or hate it, it was mine.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|