Add custom code to index.php
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Mon Jul 08, 2013 7:30 pm
- Reply with quote
- Report this post
Hi,
I'm not very familiar with frameworks (I'm more old school) I wanted to add some custom code to index.php and I always get some errors. How can I add something to all pages (like we have used to add some Ga code or something else)
Best Regards,
Miha
I'm not very familiar with frameworks (I'm more old school) I wanted to add some custom code to index.php and I always get some errors. How can I add something to all pages (like we have used to add some Ga code or something else)
Best Regards,
Miha
-
- Fresh Boarder
- GK User
- Mon Jul 08, 2013 8:06 pm
- Reply with quote
- Report this post
You should not use index.php, instead go to:
/templates/creative/layouts
and edit file default.php
/templates/creative/layouts
and edit file default.php
-
- Moderator
- GK User
- Mon Jul 08, 2013 8:07 pm
- Reply with quote
- Report this post
Thanks, That's what I was looking for, but I haven't found any other info regarding this on forum. Best Regards, Miha
-
- Fresh Boarder
- GK User
- Tue Jul 09, 2013 7:38 am
- Reply with quote
- Report this post
No problem. If You have any other questions, feel free to ask.
-
- Moderator
4 posts
• Page 1 of 1