Page 1 of 1
Where to put <head> related data?
Posted: Tue Aug 19, 2008 6:37 am
by evanb@firefold.com
I'm unsure of what master file controls what meta tags, stylesheets, and/or scripts I want to load with every page. Can I be pointed in the right direction?

Re: Where to put <head> related data?
Posted: Tue Aug 19, 2008 8:15 am
by jmestep
It's a complicated question with a complicated answer. Some of the stuff is in a page like product.aspx, some of it is in the App_Data/scriplets folder, some of it is in App_Code folder, like PageHelper.cs. I think some of it is in the source code also.
Hope this helps.
Re: Where to put <head> related data?
Posted: Tue Aug 19, 2008 8:34 am
by evanb@firefold.com
Thank you, I did open the pagehelper.cs file and it does show some code for <script> information but unfortunately I'm still a little stumped. Far as I can tell Able loads the stylesheets automatically based on what is in your themes folder, which is fine, but I'm more concerned with having a script load as well with every page. Which seems a little more difficult to find.
Re: Where to put <head> related data?
Posted: Tue Aug 19, 2008 10:19 am
by BryanWarmoth
You should try using the Scriptlet master page (/Layouts/Scriptlet.master). I have put all my scripts and extra style sheets in that header. It seems to work on every page I've worked with so far.
Re: Where to put <head> related data?
Posted: Tue Aug 19, 2008 10:26 am
by evanb@firefold.com
Thank you Bryan, I had not thought of that but it works!
Re: Where to put <head> related data?
Posted: Tue Aug 19, 2008 10:27 am
by BryanWarmoth
No problem. Happy coding!