Page 1 of 1

Content Part PHP Variablen

Posted: Wed 15. Mar 2006, 08:05
by amalie
What means content part 'php variables'? I havn't found a response in the forum.

Posted: Wed 15. Mar 2006, 12:51
by Kosse
Hi amalie,

check the DOCU site
http://www.phpwcms-docu.de/content_parts_en.phtml

Cheers

Posted: Wed 15. Mar 2006, 13:13
by squidi
Kosse wrote:Hi amalie,

check the DOCU site
http://www.phpwcms-docu.de/content_parts_en.phtml

Cheers
a good joke @ kosse , i can not find anythink about php-variables

Posted: Wed 15. Mar 2006, 13:15
by Kosse
Ok, my bad :oops:

isn't listed ~yet~ in docu site
anyway, it's for passing php variables into phpwcms I guess

$var = whatever;

it's still a dev, so if it isn't functional it's because OG hasn't finished it yet.
Cheers

Posted: Wed 15. Mar 2006, 13:17
by squidi
i had the same question in 12 / 2005 http://www.phpwcms.de/forum/viewtopic.p ... ght=#55265

LOL !!! i love this > it's still under dev ... LOL !!! ok ok ok i shut up

Posted: Wed 15. Mar 2006, 13:18
by Kosse
I dunno... to be really honest, but I think I'm right 8)
Cheers

Posted: Wed 15. Mar 2006, 13:33
by Kosse
squidi wrote:i had the same question in 12 / 2005 http://www.phpwcms.de/forum/viewtopic.p ... ght=#55265

LOL !!! i love the this > it's still under dev ... LOL !!! ok ok ok i shut up
You feeling guilty ? ;)

Now, let's take a look at cnt52.article.inc.php
It is:

Code: Select all

//PHP variables

if($crow["acontent_text"]) {
	$CUSTOM = !isset($CUSTOM) ? parse_ini_str($crow["acontent_text"]) : $CUSTOM + parse_ini_str($crow["acontent_text"]);
	//$CNT_TMP .= html_specialchars(serialize($CUSTOM));
}
So, that means it passes CUSTOM variables to phpwcms :D
VoilĂ , I think I opened my eyes :shock: before... dancing ;)

Cheers