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


#5382
tempik (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
DirectPHP in component 11 Months, 3 Weeks ago Karma: 0  
I have problem with DirectPHP plugin, When I place it on article works fine, but when I place it in components for example xforms details template text editors window looks good, but in page is <!--php

Now I found this: http://www.kksou.com/php-gtk2/Joomla-Tips-Techniques/Running-plugins-in-your-component.php

but I don't know waht I can use it in joomla 2.5 and DirectPHP
 
  The administrator has disabled public write access.

#5388
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:DirectPHP in component 11 Months, 3 Weeks ago Karma: 27  
Hi,

As the article you mentioned above suggests, "a content plugin is for use specifically within a Joomla article, which is managed by the com_content component."

Unless you add a trigger in your component, most likely your component will not run any of the plugins (including DirectPHP).

As I'm not familiar with your component, it's difficult for me to help you here. Every component is different, and where to add the trigger in each component is also different.

If you have no clues where to add the trigger, you might want to check with the author of that component. Usually the person who writes the component will know the best place to add the trigger.

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
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved