Search found 39 matches
- Thu Feb 21, 2008 3:29 am
- Forum: Joombie Coding Q/A
- Topic: MVC: Calling a model from a view
- Replies: 2
- Views: 391
Re: MVC: Calling a model from a view
At the end of (my) day I found a (temporary) solution which keeps me going until someone explains to me how to do it better: Instead of messing around with the default function I know got my controller executing the right function. I did this with the following peace of code in my main component fil...
- Thu Feb 21, 2008 2:37 am
- Forum: Joombie Coding Q/A
- Topic: MVC: Calling a model from a view
- Replies: 2
- Views: 391
Re: MVC: Calling a model from a view
...hmmm. Well, I got it going, but it simply feels wrong :-( I went back to the controller and added the model that I needed in my login view to the 'display'(!) function. Even though that does not seem to me to be logical it does the trick. argh - lots and lots of confusion at the end of a long day...
- Thu Feb 21, 2008 12:14 am
- Forum: Joombie Coding Q/A
- Topic: MVC: Calling a model from a view
- Replies: 2
- Views: 391
MVC: Calling a model from a view
Hi, What I trying to do: I created a login view which the user access by clicking on a link on my navigation bar. The link I created using the joomla administration site (see attached image). Joomla creates a link which points directly to the view and NOT to the controller. The below code now tries ...
- Sun Feb 17, 2008 7:40 pm
- Forum: Joombie Coding Q/A
- Topic: How to set default component?
- Replies: 2
- Views: 479
Re: How to set default component?
Hi Denise,
Thanks a lot for your reply. That is so simple that I am nearly embarrassed not to have worked that one out myself . I was thinking way to complicated,
Thanks again,
Uwe
Thanks a lot for your reply. That is so simple that I am nearly embarrassed not to have worked that one out myself . I was thinking way to complicated,
Thanks again,
Uwe
- Fri Feb 15, 2008 1:56 am
- Forum: Joombie Coding Q/A
- Topic: How to set default component?
- Replies: 2
- Views: 479
How to set default component?
Hi,
I was wondering whether it is possible to change the default component that Joomla uses straight after it starts up. Normally that is 'com_content'. I would like to change Joomla to use my component instead.
Is that possible?
Thanks,
Uwe
I was wondering whether it is possible to change the default component that Joomla uses straight after it starts up. Normally that is 'com_content'. I would like to change Joomla to use my component instead.
Is that possible?
Thanks,
Uwe
- Thu Dec 13, 2007 2:38 am
- Forum: Joombie Coding Q/A
- Topic: main menu: two-line menu item?
- Replies: 2
- Views: 603
Re: main menu: two-line menu item?
Hi Bill,
I personally believe that the best way to achieve that is create your on module for that navigation bar. That way you have the control over that part of your markup.
Cheers,
Uwe
I personally believe that the best way to achieve that is create your on module for that navigation bar. That way you have the control over that part of your markup.
Cheers,
Uwe
- Thu Dec 13, 2007 2:32 am
- Forum: Joombie Coding Q/A
- Topic: New to Joomla. Learn 1.0.13 or 1.5?
- Replies: 6
- Views: 964
Re: New to Joomla. Learn 1.0.13 or 1.5?
Hi,
I can only say go for 1.5. It is pretty reliable. I have not experienced anything so far stopping me being enthusiastic for Joomla 1.5. Why spending time on 'yesterdays' technology?
Cheers,
Uwe
I can only say go for 1.5. It is pretty reliable. I have not experienced anything so far stopping me being enthusiastic for Joomla 1.5. Why spending time on 'yesterdays' technology?
Cheers,
Uwe
- Thu Dec 13, 2007 2:30 am
- Forum: Joombie Coding Q/A
- Topic: Demo Component: Open for Discussion
- Replies: 3
- Views: 920
Re: Demo Component: Open for Discussion
Hi,
Feel free to add a link pointing to my site...
I have not done any work on that tutorial for a long time now. I am currently working on a new project which I will document in a more structured way.
Cheers,
Uwe
Feel free to add a link pointing to my site...
I have not done any work on that tutorial for a long time now. I am currently working on a new project which I will document in a more structured way.
Cheers,
Uwe
- Sun Sep 16, 2007 8:50 pm
- Forum: Joombie Coding Q/A
- Topic: showCalendar is not defined
- Replies: 3
- Views: 893
Re: showCalendar is not defined
Hi mtlNews, Your solution did not work for me as I ran into the same problem. But I compared the JS includes in the admin area and the front page where I tried to use the calender. One libraries is missing on the front end - don't ask me why... Anyway: I added the following lines and everything seem...
- Sun Sep 16, 2007 6:06 am
- Forum: Joombie Coding Q/A
- Topic: showCalendar is not defined
- Replies: 3
- Views: 893
Re: showCalendar is not defined
Hi mtlnews,
Thanks for that! I will try it at work tomorrow. Thanks a lot for your help,
Uwe
Thanks for that! I will try it at work tomorrow. Thanks a lot for your help,
Uwe
- Fri Sep 14, 2007 3:05 am
- Forum: Joombie Coding Q/A
- Topic: showCalendar is not defined
- Replies: 3
- Views: 893
showCalendar is not defined
Hi, I try to use the Java Script showCalender() function on the front end. This works fine on the back end <?php JHTML::_('behavior.calendar'); ?> <input type="text" class="inputDate" id="dateFieldXYZ" /><input type="reset" value="..." onclick="return showCalendar('dateFieldXYZ','d-mm-yy...
- Wed Sep 12, 2007 9:43 pm
- Forum: Joombie Coding Q/A
- Topic: Demo Component: Open for Discussion
- Replies: 3
- Views: 920
Demo Component: Open for Discussion
Hi Guys, I wrote this demo component a little while ago. The component is called 'messagboard' and offers the user to leave a message which gets stored in the table 'jos_messageboard'. The intention is a) to show a working example of a small component so that other 'Joombies' have a starting point t...
- Wed Sep 12, 2007 1:55 am
- Forum: Joombie Coding Q/A
- Topic: How to set $task in new menu items
- Replies: 2
- Views: 864
Re: How to set $task in new menu items
Sorry for reacting so late, and thanks for your help,
I simply missed that posts
Uwe
I simply missed that posts
Uwe
- Wed Sep 12, 2007 1:11 am
- Forum: Joombie Coding Q/A
- Topic: Component XML Installation Problem
- Replies: 2
- Views: 738
Re: Component XML Installation Problem
No - But I have meanwhile rewritten the silly thing and surprise it works. It told me that everything was fine, but the data bas table was not created. Anyway here is my new xml file and suddenly everything is fine. One of those things I guess... <?xml version="1.0" encoding="utf-8"?> <!DOCTYP...
- Tue Sep 11, 2007 11:53 pm
- Forum: Joombie Coding Q/A
- Topic: Component XML Installation Problem
- Replies: 2
- Views: 738
Component XML Installation Problem
Hi, Can anyone see from this xml file below, why the joomla installer doesn't execute my SQL file? I can install my little demo component, but the tables are not being created. Have I missed something in the xml? <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE install SYSTEM "http://dev.joomla.org/...
- Tue Sep 11, 2007 7:48 pm
- Forum: Joombie Coding Q/A
- Topic: XML parameters for views
- Replies: 2
- Views: 685
Re: XML parameters for views
Thanks for that, that's excellent.
- Sun Sep 09, 2007 4:24 am
- Forum: Joombie Coding Q/A
- Topic: List Active Users - horizontally
- Replies: 2
- Views: 717
Re: List Active Users - horizontally
I believe that you should specify your question a bit. What kind of answer do you expect?
- Fri Sep 07, 2007 2:28 am
- Forum: Joombie Coding Q/A
- Topic: Model View Controller
- Replies: 2
- Views: 763
Model View Controller
Hi, Took me long enough to understand - here is a little diagram explaining how I think the model view controller works. (please correct me if you think that I am wrong!!) Most of the components that I have found in Joomla! have static views as 'entry points' to the component. They have no model and...
- Mon Sep 03, 2007 12:12 am
- Forum: Joombie Coding Q/A
- Topic: How to set $task in new menu items
- Replies: 2
- Views: 864
How to set $task in new menu items
OK, and another question more or less in the same direction: I try to add a link to he main menu using the add menu item dialog. This link supposed to point to the create view of of my component xyz. The problem that I have that this link does say anything about the task my component is supposed to ...
- Sun Sep 02, 2007 11:57 pm
- Forum: Joombie Coding Q/A
- Topic: XML parameters for views
- Replies: 2
- Views: 685
XML parameters for views
Hi all, And another question with regards to views: With a view usually comes an xml file which describes the view, It has the name of the view (obviously with xml as extension). It pretty much looks like that: <?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="Create Objects"> <messag...
- Sun Sep 02, 2007 11:24 pm
- Forum: Joombie Coding Q/A
- Topic: Add Menu Item
- Replies: 0
- Views: 431
Add Menu Item
Hi, hmm, that's gonna be difficult to describe but here we go: I created a component 'xyz'. This component is developed using the Model View Controller concept. Going to the menu manger to add a new Link to my component onto the main navigation bar the 'Add Menu Item' dialog lists my component as ex...
- Wed Aug 29, 2007 11:56 pm
- Forum: Joombie Coding Q/A
- Topic: Packing Component up into zip file
- Replies: 2
- Views: 625
Re: Packing Component up into zip file
I had a look at the discussion- see it is still an ongoing process,
Thanks for pointing that out
Cheers,
Uwe
Thanks for pointing that out
Cheers,
Uwe
- Wed Aug 29, 2007 10:01 pm
- Forum: Joombie Coding Q/A
- Topic: Packing Component up into zip file
- Replies: 2
- Views: 625
Packing Component up into zip file
Hi, Just a short question: I created the ZIP packages of my component, my modules and my plugins last night. Is there any way that I can now put these zip archives together into one big package? In the end I would like the user to be able to install everything in one go and not installing every pack...
- Wed Aug 29, 2007 4:53 am
- Forum: Joombie Coding Q/A
- Topic: Plugin development
- Replies: 16
- Views: 2276
Re: Plugin development
One last word on this topic: I put my experience with plugins in a little blog http://www.uwe-duesing.com/index.php/joomla-blog. Might be helpful to others, cheers, Uwe
- Wed Aug 29, 2007 2:06 am
- Forum: Joombie Coding Q/A
- Topic: Plugin development
- Replies: 16
- Views: 2276
Re: Plugin development
Ian, I am very pleased to say: I am there - finally. The last bit of my trip around and around the biock was especially stupid: I just forgot to enable the plugin in the end. Was a long day after all, Thanks a lot for your help, what a great situation to have you reading and writing(!) within ...
- Wed Aug 29, 2007 1:54 am
- Forum: Joombie Coding Q/A
- Topic: Events and Modules
- Replies: 5
- Views: 963
Re: Events and Modules
Thanks for that very detailed explanation Ian,
yes that answers my question,
Cheers,
uwe
yes that answers my question,
Cheers,
uwe
- Wed Aug 29, 2007 1:47 am
- Forum: Joombie Coding Q/A
- Topic: Plugin development
- Replies: 16
- Views: 2276
Re: Plugin development
Hi Ian, Thanks for your help mate, but still no go. My XML file looks like that <?xml version="1.0" encoding="iso-8859-1"?> <install version="1.5" type="plugin" group="search"> <name>object Search</name> <author>Uwe </author> <creationDate>August 2007</creat...
- Tue Aug 28, 2007 11:45 pm
- Forum: Joombie Coding Q/A
- Topic: Plugin development
- Replies: 16
- Views: 2276
Re: Plugin development
Hi ianmac, That brings me back to my start of this long journey : I just can not make it work that way. Have a look at that code, maybe you know whhy. This plugin listens for the same event; <?php defined('_JEXEC') or die(); jimport('joomla.event.plugin'); class plgSearchBar extends JPlugin{ v...
- Tue Aug 28, 2007 11:37 pm
- Forum: Joombie Coding Q/A
- Topic: Events and Modules
- Replies: 5
- Views: 963
Re: Events and Modules
Hi Ian, I am simply struggling with understanding the joomla! framework properly. You see, what I am trying to do is. 1. My component performs a search. 2. My module presents the user with a navigation bar to navigate through the search result. To do this (I believe) I need to create an event, and s...
- Tue Aug 28, 2007 10:12 pm
- Forum: Joombie Coding Q/A
- Topic: Plugin development
- Replies: 16
- Views: 2276
Re: Plugin development
well, well I certainly have found some answers to my own very questions from the beginning of $this->post. If they are right answers... who knows ;) (anyone?). -> how to trigger an event -> how to register an event / how to code a plugin which reacts to an event -> how to code a plugin which r...