NewB, dont eat me, but help me. or dont...whatever.

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

NewB, dont eat me, but help me. or dont...whatever.

Post by kaiocool »

yes, I am a newb. And I am confuseled. My index.php is blank. And I am confused how to create a layout, and what is this template thing. I understand making block sized in the page layout thing, but nothing is showing up on index.php. I am really and truly confused. I just need to make a layout to fit my design and then make articles. Not really a community thing. Just need easy updating and editing. I am sure you guyz have heard my problem b4 so could someone redirect me. I think I am using rc2.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

your index.php will ALWAYS be blank unless you fill it with content (not directly: the file itself is code not content)

once you have decided on your layout as it seams you have, you must then go and create your template. There are a few templates on this site that you could use (use 'search' or look at the support sticky)
a template is basically HTML code that you put in each of the areas provided.
you may use any or all of the 'replacement tags' in order to make you life a little easier and your site more dynamic.
hope this helps you to help your self :)
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

cleared up a little, still kinda confused on the index.php thingy.
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

OK, whats the purpose of the PAGELAYOUT thing, whats the purpose of the template thing. That is one place where I am confused. What does that have to do with the templates that one can download from the mainsite? How does this allow me to adapt my layout to the way WCMS works. You see, I am pretty confused.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

what about installing the sql file with a start template and layout - then you can play around with it :wink:

Look in the folder:
\setup\sample_template_db

And use this file: phpwcms_init
http://www.studmed.dk Portal for doctors and medical students in Denmark
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

frold wrote:what about installing the sql file with a start template and layout - then you can play around with it :wink:

Look in the folder:
\setup\sample_template_db

And use this file: phpwcms_init
dont devour me, but I am still confused when you say I should install the sql file, how?, and how do i usre that other thing? Sorry, I havent had a chance to get into the folders yet.
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

kaiocool wrote:
frold wrote:what about installing the sql file with a start template and layout - then you can play around with it :wink:

Look in the folder:
\setup\sample_template_db

And use this file: phpwcms_init
dont devour me, but I am still confused when you say I should install the sql file, how?, and how do i usre that other thing? Sorry, I havent had a chance to get into the folders yet.
Go to setup/sample_data_db/ and read README file first

after

you have to move phpwcms_init from setup/sample_data_db to /setup and replace file with same name

after this go to

http://www.yourdomain.com/setup/index.php and make a normal installation!

Warning this will erase all your previous content with new sample content.

P.s please, correct me if i am wrong
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

uuuy sorry, I installed it with Fantastico in CPANEL, so I dont see an install folder. Basically I want to understand why I have to do a pagelayout setup if I can specify all that in the template? Does that not make sense? Can I just make an HTML document and put the replacement tags where I want? Could someone direct me to a sample template, the core thing that runs the layout/design. I tried a search on the boards, didnt really find anything.
Pappnase

Post by Pappnase »

kaiocool wrote:uuuy sorry, I installed it with Fantastico in CPANEL, so I dont see an install folder. Basically I want to understand why I have to do a pagelayout setup if I can specify all that in the template? Does that not make sense? Can I just make an HTML document and put the replacement tags where I want? Could someone direct me to a sample template, the core thing that runs the layout/design. I tried a search on the boards, didnt really find anything.
hello kaiocool

how about to download the last realease and install it new!? :wink:

dowload the latest version from sourceforge and you will also have the tmpl pack! :D

http://sourceforge.net/project/showfile ... _id=116977
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

hmmm... installation = scary.... I will try my best.
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

awhhh error cannot connect to db. And all the chmodding i did earlier, i still got red alerts so i chmodded again, another thing is that to continue through installation I had to uncheck the create account thingy.
Pappnase

Post by Pappnase »

kaiocool wrote:awhhh error cannot connect to db. And all the chmodding i did earlier, i still got red alerts so i chmodded again, another thing is that to continue through installation I had to uncheck the create account thingy.
hello

are the pathes right!? did you upload the con.inf.php wich will created at the end of the installation!?
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

hmmmm maybe i didnt.!
Pappnase

Post by Pappnase »

hello

than please do it!*smile*
kaiocool
Posts: 24
Joined: Mon 14. Jun 2004, 23:42

Post by kaiocool »

ok i did it, now i get Error while trying to connect to table "db_WCMS2"
woopdee doo
I am tired out from all this comp stuff i must doo.... I got other comp problems going besides this, ugh............. OK, So I guess reinstall. bah, I am going to watch a movie.
Post Reply