Processing PHP code in Content Area?

General project discussion. NOT for help questions.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Processing PHP code in Content Area?

Post by Nullig »

There's no "URL file-access" setting in CMSMS, but you'd better check the forked thread, just in case..
Last edited by Nullig on Wed Jul 30, 2008 2:10 am, edited 1 time in total.
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: Processing PHP code in Content Area?

Post by CWebguy »

mark wrote: Lets keep going back and forth, tag your it... :)
Haha, thanks guys :)  I'll read up on clearing the cache in the admin, thought I had done that, maybe not.  I"ve thought about the user tag, but I"ll have to make a serperate one for each page (since the code is slightly different on each page).  I guess I like figuring things out the hard way sometimes, haha  ;D

Yeah, I was confused about the URL file-access thing cause I couldn't find it either  ???  but I know a lot of servers disable it, so I thought maybe it was in CMSMS for security reasons.

thanks
CMSMS Made
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Processing PHP code in Content Area?

Post by Nullig »

If the basic code is the same, with just minor changes that could be handled by passing variables to the tag, you could still use the UDT, like:

{myudt var1="something"} on one page.

{myudt var1="somethingelse"} on another page.

Nullig
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: Processing PHP code in Content Area?

Post by CWebguy »

Hey, that's a good idea Nullig, I'll look at it.  I'm just curious as to why it won't work here.  It's an enigma wrapped in a mystery, bundled in a riddle..... 8)

Thanks!
CMSMS Made
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: Processing PHP code in Content Area?

Post by CWebguy »

Damn it, looks like it's on my end.  Sorry for all the confusion! (hopefully we all learned something! haha :)  I'll update my server and see what happens!

Lance
CMSMS Made
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: Processing PHP code in Content Area?

Post by CWebguy »

Yeah, I guess wamp decided to change their settings  :-\  but it works now, whew!!!!!! Thank God!
CMSMS Made
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Processing PHP code in Content Area?

Post by Dr.CSS »

Good...

Your new here so...

We usually go back to the start of these post/thread/whatever and add [solved] to the subject line...

Hint: hit the modify button... ;)
Post Reply

Return to “General Discussion”