Search found 12 matches

by deepthoughts
Tue Mar 04, 2008 6:30 pm
Forum: Joombie Coding Q/A
Topic: J1.5 Component, different view but the same menu option?
Replies: 1
Views: 2087

J1.5 Component, different view but the same menu option?

I seem to be missing something very important when developing my components. For instance I've created a simple event-calendar and when logged in you have the possibility to add items to the calender by clicking a link. This link goes to the same component but with a different view passed (&view...
by deepthoughts
Sat Feb 23, 2008 10:01 am
Forum: Joombie Coding Q/A
Topic: Plugin - Intercept and abort user creation?
Replies: 0
Views: 477

Plugin - Intercept and abort user creation?

I'm writing my first plugin and it is an emaildomain blocker. The idea came to me after realizing that you can authenticate with a Google Apps account and it would be cool to have a portal where everyone from a certain domain can login but no one else. (Apparently other people is interested in a sim...
by deepthoughts
Mon Jan 14, 2008 11:05 pm
Forum: Joombie Coding Q/A
Topic: Save function and SEF-urls
Replies: 0
Views: 503

Save function and SEF-urls

I'm having some serious troubles... I've created a component that registered user can submit inforation to from the frontend. This works fine and dandy when SEF is not turned on but as soon as I turn it on I get: 500 - View not found At the bottom it says: View not found [name, type, prefix]: frontp...
by deepthoughts
Sun Jan 06, 2008 10:20 pm
Forum: Joombie Coding Q/A
Topic: [SOLVED] Saving data from the frontend
Replies: 1
Views: 628

Re: Saving data from the frontend

Case closed. Idiot behind the wheels. I'm using a template developed by myself and I was dead sure that I had included <jdoc:include type="message" /> but when I took a closer look I discovered that I hadn't. So I included it in the template and then discovered that there was an extra fiel...
by deepthoughts
Tue Jan 01, 2008 7:46 pm
Forum: Joombie Coding Q/A
Topic: [SOLVED] Saving data from the frontend
Replies: 1
Views: 628

[SOLVED] Saving data from the frontend

I'm coding a component to display a simple list of events and I've hit a roadblock. I need to make it possible to add events from the frontend but when trying to save an event it throws me an 403-forbidden when the form action is set to "index.php?option=com_callisto". Forbidden You don't ...
by deepthoughts
Thu Nov 29, 2007 1:19 pm
Forum: Joombie Coding Q/A
Topic: Secure/validate input and output?
Replies: 0
Views: 545

Secure/validate input and output?

I've started coding a simple calendar but there are some things missing. Since Joomla only is as strong as it's weakest component I really need to secure this thing 1. I need to validate that user has entered something/correct things in the fields that are required before submitting it and give the ...
by deepthoughts
Thu Nov 29, 2007 8:58 am
Forum: Joomla! Coding 101
Topic: Autenticate against another Joomla install?
Replies: 2
Views: 883

Re: Autenticate against another Joomla install?

Yes you can build an authentication plugin so that your users can login to your Joomla sub-sites using their account details from your main Joomla site. Your users would only have to register in one place and use the account on all your Joomla sites. That's good and I sorta suspected that, I just w...
by deepthoughts
Tue Nov 20, 2007 2:04 pm
Forum: Joomla! Coding 101
Topic: Autenticate against another Joomla install?
Replies: 2
Views: 883

Autenticate against another Joomla install?

Now that Joomla 1.5 has the wonderful plugin architecture wouldn't it be possible to create a plugin (or a set of plugins) that authenticates against another Joomla installation? The ideal situation would be that you could turn of user registration on all sites except the "master site" and yet have ...
by deepthoughts
Sat Oct 06, 2007 11:50 pm
Forum: Joombie Coding Q/A
Topic: PDF Icon
Replies: 9
Views: 2071

Re: PDF Icon

I just tried the PDF function in Joomla 1.5 to see if I remembered correctly and yes I did. The PDF function in J!1.5 doesn't display just text, it displays images too.
by deepthoughts
Mon Sep 24, 2007 2:18 pm
Forum: Joombie Coding Q/A
Topic: ACL in custom component? (J!1.5 MVC)
Replies: 3
Views: 1240

Re: ACL in custom component? (J!1.5 MVC)

After trying out this for a little while I've concluded that a combination is the best.

One check to see if the link should be displayed or not in the view and then one check in the controll to see if the customer has permission to view the page.
by deepthoughts
Sun Sep 23, 2007 11:54 am
Forum: Joombie Coding Q/A
Topic: ACL in custom component? (J!1.5 MVC)
Replies: 3
Views: 1240

Re: ACL in custom component? (J!1.5 MVC)

Yeah, it helped. :)

Since I'm not implementing any advanced ACL, just a check to see if people is logged in, I choose to put it in the controller as you suggested. Seems to work mighty fine. :)

Many thanks.
by deepthoughts
Sat Sep 22, 2007 8:55 pm
Forum: Joombie Coding Q/A
Topic: ACL in custom component? (J!1.5 MVC)
Replies: 3
Views: 1240

ACL in custom component? (J!1.5 MVC)

Thanks to the Hello World MVC tutorial and the demo component by uweD I have managed to start programing my simple eventlist. I've come so far that it displays the data from the database and I have a working solution to add data to the database. Now that I've come this far I would like to add some p...