Hi, there, here is the problem, hopefully somebody can give a hint.
We have a default theme, say "abc" and another theme "xyz". Every page uses the default theme except one page "mns" which uses "xyz" theme. However, every time I load up the page, it is not just loading all styles and scripts from the theme "xyz", also styles and scripts from the default theme "abc". I have checked the followings:
Base.master -> layout for the new theme -> header and footer of new theme -> skin of new theme
Nowhere i included the default styles and scripts on the new theme, but why they are there in the <head>? Please someone gives a hint, it has driven me crazy!
thanks.
Loading Styles & Scripts on R2 When Multiple Themes Used
Loading Styles & Scripts on R2 When Multiple Themes Used
Fun programming!
Re: Loading Styles & Scripts on R2 When Multiple Themes Used
Seems nobody is able to answer this question. Seems to me there is an extra JavaScript is appended at the end of footer. Is this from CommerceBuilder as default or is this something else? The current system was developed by outsourcing developers before. I did not see anywhere it was added. Anyone has a hint?
thank you.
thank you.
Fun programming!
Re: Loading Styles & Scripts on R2 When Multiple Themes Used
Sorry, here is the JavaScript was appended to the end of page:
<script language="javascript">
$(document).ready(function () {
$('#myCarousel').carousel();
});
</script>
<script language="javascript">
$(document).ready(function () {
$('#myCarousel').carousel();
});
</script>
Fun programming!
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Loading Styles & Scripts on R2 When Multiple Themes Used
The carousel script tag is not from Able. You could also check in the htmlhead area of the problem object(category, product) in the edit page of the admin. People add scripts there also.
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
Re: Loading Styles & Scripts on R2 When Multiple Themes Used
Thanks, Judy. Found in pageHelper.aspx. What a mess!
Fun programming!