displaying contents separately
-
- Posts: 7
- Joined: Thu 24. Jun 2010, 11:47
displaying contents separately
Hi, all
Anyone knows how to display articles within the {content} tag separately, as you know, when you add {CONTENT} tag on your template, it will display all available articles in a category, how can I display one article on my left sidebar , and then another one on the right sidebar, etc , what's the tag to display one single article ?
Anyone knows how to display articles within the {content} tag separately, as you know, when you add {CONTENT} tag on your template, it will display all available articles in a category, how can I display one article on my left sidebar , and then another one on the right sidebar, etc , what's the tag to display one single article ?
Re: displaying contents separately
Articles can be displayed only in the tag {CONTENT}.
You need a CP to do so. -> "teaser / link article" and {SHOW_CONTENT...} for positioning the CPs.
Knut
You need a CP to do so. -> "teaser / link article" and {SHOW_CONTENT...} for positioning the CPs.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 7
- Joined: Thu 24. Jun 2010, 11:47
Re: displaying contents separately
I've done what u said, but it didn't work : I used the tag {SHOW_CONTENT:CP,7} as I know that the cp id is 7, I put that tag on my template, and nothing happen... can you explain this?
Re: displaying contents separately
Hi,
general instructions to articles
teaser CP:
1. Create an hidden "site structure"
2. Put in there your teaser CP and switch it to visible.
3. Take your settings (selector: "manual" or "creation date:")
4. Edit the selected template
4. save and close
5. Look to the ID of this CP e.g. [ID:22]
6. Go to your page layout and insert e.g. {SHOW_CONTENT:CP,22}
Thats all.
Knut
general instructions to articles
teaser CP:
1. Create an hidden "site structure"
2. Put in there your teaser CP and switch it to visible.
3. Take your settings (selector: "manual" or "creation date:")
4. Edit the selected template
4. save and close
5. Look to the ID of this CP e.g. [ID:22]
6. Go to your page layout and insert e.g. {SHOW_CONTENT:CP,22}
Thats all.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 7
- Joined: Thu 24. Jun 2010, 11:47
Re: displaying contents separately
then how can I edit that CP?
Re: displaying contents separately
I do not understand the question.
Knut
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: displaying contents separately
You could use the {LEFT} {RIGHT} rt.
The CP would be of the same article, but on the frontend would look like different ones.
The CP would be of the same article, but on the frontend would look like different ones.
The syntax used is identical
Re: displaying contents separately
Hi, happy new year to all, i did not use phpwcms RT for a long time but now first I saw that all contents are empty and I have to set a new expiration date to all then when I try to use {SHOW_CONTENT:CP,886} I see is not working ...i try also {SHOW_CONTENT:886} but also is not working ...any ideea why?
Packging design,labels, catalogs,postcards,
Re: displaying contents separately
Hmm how about using it the right way ?
Re: displaying contents separately
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.