SOLVED >> Templates, Where are these Stored?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

SOLVED >> Templates, Where are these Stored?

Post by trip »

Hi there
I have a little trouble with the new release, just doing some testing, I have ie and mozilla, problem is when creating a template, certain areas dont save properly.

eg I add new html to the footer, save and this info does not get overwritten, but adds more of the adjusted html!!

Please help.

Also if these are saved, is this in the DB or on the Server??

regards
TriP
Last edited by trip on Thu 19. May 2005, 10:29, edited 1 time in total.
sayitfast1
Posts: 21
Joined: Fri 5. Mar 2004, 07:32

Post by sayitfast1 »

The Html code is in the DB ... pics are in folder on server.
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

I have looked through the DB, but have not found any code, could you tell me whcih table this is in??

TriP
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

trip wrote:I have looked through the DB, but have not found any code, could you tell me whcih table this is in??

TriP
It is stored as a "blog" or what it is called - as you can hear Im not a db wizard....
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

template is stored as base64 encoded string in phpwcms_template

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
bertalizer
Posts: 47
Joined: Sat 21. Feb 2004, 14:24
Location: Belgium

Post by bertalizer »

Oliver Georgi wrote:template is stored as base64 encoded string
Hi Oliver,
Does this have a specific reason?
B.
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

it's better when you are using lots of javascript and such stuff - then I do not have to think about special chars in MySQL and/or PHP like \ ' " % and so on....

Regards
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

it's the same for every template. The default template setting is only neccessary for the index page.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply