Search found 7 matches
- Thu Dec 13, 2007 8:33 am
- Forum: Joombie Coding Q/A
- Topic: radioList, a new line for each option?
- Replies: 2
- Views: 530
Re: radioList, a new line for each option?
Hi, try this : $lists["voluntary"] = mosHTML::radioList($voluntary, 'voluntary', 'class="radiobox" style="display:block"', $row->voluntary ); or in the css file : .radioBox { ... display: block; ... } But mosHTML::makeOption and mosHTML::radioList are deprecated I think it...
- Thu Nov 29, 2007 11:40 am
- Forum: Joombie Coding Q/A
- Topic: Link a module to a component , not to a menu item.
- Replies: 1
- Views: 444
Re: Link a module to a component , not to a menu item.
I think that I found the solution.
In fact, I didn't want to put the Itemid parameter manually in my URL (which i wrote in my component) to display the module when I call the component.
By using JRoute::_($link, false), I think i solved my problem.
In fact, I didn't want to put the Itemid parameter manually in my URL (which i wrote in my component) to display the module when I call the component.
By using JRoute::_($link, false), I think i solved my problem.
- Thu Nov 29, 2007 7:18 am
- Forum: Joombie Coding Q/A
- Topic: Link a module to a component , not to a menu item.
- Replies: 1
- Views: 444
Link a module to a component , not to a menu item.
Hello,
I wrote a component and a module.
I would like to bind this module to this component and not to a link of a menu. I can modify the function &_load of the file libraries/joomla/application/module/helper.php but I don't want to modify the heart of jommla.
Thanks
I wrote a component and a module.
I would like to bind this module to this component and not to a link of a menu. I can modify the function &_load of the file libraries/joomla/application/module/helper.php but I don't want to modify the heart of jommla.
Thanks
- Fri Oct 05, 2007 5:06 am
- Forum: Joombie Coding Q/A
- Topic: how to fetch another model inside a view
- Replies: 5
- Views: 985
Re: how to fetch another model inside a view
Hello, The model you use in a view must be registred in the controller. You can see all the available model in the view with this code in the XXXViewXXX class: echo '<pre>'; print_r($this->_models); echo '</pre>'; The controller: class XXXController extends JController { /** * Co...
- Thu Oct 04, 2007 12:06 pm
- Forum: Joombie Coding Q/A
- Topic: how to fetch another model inside a view
- Replies: 5
- Views: 985
Re: how to fetch another model inside a view
Re,
And you don't have any error messages???. Joomla find the class???
sorry but i don't know what you mean when you say
And you don't have any error messages???. Joomla find the class???
sorry but i don't know what you mean when you say
here I'm getting the null pointer
- Thu Oct 04, 2007 11:49 am
- Forum: Joombie Coding Q/A
- Topic: how to fetch another model inside a view
- Replies: 5
- Views: 985
Re: how to fetch another model inside a view
Hi,
where did you put (the folder) your model "adimage"?
where did you put (the folder) your model "adimage"?
- Tue Oct 02, 2007 11:30 am
- Forum: Joombie Coding Q/A
- Topic: What API calls to add upload option?
- Replies: 6
- Views: 1178
Re: What API calls to add upload option?
Hi, I made this to upload txt file for my component. this is the function i wrote, free inspirate by './administrator/components/com_installer/models/install.php'. I think it work for other type of file (png, jpg, ...). To manipulate File and folder, you need to import JFile and JFolder class. I use...