{SHOW_CONTENT} Show content of a particular content part

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
rushclub
Posts: 915
Joined: Tue 17. Feb 2004, 18:52

Post by rushclub »

wenn du am mac sitzt öffne mal das dokument in bbedit und ersetze alle leerzeichen. war bei mir schon oft das problem, dass in den dokumenten irgendwelche (nicht sichtbaren) sonderzeichen waren. danach gings dann immer.

rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
chip_rider
Posts: 40
Joined: Wed 2. Nov 2005, 21:41

Post by chip_rider »

rushclub wrote:wenn du am mac sitzt öffne mal das dokument in bbedit und ersetze alle leerzeichen. war bei mir schon oft das problem, dass in den dokumenten irgendwelche (nicht sichtbaren) sonderzeichen waren. danach gings dann immer.

rush

Ich habe keinen MAC. Ich weiss wer einen hat und auch mit PHPwcms den Einstieg versucht (Werde ihm das ausrichten). Aber DANKE trotzdem.... :D


++++++++++++++++++++++++++++++++++++++++++++
NA SOWAS:
ICH HABE AUCH DIE VERSION 1.2.5 AM SERVER UND DORT FUNZT ES EINWANDFREI {SHOW_CONTENT}! KANN SEIN DAS ES IN DER VERSION 1.2.6 EINEN FEHLER GIBT?

WAS HÄNGT ALLES ZUSAMMEN MIT SO EIN RT? DANN KÖNNTE ICH NACHSCHAUEN OB SICH ETWAS FALSCH ÜBERSCHRIEBEN HAT. DENN ICH HABE MEHRERE MODULE INSTALLIERT!
++++++++++++++++++++++++++++++++++++++++++++
rushclub
Posts: 915
Joined: Tue 17. Feb 2004, 18:52

Post by rushclub »

bei mir läufts mit 1.2.6. daran liegt es also nicht.

rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
chip_rider
Posts: 40
Joined: Wed 2. Nov 2005, 21:41

Post by chip_rider »

rushclub wrote:bei mir läufts mit 1.2.6. daran liegt es also nicht.
rush

STOPT DIE SUCHE!

Ich habe den Fehler wahrscheinlich gefunden..... Es dauert aber noch ein bischen bis ich alles getestet habe. Melde mich in 30 min.
KIer
Posts: 11
Joined: Fri 17. Feb 2006, 20:38

Post by KIer »

when I use this {show_content} code, what I got on my page is only the cotent with the ID:1 is showing up, no matter which page I'm on. what is the problem??
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

KIer wrote:when I use this {show_content} code, what I got on my page is only the cotent with the ID:1 is showing up, no matter which page I'm on. what is the problem??
I hate to ask the obvious, are you coding it as {SHOW_CONTENT:xxx}
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post by Peekay »

Great RT :D but if you use this and want the CSS of your page to validate you MUST add at least 1 pixel BEFORE and AFTER each content part.

A conditional argument to add a '0' top and bottom margin if none is specified would be a nice enhancement.
allison
Posts: 32
Joined: Fri 25. Feb 2005, 11:25
Location: Viet Nam
Contact:

Post by allison »

I use RT {SHOW_CONTENT} in ver 1.2.8 but I only get the blank page. I'm sure that I done evrything as exactly as the guide. In ver 1.2.6 everything is good. Anybody face this case? Susgestion?
ff123
Posts: 172
Joined: Thu 9. Jun 2005, 20:03
Location: The Netherlands
Contact:

Post by ff123 »

Hi, I have a bugreport :o

When using show_content replacement tag, it happens that the image rendering does not work correct. The image wont be resized by GD somehow.

Like here, click on the certificate image right-under:
http://www.stichtingflash.nl/stflash_startpagina.phtml

In the original content part it works correct:
http://www.stichtingflash.nl/iso9001.phtml

Regards, groeten,
vuurvos
-- Vuurvos --
larmann
Posts: 311
Joined: Thu 23. Jun 2005, 10:51
Location: Hamburg
Contact:

Post by larmann »

Can somebody delete this entry? I made it by mistake. This RT is an excelent tool.
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

allison wrote:I use RT {SHOW_CONTENT} in ver 1.2.8 but I only get the blank page. I'm sure that I done evrything as exactly as the guide. In ver 1.2.6 everything is good. Anybody face this case? Susgestion?
I have the same issue ...

:oops:
fixed: {SHOW_CONTENT:CP,12,20,45,117}
http://www.phpwcms.de/forum/viewtopic.p ... howcontent


greez Sven
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post by JensZ »

Allison: The show_content tag is included in 1.2.8, but works slightly different (see other posts)
I think you can remove the show_content.php file from frontend_render.

Jens
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

what if i do not want to only call content parts but the whole article??
2008
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

...
New replacement tag {SHOW_CONTENT:MODE,id[,id[,...]]} - the enhanced version of Jens Zetterström's mod.
* CP - list of Content Parts | id = id of the content part, one or more possible, comma seperated.
* CPA - ascending list of Content Parts but based on selected article | id = id of article, comma seperated
* CPAD - same as CPA, but descending (this slows rendering)
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

phalancs wrote:what if i do not want to only call content parts but the whole article??
Hi Phalancs,
Have you tried this way:
{URL:{SITE}index.php?id=17,34,0,0,1,0}
:roll:

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Post Reply