[SOLVED]NEWBIE: SHOW_CONTENT not rendering

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
hillbilly
Posts: 14
Joined: Sun 19. Mar 2006, 08:38
Location: Georgia, US
Contact:

[SOLVED]NEWBIE: SHOW_CONTENT not rendering

Post by hillbilly »

I've uploaded the SHOW_CONTENT RepTag to frontend_render, created a "Test" level in site structure, a "Test" page layout (using "custom" rendering) and template using defaults, and a test article with two content parts (ID:6, ID:7) using the new layout and template. The test article renders just fine by itself. In my main template, I placed the {SHOW_CONTENT:6} reptag inside a table. The content won't render in any of my pages.

'View source' shows the table data in the template without the content part or the {SHOW_CONTENT:6} tag. I've searched the forums and all I've come up with is to copy the reptag code into content.article.inc.php to avoid rendering conflicts with other tags. I'm assuming content.article.inc.php belongs to an earlier version of WCMS, because I can't seem to find it anywhere. Would this be a new file? If so, where does it go?

Can anybody help?
Last edited by hillbilly on Wed 22. Mar 2006, 20:00, edited 1 time in total.
Hillbilly
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

Hi

Do you use other RT's? Does these RT's working correct?
Is your site online? If yes can you post the url?

what is your value in /config/phpwcms/conf.inc.php
is it

Code: Select all

$phpwcms["allow_ext_render"]  = 1
?



greez Sven
hillbilly
Posts: 14
Joined: Sun 19. Mar 2006, 08:38
Location: Georgia, US
Contact:

Post by hillbilly »

ssyfrig wrote:Do you use other RT's? Does these RT's working correct?
Yes, I am using NAV_TABLE_COLUMN and BREADCRUMB. They work fine.
ssyfrig wrote:Is your site online? If yes can you post the url?
Yes... dadechamber.com
ssyfrig wrote:what is your value in /config/phpwcms/conf.inc.php
is it

Code: Select all

$phpwcms["allow_ext_render"]  = 1
?
Yes. I ran across that in another thread and checked. It is set to "=1".
Hillbilly
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi hillbilly,

first I would make an update to 1.26.

http://www.phpwcms-docu.de/index.php?cvs_info_en

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Re: NEWBIE: SHOW_CONTENT not rendering

Post by DeXXus »

hillbilly wrote:'View source' shows the table data in the template without the content part or the {SHOW_CONTENT:6} tag.
Somehow this doesn't sound possible *IF* you have placed a checkmark in block called "default" (beside this template name ) *AND* chosen that layout from the dropdown menu directly below that template name.
hillbilly wrote:I've searched the forums and all I've come up with is to copy the reptag code into content.article.inc.php to avoid rendering conflicts with other tags. I'm assuming content.article.inc.php belongs to an earlier version of WCMS, because I can't seem to find it anywhere. Would this be a new file? If so, where does it go?

Can anybody help?
Don't know what version you're using, but that file has always been in "/include/inc_front" folder.
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

hmm,

try

create a File CATNUM.php

Code: Select all

<?php 

// Display current category number - by David Quint 
// include in include/inc_front/content.func.inc.php 
if( ! (strpos($content["all"],'{CATNUM}')===false)) { 
   $content["all"] = str_replace('{CATNUM}', $content["cat_id"], $content["all"]); 
 } 
//-------------------------------------------------------------- 
?> 
 
& upload to /phpwcms_template/inc_script/frontend_render/

add {CATNUM} in article as a Text Content Part

works? should display your category Number

greez Sven
hillbilly
Posts: 14
Joined: Sun 19. Mar 2006, 08:38
Location: Georgia, US
Contact:

Post by hillbilly »

flip-flop wrote:first I would make an update to 1.26.
http://www.phpwcms-docu.de/index.php?cvs_info_en
:oops: I installed using Fantistico provided by my host. I had no idea the Fantastico version was so obsolete!

Thanks, flip-flop.
Hillbilly
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi,

please take a look: http://faq.phpwcms-docu.de/3_50_en.html

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
hillbilly
Posts: 14
Joined: Sun 19. Mar 2006, 08:38
Location: Georgia, US
Contact:

Thanks!

Post by hillbilly »

Thanks everyone! I deleted everything and tried a fresh install of v1.26 last night but I couldn't connect to the new database, so I'll reinstall using Fantastico and try to upgrade tonight.

Thanks again... :)
Hillbilly
Post Reply