PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:PHP tags converted to comments... (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:PHP tags converted to comments...


#5884
kevgray (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
PHP tags converted to comments... 1 Year, 6 Months ago Karma: 0  
Hello, I've installed and turned on DirectPHP in my Joomla 3 site, but when I try to embed php code my tags get converted to comments -

<?php echo "Hello World........."; ?>

to

<p>&lt;?php echo "Hello World"; ?&gt;</p>

What am I doing wrong ???

Thanks.
 
 
Last Edit: 2013/04/24 01:11 By kevgray.
  The administrator has disabled public write access.

#5887
kksou (Admin)
Admin
Posts: 1728
graph
User Online Now Click here to see the profile of this user
Re:PHP tags converted to comments... 1 Year, 6 Months ago Karma: 27  
Hi,

Which editor are you using?

Did you set filter to none in the Article Option?

Regards,
/kksou
 
  The administrator has disabled public write access.

#5888
kevgray (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:PHP tags converted to comments... 1 Year, 6 Months ago Karma: 0  
I'm using Tinymce in extended mode.

I can't see how to set the filter option to 'none' in the article option - of what ?

Thanks, Kev.
 
  The administrator has disabled public write access.
#5889
kksou (Admin)
Admin
Posts: 1728
graph
User Online Now Click here to see the profile of this user
Re:PHP tags converted to comments... 1 Year, 6 Months ago Karma: 27  
Hi,

Please refer to the article: How to enter HTML tags, javascript and PHP codes in Joomla 2.5?

Regards,
/kksou
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved