Page 1 of 2
Problem with replacement tags not displaying.
Posted: Tue 10. Jan 2006, 06:40
by Microbe
I am a newbie to phpwcms and have tried to find an answer to this in the FAQ and forums (which have answered other questions) but failed.
I have phpwcms up and running successfully. My problem is with replacement tags.
The pagelayout is with a header at the top, and below that left and right columns with main in between.
I have created articles tagged LEFT, CONTENT and RIGHT to go in the appropriate columns and have put the tags in the template : {LEFT} in the left, {RIGHT} in the right and {CONTENT} in the main.
The problem I am having is that only the top article in the article centre is displaying. Here's a screenshot of that.
If I move rightcolumn to the top, then it displays. Doing this I can get any one block to display, but not all three at once.
This is a really powerful too and I want to use it, but what am I doing wrong?
I am sure it is a user error ID 10 T

, but can't see it.
Thanks in advance for any help
Posted: Tue 10. Jan 2006, 07:33
by flip-flop
Nope
Posted: Tue 10. Jan 2006, 09:41
by Microbe
Thanks for that, but after changing it to 10 from -1 NOTHING displayed at all.
No fix found
Posted: Thu 12. Jan 2006, 01:25
by Microbe
I still havent managed to resolve this. If I can't, then I am afraid I will have to abandon phpwcms for another CMS app. But I like phpwcms so far.
Surely someone must know why this is happening. I am sure I have set something up wrong, but can't see it.
Posted: Thu 12. Jan 2006, 04:22
by DeXXus
Please help us to help you. How about more info.
What version are you running?
Does your default page layout section for blocks: have the radio button for 3-columns selected?
What does your coding in the default template look like? Does it have those tags?
Have you tried usage under other than the Index category?
Have you installed any "hacks"? Modified the article template?
What does the rendered page source code (view source) show?
Are there tags that just look like plain text with brackets amongst the HTML?
Is the problem viewable on the web?
From where did you get your information about usage of these tags ?
Posted: Thu 12. Jan 2006, 05:16
by Microbe
Please help us to help you. How about more info.
What version are you running?
1.2.5 DEV(2)
Does your default page layout section for blocks: have the radio button for 3-columns selected?
Yes, and I can show content in all three columns if I hard code it in. What isn't working is if I have replacement tags in the columns instead of pure HTML.
What does your coding in the default template look like? Does it have those tags?
Yes. http://www.wantedtobuy.com.au/gecko has a screen shot
Have you tried usage under other than the Index category?
Yes, all pages in the site (which is still having content added) are based on essentially the same template.
Have you installed any "hacks"? Modified the article template?
No. The only thing I have hacked is creating my own replacement tag for a menu, but that isn't being used in the index template, only templates below that in the structure.
What does the rendered page source code (view source) show?
Are there tags that just look like plain text with brackets amongst the HTML?
Ahhh...good question (looks) no. I have just placed markers in the template in the left I have placed Code: Select all
left replacement tag is between here >>>{LEFT}<<< and here
and what appears in the source code on viewing the page is Code: Select all
<td valign="top">left replacement tag is between here >>><<< and here</td>
the replacement tag doesn't show anything
Is the problem viewable on the web?
Yes, as described above
From where did you get your information about usage of these tags ?
phpwcms documentation.
As I said...if I move a replacement tag to the top of the list (see the first post and the screen shot) it is displyed, but then the others aren't.
I figure I have something in the wrong place, but still can't see it.
Posted: Thu 12. Jan 2006, 09:28
by flip-flop
Hi,
if the output of all articles is fixed to {CONTENT} what is the result?
Plaese test it.
Gruß Knut
Posted: Thu 12. Jan 2006, 12:00
by pico
Hi
are you shure, that you have in your Template a Area for {LEFT} and {RIGHT} ? If I look to the Source of your Page - I can't see somthing about that.
Posted: Fri 13. Jan 2006, 01:10
by Microbe
pico wrote:Hi
are you shure, that you have in your Template a Area for {LEFT} and {RIGHT} ? If I look to the Source of your Page - I can't see somthing about that.
Here is a screen shot of the template
http://www.gecko.org.au/wcms2.jpg
the replacement tag is there.
Posted: Fri 13. Jan 2006, 01:29
by Microbe
fli-flop wrote:Hi,
if the output of all articles is fixed to {CONTENT} what is the result?
Plaese test it.
Gruß Knut
I tried that and it made no difference. The left and right columns are not visible.
But, when I then move the Left Column article to the top of the list of index articles in the article centre, then it shows as the main content instead of the article.
This leads to something I will ask in another thread...why I only see one article on the page.
HOWEVER:
If I then change the left column from {LEFT} to {CONTENT} I see the main body content in the left column.
When I change it back to {LEFT} I see nothing.
As you can see in the screen shot in the first posting the left column article is definitely assigned to {LEFT}
Posted: Fri 13. Jan 2006, 02:09
by DeXXus
In frontend setup: page layout
For your default template
You have chosen table or css div
and NOT custom (from template main block)??
Posted: Fri 13. Jan 2006, 02:15
by Microbe
DeXXus wrote:In frontend setup: page layout
For your default template
You have chosen table or css div
and NOT custom (from template main block)??
Thanks for the idea, but no.

or are you saying I SHOULD have custom?
Posted: Fri 13. Jan 2006, 02:37
by DeXXus
Checkmarks in -BOTH- the checkboxes (default) to set both page layout -AND- template as default?
I can't replicate your problem, sorry

Posted: Fri 13. Jan 2006, 02:46
by Microbe
Nope...it seems no one knows what the problem is here.
What a shame.
Posted: Fri 13. Jan 2006, 04:31
by DeXXus
Nobody else is complaining that it doesn't work...
not a good sign for others to be able to replicate.
Don't know what else to suggest.