[SOLVED]NEWBIE: SHOW_CONTENT not rendering
[SOLVED]NEWBIE: SHOW_CONTENT not rendering
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?
'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
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
?
greez Sven
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
Yes, I am using NAV_TABLE_COLUMN and BREADCRUMB. They work fine.ssyfrig wrote:Do you use other RT's? Does these RT's working correct?
Yes... dadechamber.comssyfrig wrote:Is your site online? If yes can you post the url?
Yes. I ran across that in another thread and checked. It is set to "=1".ssyfrig wrote:what is your value in /config/phpwcms/conf.inc.php
is it?Code: Select all
$phpwcms["allow_ext_render"] = 1
Hillbilly
Hi hillbilly,
first I would make an update to 1.26.
http://www.phpwcms-docu.de/index.php?cvs_info_en
Gruß Knut
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 )
Re: NEWBIE: SHOW_CONTENT not rendering
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:'View source' shows the table data in the template without the content part or the {SHOW_CONTENT:6} tag.
Don't know what version you're using, but that file has always been in "/include/inc_front" folder.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?
hmm,
try
create a File CATNUM.php
& 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
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"]);
}
//--------------------------------------------------------------
?>
add {CATNUM} in article as a Text Content Part
works? should display your category Number
greez Sven
I installed using Fantistico provided by my host. I had no idea the Fantastico version was so obsolete!flip-flop wrote:first I would make an update to 1.26.
http://www.phpwcms-docu.de/index.php?cvs_info_en
Thanks, flip-flop.
Hillbilly
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Thanks!
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...
Thanks again...
Hillbilly