I have created a magento extension which works fine also install correctly from downloader or magento connect.
One problem though when i uninstall it from magento downloader it delete app/code/local folder
completely. other folder delete correctly.
while creating extension i have used select following to create package xml :
Magento local module file : which points to ./app/code/local
path : Mymodulename
Type : Recursive Dir
If anybody have this problem in past, please help
The setting of the Magento Local Module file should point to your extension inside the app/code/local folder and be of type recursive directory.
/app/code/local/Your/Extension
If you are using the package manager then you should simply select the option Magento Local module file and then add your extension information Your/Extension and then select recursive directory.
I really find this blog useful when creating packages.
http://blog.chapagain.com.np/magento-how-to-create-extension-package-images/
Related
I have exported the Meetings module from SuiteCRM, renamed all the occurrences to Events module, zipped it. Now when I try to upload the file to SuiteCRM it says
The zip file is missing a manifest.php file. Cannot proceed.
I have tried with multiple archivers(default, terminal and some other), getting the same error every time.
I have also tried with the answers in this post, but nothing working.
Here is directory structure. manifest.php is present in the zip and folder as well.
./.DS_Store
./Extension/modules/Events/Ext/Vardefs/sugarfield_jjwg_maps_address_c.php
./Extension/modules/Events/Ext/Vardefs/sugarfield_jjwg_maps_lng_c.php
./Extension/modules/Events/Ext/Vardefs/sugarfield_jjwg_maps_lat_c.php
./Extension/modules/Events/Ext/Vardefs/sugarfield_jjwg_maps_geocode_status_c.php
./manifest.php
./SugarModules/.DS_Store
./SugarModules/include/.DS_Store
./SugarModules/include/language/en_us.Events.php
./SugarModules/modules/.DS_Store
./SugarModules/modules/Events/logic_hooks.php
./LICENSE.txt
Version 7.8.27
Sugar Version 6.5.25 (Build 344)
am I missing something while exporting, importing or zipping?
if anyone having the same issue, I guess this will help a bit.
I tried all the things that are mentioned anywhere and everywhere. Still was unable to get module imported. The steps are below that you need to follow.
Export module.
Unzip the folder and change all occurrences from ActualModule(Meetings in my case) to CustomModule(Events in my case.)
Check if there is any key left in Vardefs. This could be normally singular(like Meeting) and change it to singular(Event).
Save all the changes.
Zip all the contents of the directory. Yes, the contents only, not the directory itself. In my case it was Events-XXXXXX and I was zipping the directory itself. Just zip the contents that are inside the Events-XXXXXX directory.
Import module within the CRM with Module Loader and install it.
I am trying to use this extension https://github.com/2amigos/yii-cdn-asset-management-library in order to publish my assets to Amazon S3.
I installed it using Composer and I can confirm that the files are there. According to the documentation, the next step is to modify my Yii configuration file (I modified main.php and console.php) and put the necessary information in the components section. I already did that.
In order to publish the assets, I needed to run the following code:
./yiic S3 --manager=cdnManager publish --userVersionCache=1
However, yiic cannot seem to locate the S3Command.php file. I get no such file or directory errors because of that. Any thoughts on how to proceed?
I'm trying to install new free Joomla template called gk_magazine. In the download page, I found three links to three zip files for Joomla 3.x:
gk_magazine_rest_files_J!3.zip
gk_magazine_quickstart_J!3.zip
gk_magazine_J!3.zip
I downloaded the three files to my computer and I tried to install them one by one in the following order:
gk_magazine_J!3.zip: it is installed correctly and Gk_magazine template becomes listed in the template manager and it has been set as default as the screen shot shows.
gk_magazine_quickstart_J!3.zip: it is installed correctly too, but there is no any additional items appeared in the template manager.
gk_magazine_rest_files_J!3.zip: It does not installed - Warning JInstaller: :Install: Cannot find XML setup file
I saw similar situations with other Joomla templates and I need to know what are the rules of each file described above in the installation of the new templates? are all of them are important? or just the first file only?
From the file structure you can tell what it is!
gk_magazine_rest_files_J!3.zip:
This one is as the name says it 'rest files' means: plugins, notes for a module and a few photoshop images (*.psd)
gk_magazine_quickstart_J!3.zip:
This one is a Joomla Site with the gk_magazine_J!3.zip Template which you can find in the folder templates
gk_magazine_J!3.zip:
This one is a template
EDIT:
Also what's Joomla Site with gk_magazine template mean too?
It means that this is a basic Joomla site which you can copy into your server root folder (e.g. htdocs on XAMPP)
You can see the templates in the templates folder here:
beeze3, protostar and system are some Joomla standard templates which are all in a new basic Joomla site. There also beeze5 or beeze20 as an example, but these are not automatically included in the basic Joomla site
I've deployed a sample Opencart2.0 under a subdirectory in my godaddy domain. I've created a OCMod xml file remove_unused_desc_from_category.ocmod.xml which removes a line from <sub_dir>/catalog/view/theme/default/template/product/category.tpl
I've installed this using Extension Installer and refreshed the cache. Then checked the new file <sub_dir>/system/modification/catalog/view/theme/default/template/product/category.tpl which had the change.
But it is still not affecting the UI. I'm still a learner of opencart and OCMod. Kindly help.
I have asked the same question in Opencart github repo here, and found the solution.
If you installed opencart with an autoinstaller it migth have added DIR_CATALOG to your root config.php, you must edit it and remove it, it should not be there.And move its value directly to DIR_APPLICATION. - florinsith
Code:
//define('DIR_CATALOG', '/home/<user_dir>/public_html/<sub_dir>/catalog/');
//define('DIR_APPLICATION', DIR_CATALOG);
define('DIR_APPLICATION', '/home/<user_dir>/public_html/<sub_dir>/catalog/');
I have installed Concrete 5.5.2.1 and i'm now attempting to install a theme I have downloaded from the marketplace.
I have downloaded the zip archive, extracted it and FTP'd the full directory up to the /themes directory. However, after trying a couple of themes I get this error everytime:
File /htdocs/concrete5.5.2.1/themes/cannonf700_zenlike/default.php not
found. All themes need default.php and view.php files in them. Consult
concrete5 documentation on how to create these files.
Both themes appear to have these files and I have not changed any code, files or structure before uploading.
Is there an issue with the theme of the way I am uploading?
OK, this answered my question:
http://www.concrete5.org/community/forums/themes/importing-a-theme/...
I had to upload to the /packages dir, not /themes. From there, i could then install through the 'Add Functionality' menu option..