Posts: 1
Threads: 1
Joined: Nov 2014
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.
Posts: 60
Threads: 19
Joined: Jan 2015
(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 %}
Posts: 6,267
Threads: 182
Joined: Sep 2011
not really, get_component in php, or using dynpages plugin {} syntax in html
Posts: 60
Threads: 19
Joined: Jan 2015
(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...