Page 1 of 1

problems how to convert a html-site to wcms

Posted: Sat 8. May 2004, 20:58
by SNap
hi,

i want to put my own site into wcms, but i have spent a fair amount of time on it, and i cannot figure out how to bring it in to wcms...

maybe one of the wcms-pro's got an idea?

look at my site: http://www.dsl-inet.com

the most special about these pages: they adapt in width and height to browser. And the background is different on any page, i don't know how to bring that into wcms.

would apreciate any thoughts ;)

Cheers
SNap

Posted: Sun 9. May 2004, 11:57
by brans
the different background can be managed through different templates...

and for the width you can just use a custom design.. so you'll have to create your design through static html in your templates.... that shouldn't be a problem...

=> go to page layout => choose: custom

=> go to templates => create your templates with you different background, or use the random image tag, if the image is not fixed for any category

=> go to categories => create your categories and choose the correct template for each category...

you should be done...

now you've got a static layout but you can edit you content with wcms...

Posted: Sun 9. May 2004, 12:04
by pSouper
your background images can be controlled using... one of these hacks
http://www.phpwcms.de/forum/viewtopic.p ... highlight=

Posted: Sun 9. May 2004, 13:51
by SNap
hi brans,

i tried it, and it almost works, except that the content-pages will not show up :(

i copied my hole static-html-code in main part of template, is that correct? i almost can't believe it :)

Posted: Sun 9. May 2004, 17:04
by brans
did you use the {CONTENT} Replacement Tag in you static html ??
Ahh and of course you have to enter some content ;) by writing articles for each category :-)...

otherwise it's hard to say what you're doing wrong! could you maybe setup an admin account for me at your script and I will have a look at it...

just feel free to contact me via:

MSN: andibrenner at web dot de
ICQ: 101 79 48 14

Posted: Sun 9. May 2004, 17:14
by SNap
ok i forgot the {content} :roll: thx!

Posted: Mon 10. May 2004, 14:18
by SNap
pSouper wrote:your background images can be controlled using... one of these hacks
http://www.phpwcms.de/forum/viewtopic.p ... highlight=
these hacks don't work for me.....maybe because of backround images?

Posted: Mon 10. May 2004, 14:33
by SNap
it works! yes! strike! it works!


Thx Jan!

Posted: Mon 10. May 2004, 14:34
by rk
I think, it must be possible to use different templates.
There you can define different css and also different background-images.
And in the site structure you can define the used template.

edit: to late, double-Strike :P

Posted: Mon 10. May 2004, 15:25
by SNap
yeah, but dirrefent templates for each page would put cms ad absurdum ;)

Posted: Tue 18. May 2004, 19:49
by Oliver Georgi
I have enhanced phpwcms (CVS only at the moment) for the possibility to read whole pages, texts, php scripts and so on - and also URLs.

You can place files in content/pages in any possible subdirectory structure.

Backend:
Image

Frontend:
Image

Oliver

Posted: Tue 18. May 2004, 20:32
by pSouper
I think this maybe one of those 'Wowsers!' moments :D
but can it only do Google & Apple or other sites too? ;)