Installing Magento Extensions on a Custom Theme - magento

I'm building a Magento theme, and the extensions that I've installed so far do not work well with my website. As it seems, some of the plugins are not showing any display on the front-end (others show, but not completely as intended).
In general practice, when building a custom theme and installing extensions, are the extensions installed in the custom theme's directories or in the base or default directories? I haven't yet ruled out the possibility that Magento is unable to find all the proper files because it's looking in the wrong place, and that while it should be looking in the theme files, the files are not there, because they're installed in the base path instead.
I saw something on those lines over here: http://www.collaboration133.com/magento-extensions-not-displaying-on-frontend-after-install/2693/
What's the common standard (as far as directories) for successfully installing a Magento extension? Also, if I need to reinstall it in the custom theme directory, is there a simple way to do this, or must this be done manually? Thanks!

As far as Magento folder structure is concerned, it checks the files in:
<current theme package> --> <current theme folder>
<current theme package> --> <default folder in current theme's package>
base --> default folder
So if the extension has files in suppose default --> default folder and your theme package already has a default folder, then extension files will not be accessible by default.
You need to manually copy those files into your theme.

Related

adding a new theme in magento2

i have uploaded the files of the new theme bought from https://themeforest.net/user/codazon . But don't know where to move each individual files to the correct directories in order to add this new theme. Below is the files inside the new theme folder
Below are the screenshot of what's inside the Theme zip file.
It is hard to guess which theme you have purchase but they must be providing a detailed documentation of that theme through http or wrap inside theme package. For example i have found http://www.codazon.com/document/fastest/magento2/ is the documentation for their M2 Fastest theme from envatomarket page.
Codazon has to kind of zip files one is with complete Magento package and the other has only extension and it’s documentation. Please find out it’s extension zip file only .

How to create magento theme from scratch in 1.9.1

Whether i have to copy the templates files from default or rwd package to create new theme from scratch.
No need to copy the templates files or layout files unless you have your custom. System will find the template file/layout file from base package or default theme once no existence in your theme.

Prestashop theme not detected

I'm new to Prestashop development. The first thing I've tried is to create a new theme copying the default theme directory in Prestashop 1.6. The problem I have is that, once created, the theme is not detected by Prestashop: is like the directory wasn't there.
If I create a new theme from the admin panel and replace the directory content with the same files, it works ok.
What should I do to make Prestashop detect my theme? I haven't found any information about it.
Thanks a lot.
I already answered on similar question here, there are two ways to solve your issue through backoffice
Copy default theme in Preferences -> Theme press Add new theme
button and then at the bottom Create new theme + choosing Copy missing files from existing theme.
OR if you already copied theme dir/files by FTP
Same steps, but without copy missed files (of course if you have no
missed files) and just put correct new dir name in Name of the theme's directory
This is actually the way it is done - Copying the default theme.
There could be several reasons for that:
Have you changed the name of the copied folder?
Did you use only a single lowercase word as a name?
Did you copy it to the /themes folder?
Here is additonaly info after the copying to do some cleanup: http://doc.prestashop.com/display/PS15/Creating+your+own+theme
Also it is perfectly fine to create a copy of the default theme from the backend. You can find instructions here: http://doc.prestashop.com/display/PS16/Laying+the+Theme's+Foundations#LayingtheTheme'sFoundations-Standingontheshouldersofgiants:copyingthedefaulttheme
For people who are using Prestashop 1.7 or higher and is facing the same problem when copying the Starter Theme, I recommend you to check if you actually have a themes/your_theme/config/theme.yml configuration file because the one that is loaded by default is a theme.dist.yml so Prestashop won't recognize it.

Magento Extension/Theme Packaging

just a quick developer question in regards to Magento Extension/Theme Packaging, more specifically, when packaging, would I place the template files, layout files, skin folders etc in the base folder (see path below)(and not overriding any core files either)
app/design/frontend/base/default/template
app/design/frontend/base/default/layout
skin/frontend/base/default/css
and so on? I see this would be most suitable as alot of platform users would have custom themes with maybe custom namespaces for the theme folders. As users would have to stuff around to rename/move files/folders to work with their platform if packaged the default way I have seen in the past (ie in the default/default folder paths).
cheers for any feedback
This is the only way to package extension to use base/default or default/default location for template, layout and skin folders. Because if custom theme is used, then also this will work due to Magento's fallback mechanism. And if user want to add those files in custom theme location, then he/she should manually copy or move files in theme's respective location as you have said. And it is obvious that we can not predict custom theme path while packaging extension.

Uploading Aheadworks blog extension to my custom Magento theme

I'm fairly new to Magento and am having trouble uploading the Aheadworks blog extension to the correct directories. I am using a custom theme for my site, let's call it "themex". The directions state "Navigate inside step_1 directory. If you use a different from default theme - be sure to rename step_1/app/design/frontend/default/default and step_1/skin/frontend/default/default folders to your store's values."
I've located the 'step_1' directory but I'm not quite understanding the latter part of the directions. Am I renaming the 'step_1' directory to "themex" and uploading it to the root directory? Please be as descriptive as possible in your response.
Their instructions are badly phrased, but I'm pretty sure it means that you need to upload the files to app/design/frontend/default/themex
Magento theme files appear in the app/design/frontend/ folder.
The "base" folder here contains the core layout files, and the "default" folder contains the file overrides for other themes. As such, your theme's layout files will appear under app/design/frontend/default/themex (possibly app/design/frontend/themex/default depending on how the theme works)
Magento will first look for design files here first, and then look under app/design/frontend/base if the override does not exist.
Make sure you back-up any files, and if their files over-write any of your theme files then run a comparison on them to make sure they are not over-writing any of your theme's functionality.

Resources