I have notice one more thing, and I think it is cache problem..
I have inserted 2 records, and on list page when I mouse over on "edit" link then both id are same.. both are "1" number id.. while, I have checked in DB then it was ok..
in DB it was…
No, I am not doing anything in tester module.. I have just create fresh DB & module.. And for testing, I have inserted one record and that's it, I found "0" id in DB.
Hello,
I have seen the Menu Class & fuel_nav(), it's working extremely fine..
Just only one thing I didn't found any where.. And that is, How to set custom CSS class in [ul] tag?
For Example, According to my custom layout, I have below type o…
Actually it's not the solution, But As I have put my style.css inside the css folder
and my siteimages folder inside "images" folder..
And in View Page I have set like below..
<?php echo css('style'); ?> //<![CDATA[ var basePath = '&…
Same question is also for my custom modules,
Like I have created module name as "ads"
in that I have category,subcategory,products.
Now I want to show that list in home page, So how can I retrieve it from my module?
What is the best way for it?
Hi,
Got it now, This kind of points are important to know, I think there should be some document for Rules of Select/Option or Radio etc.. It would be good to learn from it.
Anyway thank you very much for helping...
Here is the DB query for ads_products
CREATE TABLE `ads_products` (
`id` int(10) unsigned NOT NULL auto_increment,
`id_ads_categories` smallint(5) unsigned NOT NULL default '0',
`id_ads_subcategories` int(10) unsigned NOT NULL default '0',
…
ok for 2nd question I got it, I will create the JS.
but can you please tell me about my 1st question, In select box option I am getting "id_ads_categories" in list, instead of "subcategories_title", Is there anything wrong mentioned in above foreig…
2nd Question,
Is it possible to make dependent field? like when I choose some category option and then it should load only related subcategory in Subcategory option box.
Hi there,
I have add 3rd level in same module..
it's like categories >> sub-categories >> products
So in products form I need 2 Select Option
1) Choose Category (* Required)
2) Choose Sub Category (Optional)
So in ads_products_…
definitely, I will share with all. Recently I am preparing to many modules for one classified system of Car (Auto System), and I hope I will do everything perfectly in FUEL...
Got it now.. I was thaught that it will detect automatic..
Thanks a lot for helping..
one minor thing, by default in the form Label is coming like "Ads_categorie*"
I want to put custom lable like "Choose Category" then what change is required?