I can't be entirely sure, but I think the problem is that you are obtaining your db results as objects, rather than as arrays.
I think you want to use loadAssocList rather than loadObjectList (towards the end of your first function).
Let me know how you get on.
Search found 10 matches
- Tue Jan 22, 2008 9:57 pm
- Forum: Joombie Coding Q/A
- Topic: My database Front-end component. Almost there. Please Help!
- Replies: 3
- Views: 801
- Sun Nov 04, 2007 4:29 pm
- Forum: Joombie Coding Q/A
- Topic: possible to change the article linked to a menu on mainmenu???
- Replies: 2
- Views: 656
Re: possible to change the article linked to a menu on mainmenu???
You may also like to check out Roktodo:
http://www.newlifeinit.com/index.php?option=com_content&view=article&catid=4&id=26:roktodo-is-done&Itemid=9
written by Andrew Eddie (known as masterchief on the forums) - J! lead developer
http://www.newlifeinit.com/index.php?option=com_content&view=article&catid=4&id=26:roktodo-is-done&Itemid=9
written by Andrew Eddie (known as masterchief on the forums) - J! lead developer
- Sat Nov 03, 2007 1:45 pm
- Forum: Joombie Coding Q/A
- Topic: possible to change the article linked to a menu on mainmenu???
- Replies: 2
- Views: 656
Re: possible to change the article linked to a menu on mainmenu???
You can certainly change the article that the menu item points to - just edit the menu item in the backend and click the select button (in the top right section) to change the article. So I guess you could create a menu first, linking every item to a dummy article, and then change them later when th...
- Sat Oct 13, 2007 9:47 pm
- Forum: Joombie Coding Q/A
- Topic:
- Replies: 2
- Views: 740
- Tue Oct 09, 2007 10:57 pm
- Forum: Joomla! Coding 101
- Topic: PNG and Internet Explorer 6
- Replies: 3
- Views: 883
- Tue Oct 09, 2007 4:59 pm
- Forum: Joomla! Coding 101
- Topic: PNG and Internet Explorer 6
- Replies: 3
- Views: 883
Re: PNG and Internet Explorer 6
i don't think it has to do with IE and PNGs - the issue is normally with transparency, and the images themselves look fine. The problem is that they are not being cached, so are having to reload every time the mouse moves over them. trouble is, i don't know why! Could it be a setting on your server ...
- Sat Sep 15, 2007 2:32 pm
- Forum: Joomla! Coding 101
- Topic: A good component example and tutorial for Joomla 1.5
- Replies: 3
- Views: 1370
Re: A good component example and tutorial for Joomla 1.5
I thoroughly recommend Joseph LeBlanc's book from Packt Publishing - unlike many other tutorials I have come across, the demonstration component is suitably complex (even though the tutorial itself is very straightforward!) so it is easier to apply to whatever tutorial you are developing.
- Wed Sep 05, 2007 5:05 pm
- Forum: Joombie Think Tank
- Topic: ebibleicious extension
- Replies: 11
- Views: 4027
Re: ebibleicious extension
Amy - I am wondering whether it might be better to run it as a plugin - after all you are wanting to alter the content of the main output (albeit the unseen content of the ... section, by adding refs to the JS and CSS files) rather than adding new content. If you use a module, you will need to...
- Thu Aug 23, 2007 7:26 pm
- Forum: Joomla! Coding 101
- Topic: Forum Structure - subforums
- Replies: 19
- Views: 3571
Re: Forum Structure - subforums
I would like to propose something: a sub-forum for coding project logs. I am thinking of something similar to the modding project logs found on Bit-tech: http://forums.bit-tech.net/forumdisplay.php?f=42 The idea would be for newcomers and those with some (limited) experience to describe their ...
- Tue Aug 14, 2007 10:17 pm
- Forum: Joombie Coding Q/A
- Topic: How do I getView() or tell If I am at the home page - SOLVED
- Replies: 8
- Views: 1780
Re: How do I getView() or tell If I am at the home page
However, this doesn't really answer the OP's question. The 'frontpage' view does not need to be used on the home page (it can be used anywhere on the site) and the home page does not need to show the 'frontpage' view (it can show a single article if desired). So, is there a way to check that a...