Content Part PHP Variablen

Use GitHub to post feature requests for phpwcms.
Locked
amalie
Posts: 7
Joined: Wed 15. Mar 2006, 07:55
Location: Chemnitz

Content Part PHP Variablen

Post by amalie »

What means content part 'php variables'? I havn't found a response in the forum.
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Hi amalie,

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

Cheers
squidi
Posts: 143
Joined: Sat 17. Jan 2004, 13:49
Location: Berlin

Post 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
squidi - open your eyes before you dance
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post 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
squidi
Posts: 143
Joined: Sat 17. Jan 2004, 13:49
Location: Berlin

Post 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
Last edited by squidi on Wed 15. Mar 2006, 17:25, edited 2 times in total.
squidi - open your eyes before you dance
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

I dunno... to be really honest, but I think I'm right 8)
Cheers
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post 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
Locked