Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I'm finding that new references added to the theme.config file are not getting rendered in the page source. I've rebuilt the app. I've started IIS.
Able just won't load the revised theme.config file and I cannot figure out why.
Is there a place to start where I can breakpoint the file being parsed to check what's going on?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I am able to add a new .css file in theme.config and it rendered the file with styles effects without a rebuild or restarting IIS. Actually, the code invalidates the cache when a theme.config file is changed. So technically there is no need for a restart or a build.
Can you share more details.. Testing in release mode or debug mode. Using Sample theme or customized theme? Version?
Please make sure you are testing on the page that is using the same theme in which you are editing the theme.config
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Never mind. I just figured out what I'm doing wrong......... The theme has it's own /Content/ and /Scripts/ folders. I had copied the css and js files into the root folders of the site. But those theme.config references are relative, which means the files need to be the respective subfolders under the theme folder. Code:<Include Path="Scripts/toastr/toastr.min.js"/>
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close