Search found 9 matches

by sgreen
Sun Feb 24, 2008 10:12 am
Forum: Joombie Coding Q/A
Topic: undefined function mosgetparam()
Replies: 1
Views: 429

Re: undefined function mosgetparam()

Can you paste a bit more code in? The first 5 lines of code would help.

StuG
by sgreen
Sun Feb 24, 2008 10:05 am
Forum: Joombie Coding Q/A
Topic: How to create a self Grading Quiz
Replies: 1
Views: 386

Re: How to create a self Grading Quiz

You're best off writing your own component for this sort of thing. Just basing it on forms wouldn't really cut it as you couldn't randomly select questions.

You need to dump your questions and answers into a database and then randomly cycle through them. Not too difficult a task to achieve.

StuG
by sgreen
Fri Feb 08, 2008 10:37 pm
Forum: Joombie Coding Q/A
Topic: Identifying user by session info...
Replies: 1
Views: 339

Re: Identifying user by session info...

Doing the same thing myself.

In J1.0 you could use the $my->ID method of getting the user on there.  Just started looking into it under J1.5.

StuG
by sgreen
Fri Feb 08, 2008 9:46 pm
Forum: Joombie Coding Q/A
Topic: XML Parsing error
Replies: 3
Views: 406

Re: XML Parsing error - Possible J1.5 Bug

I thought that, but I think this is a bug in J1.5.

Have run the offending XML file through a parser and it looks like the specification is flawed. Even the demo XML file in the 'Hello World' tutorial causes the same error.  I think there may be a bug in the spec at http://dev.joomla.org/xml/1.5/component-install.dtd.

Any thoughts?
by sgreen
Thu Feb 07, 2008 8:52 pm
Forum: Joombie Coding Q/A
Topic: XML Parsing error
Replies: 3
Views: 406

XML Parsing error

Hi,

Uploading/Installing of component gives this error:

XML Parsing Error at 1:0. Error 4: not well-formed (invalid token)


XML file is as per tutorials.

Any ideas?

StuG
by sgreen
Thu Feb 07, 2008 8:36 pm
Forum: Joombie Coding Q/A
Topic: Is this a bug in 1.5?
Replies: 1
Views: 327

Is this a bug in 1.5?

Hi, Developing a component for Joomla 1.5.  When the 'Save' button is pressed after data entered into a form, this happens: Warning: Missing argument 2 for __construct() in /VirtualHosts/somesite.com/libraries/joomla/database/table.php on line 66 Warning: Missing argument 3 for __construct() in...
by sgreen
Thu Feb 07, 2008 7:54 pm
Forum: Joombie Coding Q/A
Topic: JToolBarHelper - more info required...
Replies: 2
Views: 361

JToolBarHelper - more info required...

Hi,

I'm in the process of developing a graph handling component for a client using J1.5.

I've searched the developer site but there is no mention of the JToolbarHelper class.  What methods are available in this class?

Cheers,

StuG
by sgreen
Mon Jan 28, 2008 9:34 pm
Forum: Joombie Coding Q/A
Topic: Query to jos_session fails
Replies: 0
Views: 328

Query to jos_session fails

Hi, Given this code:         $sessionid = session_id();     echo "\n";     $database->setQuery("SELECT * FROM #__session WHERE session_id='$sessionid'");     $sessionvars = $database->loadObjectList; Does anyone have any idea why this query would fai...