Search found 9 matches

by dattard
Mon Mar 17, 2008 6:19 pm
Forum: Joombie Coding Q/A
Topic: Coding problem ... can you take a look?
Replies: 1
Views: 2110

Re: Coding problem ... can you take a look?

Ok ... that was stupid. I'm missing the setQuery call. This works better: function &getItems(&$params) { $db =& JFactory::getDBO(); $ids = trim( $params->get('ids') ); $sql = 'SELECT id, title FROM #__content WHERE id in '.$ids; $db->setQuery($sql); if ($instance = $db->loadObjectList())...
by dattard
Mon Mar 17, 2008 6:16 pm
Forum: Joombie Coding Q/A
Topic: Coding problem ... can you take a look?
Replies: 1
Views: 2110

Coding problem ... can you take a look?

Hi, I'm migrating my Joomla modules to support Joomla 1.5 natively. I'm not an experienced php / Joomla coder, though I've programmed web applications in various languages. I've nearly completed my first one, but I'm having problems accessing the database for some reason. Not sure if I have incorrec...
by dattard
Mon Mar 10, 2008 5:53 pm
Forum: Joomla! Extensions Directory Forum
Topic: http://extensions.joomla.org/ is down, not working
Replies: 9
Views: 6633

Re: http://extensions.joomla.org/ is down, not working

Well, the amount of hits these sites get is quite significant. Patience patience :)
by dattard
Wed Dec 19, 2007 7:12 pm
Forum: Announcements Discussions
Topic: Discuss: Joomla! 1.5 RC4 --- Introducing Karibu
Replies: 51
Views: 40578

Re: Discuss: Joomla! 1.5 RC4 --- Introducing Karibu

Well done for the great work to all involved.

Will try to pitch in to the Documentation Boot Camp.

Downloading RC4 for full testing ...
by dattard
Wed Nov 14, 2007 8:43 pm
Forum: Joombie Coding Q/A
Topic: Plugin - editing body and inserting scripts
Replies: 4
Views: 1790

Re: Plugin - editing body and inserting scripts

That's great. Thanks.

Anything similar available for 1.0.x ?
by dattard
Sun Nov 11, 2007 9:04 am
Forum: Joombie Coding Q/A
Topic: Plugin - editing body and inserting scripts
Replies: 4
Views: 1790

Re: Plugin - editing body and inserting scripts

Yes I can put them in the template, but it is something I would like to avoid. If I can do it in a plugin, I had just call {popin} on a page particular content item, and they only get rendered in that particular page.

Any other suggestions please?
by dattard
Sat Nov 10, 2007 8:55 am
Forum: Joombie Coding Q/A
Topic: i just wanna know if someone is logged in LOL
Replies: 2
Views: 1128

Re: i just wanna know if someone is logged in LOL

Your code looks ok. The $my->id is the way to determine whether someone is logged on as far as i know.
by dattard
Sat Nov 10, 2007 8:44 am
Forum: Joombie Coding Q/A
Topic: Plugin - editing body and inserting scripts
Replies: 4
Views: 1790

Plugin - editing body and inserting scripts

Hi, I have a client who (despite my protests on intrusive advertising) wants to create a popin on his site. I can do this quite easily if I had to do it manually, however instead of just doing it I would like to create a plugin which does this does and then put the extension in the JED (as I've alre...
by dattard
Sat Aug 18, 2007 3:10 pm
Forum: Sites & Infrastructure - Feedback/Information
Topic: looks like joomla org hacked
Replies: 194
Views: 140508

Re: look like joomal.org hacked

Looks like cracking happens to the best of us :(

You can never be safe enough, I guess the best solution is to always keep fully updated backups!