Where to put <head> related data?
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 36
- Joined: Mon Jul 21, 2008 3:45 pm
Where to put <head> related data?
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?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Where to put <head> related data?
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.
Hope this helps.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 36
- Joined: Mon Jul 21, 2008 3:45 pm
Re: Where to put <head> related data?
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.
- BryanWarmoth
- Lieutenant, Jr. Grade (LT JG)
- Posts: 44
- Joined: Fri May 23, 2008 11:24 am
- Location: Puyallup, Wa
- Contact:
Re: Where to put <head> related data?
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.
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 36
- Joined: Mon Jul 21, 2008 3:45 pm
Re: Where to put <head> related data?
Thank you Bryan, I had not thought of that but it works!
- BryanWarmoth
- Lieutenant, Jr. Grade (LT JG)
- Posts: 44
- Joined: Fri May 23, 2008 11:24 am
- Location: Puyallup, Wa
- Contact:
Re: Where to put <head> related data?
No problem. Happy coding!