Problem with replacement tags not displaying.

Please post all install related problems here. Visit this forum first for troubleshooting.
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

Problem with replacement tags not displaying.

Post 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.

Image

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
Last edited by Microbe on Thu 12. Jan 2006, 01:23, edited 1 time in total.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Microbe,

look at this: http://www.phpwcms.de/forum/viewtopic.php?t=9692

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

Nope

Post by Microbe »

fli-flop wrote:Hi Microbe,

look at this: http://www.phpwcms.de/forum/viewtopic.php?t=9692

Gruß Knut
Thanks for that, but after changing it to 10 from -1 NOTHING displayed at all.
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

No fix found

Post 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.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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 ?
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

Post 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.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi,

if the output of all articles is fixed to {CONTENT} what is the result?
Plaese test it.

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

Post 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.
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

Post 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}
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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)??
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

Post 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.

Image
or are you saying I SHOULD have custom?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Checkmarks in -BOTH- the checkboxes (default) to set both page layout -AND- template as default? :lol:
I can't replicate your problem, sorry :roll:
Microbe
Posts: 22
Joined: Tue 10. Jan 2006, 06:25

Post by Microbe »

Nope...it seems no one knows what the problem is here.

What a shame.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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.
Post Reply