Add custom code to index.php

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.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
User avatar
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
User avatar
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
User avatar
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.
User avatar
Moderator


Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.