Magento Templates - Can extensions be bundled with a theme? -


i have real noob magento question. i'm helping friend change template store using worried losing functionality of of extensions such ajaxsearch. don't know if it's extension or part of template. can't seem figure out if of extensions built theme or if separate extensions. there easy way tell?

to give example ajaxsearch js file's path seems in template path e.g http://www.example.com/skin/frontend/default/templatename/js/ajaxsearch.js , if go system > configuration can see listed in sidebar under templates-master (which think brand name). in case extension , how file paths work extensions? fact skin in file path throwing me off.

thanks!

fast way: each magento extension provided archive (.tgz). unpack folder outside magento , check have next path or not:

unpacked_folder/skin/frontend/default/templatename/js/ajaxsearch.js

(another trick in first lines of ajaxsearch.js file, authors write extension or theme names in it).

long way:

  1. find file included on page. search 'ajaxsearch.js' in xml files placed in app/design/frontend/default/templatename/layout/ if not found, try search in app/design/frontend/default/default/layout/ etc. example find in somefile.xml

  2. try find extension include file. doing search 'somefile.xml' in config.xml files in local , community pools:

    app/code/local/some/extension1/etc/config.xml

    app/code/local/some/extension2/etc/config.xml

    app/code/community/some/extensionn/etc/config.xml

    etc

  3. if found in ...some/extensionx/etc/config.xml - mean ajaxsearch.js belongs some_extensionx extension. if not found - belongs theme.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -