Closed (works as designed)
Project:
Content Templates (Contemplate)
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2008 at 16:36 UTC
Updated:
10 Apr 2009 at 19:28 UTC
When I upload my site to the live server, I have to go back into the Contemplate settings page and re-submit the page in order for it to pick up my disk-based templates.
I would imagine this has something to do a hardcoded base url in the Contemplate code... because my local has a different $base_url to the live.
Will try get a patch together next year.
Comments
Comment #1
Mark Theunissen commentedIt's a problem with my (mis)use of the /sites/ directory for localhost and live versions of the same site. I have to make sure I visit the contemplate admin page when uploading the DB, else the contemplates are not picked up.
I can see why this is done, because for actual multisites it would probably make sense to work like this.
Comment #2
latte commentedWouldn't this be better to store disk based templates in the sites templates/template-name directory.
1. Multiple PHP templates for a single site might have different teaser or body layouts.
2. If I am using a special admin template, I might want to see my content differently.
I am just playing devils advocate here but I think anything related to a template should be in the templates/template-name directory.
It just seems more efficient and makes more sense.
Just my two cents.
This aside I do have to give props to all who were involved in creating this mod. Without it I could have built some of my templates the way I wanted to.
Cheers,
Latte/