PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:DirectPHP Not Working on Front Page (JA News) (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:DirectPHP Not Working on Front Page (JA News)


#5897
cyrix (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
DirectPHP Not Working on Front Page (JA News) 1 Year, 3 Months ago Karma: 0  
Please see screenshot.

I was able to run PHP using DirectPHP in articles,
but in the JA News from Joomlart in the front page (I am using the Teline III template), it is showing raw PHP codes rather than running it.

Can you please tell me how to solve this problem?

 
 
Last Edit: 2013/05/14 02:38 By cyrix.
  The administrator has disabled public write access.

#5899
kksou (Admin)
Admin
Posts: 1722
graph
User Online Now Click here to see the profile of this user
Re:DirectPHP Not Working on Front Page (JA News) 1 Year, 3 Months ago Karma: 27  
Hi,

Please refer to the article: Ordering of Joomla plugins

Try shifting the order of the DirectPHP such that it's processed first or last - and see if it works.

Think your template has some built-in plugin that are being processed before or after DirectPHP such that the PHP codes are not processed and hence displayed.

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

#5900
cyrix (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:DirectPHP Not Working on Front Page (JA News) 1 Year, 3 Months ago Karma: 0  
I tried setting it at order 0 - first, and also last (in my case it's 7).
But neither way worked. :(

Is there any other thing that we can look at to solve the problem?

Thank you very much.
 
 
Last Edit: 2013/05/16 12:25 By cyrix.
  The administrator has disabled public write access.
#5904
kksou (Admin)
Admin
Posts: 1722
graph
User Online Now Click here to see the profile of this user
Re:DirectPHP Not Working on Front Page (JA News) 1 Year, 3 Months ago Karma: 27  
No. order 0 will not work. Try setting it to one.

If it still doesn't work, then it means conflicts with your Joomla template. Conflicts are very common in Joomla because of the very loose framework.

There are quite a number of other php plugins in joomla.org. Try some of those. You might find one that will work with your Joomla template.

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