here's a phpWCMS Quick Start Guide *IMAGES FIXED*

If you have created additional (non official) documentation or tutorials or something like that please post this here

here's a phpWCMS Quick Start Guide *IMAGES FIXED*

Postby stevenlyons » Tue Jul 13, 2004 22:43

For those of you that are having trouble getting started with phpWCMS, I sympathize and offer my own notes:

---------------------------------
phpWCMS Quick Start
---------------------------------
Please Note: phpWCMS does not have pre-installed template 'skins' to quickly change the look of your site. You have to do some HTML design work to create a phpWCMS site. This is both a curse and a blessing. phpWCMS is very flexible and powerful from a design point of view, but you must put in a little time up front.

This tutorial assumes you have a working installation of phpWCMS 1.1 RC4.

The basic steps of site development using phpWCMS:

1) Go to the Page Layout area and create a Page Layout to define the very basic page areas or blocks. For this example define a Page Layout that includes a left column (for navigation). Look at these page examples:

Image

Image

2) Go to the Template area and create a Template to contain the actual HTML code for your pages. (Templates rely on the Page Layout for their basic structure, typically a table). You can add as much HTML or CSS as you want here--remember the areas you see here are just containers for your HTML code. Next, tell phpWCMS where to render some content using what are called Replacement Tags (this is the fun part): at a very minimum, enter the {CONTENT} and the {NAV_TABLE_SIMPLE} Replacement Tags* into any Template areas along with your HTML code. These will render your articles for a particular site area along with some simple navigation. Look at these page examples:

Image

Image

3) Go to the Site Structure area and create a Site Structure level (AKA category) and associate that with a specific Template using the drop-down menu there. Look at these page examples:

Image

Image

4) Go to the Article area and create Articles within a given Site Structure level. Use Content Parts to add content and control the visual presentation of that content. Experiment with different Content Parts to see how they work. The articles will be immediately visible as a list (or single article if only one exists) on the page that you have assigned to that Structure level. Follow these page examples:

Image

Image

Image

Image

Image

Next create another article and associate it with your home page.

Preview your site--it should look like this:

Image

if you followed the example you will see that the site looks very simple. At this point you will want to go back and add your own HTML/CSS to the Template. It's easiest to create a page design in Dreamweaver (or other WYSIWYG editor) and then cut/paste the code into the Template blocks.

Make sure you check 'visible' and 'public' in each area of the Admin interface or else you will end up with blank pages.

--------------------------------

*More detail about Replacement Tags:

http://docu.fhss.de/replacement_tags_en.shtml (courtesy of Pappnase)

S.
Last edited by stevenlyons on Wed Jul 14, 2004 21:06, edited 14 times in total.
stevenlyons
 
Posts: 69
Joined: Fri Jul 02, 2004 01:46

Postby Pappnase » Tue Jul 13, 2004 22:47

hello steve

thanks for the quickstart guide.

but it's in the wrong section so i moved it! :wink:
User avatar
Pappnase
 
Posts: 6845
Joined: Fri Oct 31, 2003 00:48
Location: Berlin, Germany

Postby stevenlyons » Wed Jul 14, 2004 03:23

Why did you move it? This belongs in the Support section!
stevenlyons
 
Posts: 69
Joined: Fri Jul 02, 2004 01:46

Postby duergner » Wed Jul 14, 2004 08:50

I would say it belongs to 'Documentation' cause that's what it is IMHO.
duergner
 
Posts: 139
Joined: Fri May 14, 2004 12:10

Postby Pappnase » Wed Jul 14, 2004 09:12

duergner wrote:I would say it belongs to 'Documentation' cause that's what it is IMHO.


hello

sorry it was my mistake! imy mention was to move it to the Documentation part of the forum! so i correct it.
User avatar
Pappnase
 
Posts: 6845
Joined: Fri Oct 31, 2003 00:48
Location: Berlin, Germany

Postby Pappnase » Thu Jul 15, 2004 20:14

hello

one little hint

you can use normal html code for the templates! you don't need use the div's like in the graphics above. also for testing you can use the replacement tags itself.

for an simple start you can use in the

left - {NAV_TABLE_COLUMN}
main - {CONTENT}

and later you can go on and make a fine tuning for the layout!
User avatar
Pappnase
 
Posts: 6845
Joined: Fri Oct 31, 2003 00:48
Location: Berlin, Germany

Thanks for the menu information!

Postby paulhoy » Sat Nov 20, 2004 08:21

thanks very much Pappnase!



Pappnase wrote:hello

one little hint

you can use normal html code for the templates! you don't need use the div's like in the graphics above. also for testing you can use the replacement tags itself.

for an simple start you can use in the

left - {NAV_TABLE_COLUMN}
main - {CONTENT}

and later you can go on and make a fine tuning for the layout!
paulhoy
 
Posts: 5
Joined: Thu Oct 28, 2004 03:19

Blank page

Postby microweb » Tue Dec 14, 2004 16:17

Hi,
I did step by step everything in the tutorial but my pages are allways blank, no text and nothing in them.
What did I do wrong?

Thanks
Giuseppe
microweb
 
Posts: 3
Joined: Tue Dec 14, 2004 16:13

Postby Pappnase » Tue Dec 14, 2004 16:19

hello

did you set all visible!? or did you hide all!? there can be a lot reasons!
User avatar
Pappnase
 
Posts: 6845
Joined: Fri Oct 31, 2003 00:48
Location: Berlin, Germany

Postby microweb » Tue Dec 14, 2004 16:23

Yes all visible, I did exactly the steps of the tutorial... but didn't install the 2 programs ImageMagick and GhostScripts, could this be the reason?
microweb
 
Posts: 3
Joined: Tue Dec 14, 2004 16:13

Postby frold » Tue Dec 14, 2004 16:36

microweb wrote:Yes all visible, I did exactly the steps of the tutorial... but didn't install the 2 programs ImageMagick and GhostScripts, could this be the reason?


and you did put in data in the "templates" fields?
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 23:42

Postby microweb » Tue Dec 14, 2004 18:29

Yes, I put: <div align="center"><b>Ciao questa è una prova</b></div> in Header (I think the translation is header because my language is Italian) and

<div style="#ffff00">{CONTENT}</div> in Body and
<div>{NAV_TABLE_SIMPLES}</div> in Left
microweb
 
Posts: 3
Joined: Tue Dec 14, 2004 16:13

Postby Pappnase » Tue Dec 14, 2004 20:47

hello

so it didn't work

palce the Tags in the fields in the pagelayout then set to div design. save all call the index.php.
User avatar
Pappnase
 
Posts: 6845
Joined: Fri Oct 31, 2003 00:48
Location: Berlin, Germany

Article Count

Postby purppride1 » Wed Apr 13, 2005 20:56

In the "Site Structure" I don't have the "Article Count" available. I would like to have several articles displayed on my index page. How do I get this added? I appear to be using 1.1 RC2.

Thanks,

Chris
purppride1
 
Posts: 1
Joined: Wed Apr 13, 2005 20:53

Postby pico » Wed Apr 13, 2005 21:55

Hi

I'm not shure (Ver. 1.1RC2 was before my time :wink: ) but I think that you have to update to 1.1RC4 or if you want to Ver. 1.2.1
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
mySpace inpico.com - Aufkleber, Banner, Poster und mehr... www.xxl-fotoprint.de
User avatar
pico
 
Posts: 2590
Joined: Wed Jul 28, 2004 18:04
Location: Frankfurt/M Germany

Next

Return to (unofficial) tutorials & documentation

Who is online

Users browsing this forum: No registered users and 0 guests