| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding CSS and JS... unanswered questions | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Adding CSS and JS... unanswered questions
Hi, I have a few questions regarding this article from the KB: http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files
So, if I'm using the included Custom Skin module, would I add the AView file in the appropriate directory within modules/XC/CustomSkin? Do my internal CSS and JS files need to be in my custom skin directory? Or in the default module directory? Or both? And finally, am I better off writing my own module for the custom skin if I need to include CSS and JS files? (Rather than trying to force additional CSS and JS through the XCart Custom Skin module?) I've been experimenting with this all morning and have had no success so far.
__________________
X-Cart Version: 5.2.17 Modules: Varies by site |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Adding CSS and JS... unanswered questions
You are probably better off writing your own module. That way you know for sure future upgrades of cart will not overwrite your files
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||||
|
|||||||||
Re: Adding CSS and JS... unanswered questions
Quote:
As a rule, you place templates that you intend to overwrite in your skin directory (1). Templates that are new to the file structure, you place in your module's skin directory(2). So if the template already exists, override it in your custom skin directory(1). If it is a new template (.css, .js, or .tpl) that you want to assign to a list, place it in your modules skin directory (2).
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#4
|
|||||||||
|
|||||||||
Re: Adding CSS and JS... unanswered questions
How is the best way to add custom css to the Admin area?
Quote:
I have found this on X-cart Knowledgebase; Quote:
Does it require separate module or can it be done in one module?
__________________
Richard Ultimate 5.4 testing |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Adding CSS and JS... unanswered questions
Should be able to be done in one module.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Adding CSS and JS... unanswered questions
Can you please help to complete how is combining both of these, I tried but it didn't work
__________________
Richard Ultimate 5.4 testing |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Adding CSS and JS... unanswered questions
Hello Richard,
Could you please explain what problem you are facing? Does any of the methods above work for you? Or just nothing works? Thank you. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|