|Related to : For a custom magento module, is it ideal to store images in a similar database/filesystem structure to how Magento does it?|
|Magento Custom Module database query|
I have written a module to add my own events, and in the home page
i would like to show only latest events. So in that case i have to add
order by to query but i couldnot do that, it always throws fatal
This is what i have done.
This returns all the records, here i could able to
set filter options but i could not add sort order like this
|Magento Custom Module How to store variable in config.xml|
I have a custom module that is working just fine but I would like
to be able to store variables in the config so I can use them in my
code. (For example a default error message)
I think I can
access them by using Mage::getStoreConfig('/some/path/here'); but I
don't know how to add them to the modules config.xml
(myname/mymodule/etc/config.xml) so that I can use them in my
Anyone have a clue?
|Magento custom module licensing - Magento Connect|
I have created a custom payment gateway module which allows to
integrate a particular bank's payment gateway into a person's Magento
site. Now what I want to do is to upload this module as a commercial
module so that other people can pay,download and can use it in their
My problem is which licensing method should I use
from below? Are there any coding standards to be followed to it be a
commercial module? Are there any other procedures to be taken? How
should I proceed?
|Magento custom module - where to store includes|
I am creating a custom magento module and cant decide the best
place to store some config files i require with the module?
Anyone out there suggest the best place for this? Should it be
in the root of the module or in with the helpers maybe?
Along the same lines as this question: is it
acceptable to have a folder in the root of the namespace for the
modules for includes that will be shared amongst the modules?
|Magento custom module with custom database table admin page|
I have followed a wiki post to setup a custom module with a custom
One thing that I can't work out is how to display a list of
database entries in the admin backend. Any ideas about what I'm
missing would be greatly appreciated?
|For a custom magento module, is it ideal to store images in a similar database/filesystem structure to how Magento does it?|
I searched for an image's file name in my mysql database for
Magento, and I couldn't find it. Also the images are stored inside
alphabetical folders as well as a cache folder.
do the same for my Magento module? Is there any existing code in the
Magento core that I should re-use?
If not, I'll stick to
storing the image's file name in the database, and all uploads going
in one folder without subfolders.
Now that I think about
it, it's time for question number 2. Where should modules upload