MODULE_HEADER_TAGS_NOSCRIPT_TEXT
Login | Create an account | Contact us
  • english French
  • Author :
    There are times when you will need to edit the ClicShopping files, especially if you want to make changes in your ClicShopping Theme. ClicShopping features a built-in editor for editing css. The Editor css. You can also edit files copied or stored on your computer and then upload them to your site using an FTP client.

    Before editing any of your ClicShopping files, check the following:

    BACKUP! And Work from Backups 
    Work from copies of backup files when possible and/or make sure that you backup your information frequently as you work and make changes. Keep backups in a safe place.

    File Permissions 
    When working online, you need to set the appropriate file permissions to modify and save them else it doesn't work.

    Use a Text Editor to Edit Files 
    To make changes to files outside  Editor css, use a text editor. DO NOT USE A WORD PROCESSING PROGRAM. Word processors change the quote marks to characters and may convert other characters or bring in unwanted code; these changes will cause the file to break. There are also some HTML generator programs that should not be used for similar reasons.

    What Files Can Be Edited?

    Only the following file types may be edited, if writable: CSS
     
     

    Things You Need to Know


    Instant Changes 
    The changes you make to files using the ClicShopping editor css are instant; the changes happen online, in real-time. You and any visitors to your will see the changes immediately.
    Because of the immediate nature of the changes, it's usually safer to edit copies of your files offline, test, and upload your changes when they are verified.
    Always make sure you have a current backup before editing files.

    Editor Features 
    CSS Editor is very basic, allowing easy access to view and modifiy your css. 
    Hint: Use your browsers internal search to help find code within the css editor.

     

    File Permissions 
    To edit a file using the ClicShopping editor csss, the permissions for that file must be set to writable (at least 666). You can change the permissions on files by using a FTP client program, web-based file manager provided by your host, or from the command-line using SSH (secure shell). Your options depend on the type of access your host offers.

    Make a Mistake? Use the Backup Files 
    Backup all files before editing. If you make a mistake that causes errors, a site crash, a blank screen,  delete the changed file and replace it with a good one from your backup.

    No backup? Download the openSource ClicShopping, replace  by the original, and start over. BACKUP FIRST.

    Security Warning 
    By default, any user that logs in with administrative permissions can access the css editor, and change any theme or module on your site in real-time.

    To combat accidents, errors, and even hacking, you may wish to disable the ability to edit files within the ClicShopping theme by adding chmod 644 on css files with your ftp.

    Editing Files Offline

    To edit files offline, you can use any of the recommended text editors to create and edit files and an FTP client to upload them. Make sure to view the results in your browser to check if the desired change has taken effect.

    Note: It is not recommended to change core ClicShopping files other than configure.php. If you must change anything else, take notes and store them in a text file in your ClicShopping root directory and make a backup copy of them for future reference and upgrades.
     
     

    Using Text Editors


    Editors to Avoid

    Note: If you use an external editor to create and edit files, such as a standard word-processor, it can corrupt the file you are editing. 

    Editors to avoid include:

    Microsoft Word
    WordPerfect
    OpenOffice/LibreOffice
    Apple iWork Pages
    Microsoft Publisher
    Microsoft Works
    Microsoft Excel
    Adobe Photoshop
    Adobe Illustrator
    Adobe Dreamweaver
    Any do-it-yourself instant web page software.

    To use Adobe Dreamweaver or Microsoft FrontPage, keep these guidelines in mind:

    Adobe Dreamweaver: To make sure your files work properly, delete Dreamweaver content, copy your content from the ClicShopping editor, and paste it into the Dreamweaver file.
    Microsoft FrontPage: Do not use built-in templates. Avoid Internet Explorer-specific code.
     

    Text Editors allowing


    The following Text Editors are acceptable for file editing:

    BBEdit (Classic Mac OS, Mac OS X, $$$)
    Boxer Text Editor (Windows)
    Coda (Mac OS X, Shareware)
    EditPad (cross-platform)
    EditPlus (Windows)
    Editra (cross-platform, Open Source, Free)
    emacs (Unices, Windows, Mac OS X, Open Source, Free)
    gedit (Unices)
    Kate (Unices)
    Komodo Edit (cross-platform, Open Source, Free)
    Kwrite (Unices)
    Notepad++ (Windows, Open Source, Free)
    phpDesigner (Windows)
    PSPad (Windows, Free)
    Smultron (Mac OS X, Open Source, Free/$) Smultron 4 (req OS-X Lion) (v.cheap in MacApp store)
    SubEthaEdit (Mac OS X, $)
    Sublime Text 2 (Windows, Linux, Mac OS X)
    TextEdit (comes with Mac OS X)
    TextMate (Mac OS X, $)
    TextPad (Windows)
    TextWrangler (Mac OS X, Free)
    UltraEdit-32
    vim (Unices, Windows, Mac OS X, Open Source, Free)
    Notepad2 (Windows, Freeware)

    IDEs

    The following IDEs are acceptable for file editing:

    Aptana Studio (Cross platform, Freeware)
    Codelobster (Windows only, Freeware)
    Eclipse (Cross platform, Freeware)
    NetBeans (Cross platform, Freeware)