example template and location

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
marco

example template and location

Post by marco »

:( I am obviously missing something very simple: I can not get any content
I enter in the admin panel to display in any of the sample html templates.

I entered the html into the corresponding boxes in the "edit template" admin panel , marked it "default" and saved it. I also created an article and saved it. If I click on the article title right there in the admin panel, I can see a page rendering a 2 column layout, but without any content.

:?: What is the next step?
:?: Where do I enter the replacement tags?
:?: Do I have to insert any "include ..." or "require once ..." anywhere?
:?: Where do I put the sample js and css scripts in the phpwcms installation?
:?: What do I have to do to see the redered template with content in it and outside of the admin panel, as a web site visitor?

Thank you for any help,

m.
marco

Post by marco »

OK, I got it: It is so obvious it is the only thing I did not try!

The replacement tags have to be entered RIGHT THERE in the "template layout" admin panel. :D
pman233
Posts: 1
Joined: Fri 21. Nov 2003, 00:19

Hey Marco

Post by pman233 »

Share the wealth, man. I'm in the same boat right now, so please state the obvious.

I've been playing with this for hours, using the exact examples from the documentation, and I'm getting nothing on the screen except for some crap at the top center.

HELP PLEASE
marco

Post by marco »

First, pick a layout in the admin panel "page layout", 3-col, 2-col, etc.

Set the column parameters in your sheet. Then go to "templates" and create a template, set it to "default".

Next, for a 3 column layout, enter in the tamplate panel:

- in the "left" block:

{NAV_TABLE_COLUMN}

- in the main block:

<table>
<tr>
<td valign="top">{CONTENT}</td>
</tr>
</table>

- then, in the "right" block:

<table>
<tr>
<td valign="top">&nbsp; Some content</td>
</tr>
</table>

Save your template. Next, create some articles and make sure you publish them.

To see your site, either click on the one of the main level article titles
in the admin panel, or use your browser to navigate to the index.php file in your phpwcms root directory.

Good luck!
quiquedcode
Posts: 15
Joined: Sun 15. Feb 2004, 18:24
Location: Argentina
Contact:

Post by quiquedcode »

i think your mini-tutorial must be moved to the documentation section in main phpwcms site...
it'll be very useful for all the ppl whom visits the site but doesnt want to enter forums to learn all the "secrets" phpwcms has...
:lol:

:)
Henry Becerra
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
Post Reply