GetSimple Support Forum

Full Version: how to add php script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
i'm newbie in getsimple. please, how does I add php scripts to footer section from Pages/Edit Footer in Panel Control? my theme is Simplicity. thx in advance.
(2014-11-12, 00:31:17)carlost Wrote: [ -> ]Hi
i'm newbie in getsimple. please, how does I add php scripts to footer section from Pages/Edit Footer in Panel Control? my theme is Simplicity. thx in advance.

You create a component with your php script (click on "Theme" then "Create Component"). Let's say you name it "my_script"

Then you call it from the footer's html with

{% my_script %}
not really, get_component in php, or using dynpages plugin {} syntax in html
(2015-02-14, 12:25:12)shawn_a Wrote: [ -> ]not really, get_component in php, or using dynpages plugin {} syntax in html

Thanks for the reminder, that's what I did but I forgot I had installed the dynpages plugin...