Search found 18 matches

by kdevine
Wed Dec 19, 2007 7:20 pm
Forum: Announcements Discussions
Topic: Discuss: Joomla! 1.5 RC4 --- Introducing Karibu
Replies: 51
Views: 19283

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

Excellent news. Congratulations to everyone who has contributed.
by kdevine
Fri Dec 07, 2007 10:21 pm
Forum: Joomla! Coding 101
Topic: Skip Template Rendering
Replies: 9
Views: 1275

Re: Skip Template Rendering

Not the only way but yes I would recommend using the raw format in your case. You only need two things.
1. In the URL linking to this, add "format=raw" as a variable in the URL query
2. Save this view file as view.raw.php

That's it.
by kdevine
Fri Dec 07, 2007 10:07 pm
Forum: Joomla! Coding 101
Topic: Skip Template Rendering
Replies: 9
Views: 1275

Re: Skip Template Rendering

parent::display($tpl) loads the template of your view not the template of your site. If you do not call that display function anywhere in your view Joomla will not render any output from your component but it will still load the template of your site.
by kdevine
Fri Dec 07, 2007 8:29 pm
Forum: Joomla! Coding 101
Topic: Skip Template Rendering
Replies: 9
Views: 1275

Re: Skip Template Rendering

Yes this will keep Joomla from rendering your component output in a template. However the resulting output will not be an actual HTML document either. This will also kill all Joomla processes following the document rendering - caching as well as several other events such as onAfterDispatch and onAft...
by kdevine
Wed Dec 05, 2007 10:10 pm
Forum: Joomla! Coding 101
Topic: Skip Template Rendering
Replies: 9
Views: 1275

Re: Skip Template Rendering

I have found two options: 1. Create a raw view - view.raw.php This will only render out put from your view but will not load any info in the document head. It's a good option for doing anything with Ajax. 2. Add tmpl=component in the URL query This will load head info, along with your template css, ...
by kdevine
Mon Dec 03, 2007 4:15 pm
Forum: Joomla! Coding 101
Topic: jimport('joomla.filter.output'); resulting in Class 'JOutputFilter' not found
Replies: 12
Views: 4064

Re: jimport('joomla.filter.output'); resulting in Class 'JOutputFilter' not foun

You are loading the right file unfortunately you have the wrong class name in your code. The class name is JFliterOutput.
by kdevine
Mon Dec 03, 2007 2:21 pm
Forum: Joomla! Coding 101
Topic: Database errors when following a tutorial.
Replies: 6
Views: 923

Re: Database errors when following a tutorial.

You can keep the file named reviews.php if you want but then you have to change the classname to TableReviews and the JTable::getInstance needs to call Reviews.
by kdevine
Mon Dec 03, 2007 2:09 pm
Forum: Joomla! Coding 101
Topic: Database errors when following a tutorial.
Replies: 6
Views: 923

Re: Database errors when following a tutorial.

echo that path in your code and check if it's right. One reason it could be wrong is that the file your trying to set the path with is in administrator/components/com_component but the table directory is in components/com_component. One other reason for this error is that you don't actually have a f...
by kdevine
Mon Dec 03, 2007 1:55 pm
Forum: Joomla! Coding 101
Topic: Database errors when following a tutorial.
Replies: 6
Views: 923

Re: Database errors when following a tutorial.

The path to your tables directory isn't correct so JTable isn't able to find the file for your review table.
by kdevine
Sat Dec 01, 2007 4:12 pm
Forum: Joomla! Coding 101
Topic: Joomla session and how it works
Replies: 2
Views: 1021

Re: Joomla session and how it works

Joomla 1.5 uses a normal PHP session but uses objects within its own framework to work with it.

Check out libraries/joomla/session/session.php
by kdevine
Sat Dec 01, 2007 1:49 pm
Forum: Joomla! Coding 101
Topic: About JPGraph
Replies: 1
Views: 466

Re: About JPGraph

You need to be much more specific with your question.
By JPGraph do you mean just the library http://www.aditus.nu/jpgraph/ or do you mean the third party extension http://extensions.joomla.org/component/ ... Itemid,35/

What exactly do you need help with? Is there something you are trying to do that isn't working?
by kdevine
Wed Nov 28, 2007 5:16 pm
Forum: Joomla! Coding 101
Topic: Autenticate against another Joomla install?
Replies: 2
Views: 708

Re: 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 kdevine
Wed Nov 21, 2007 4:40 am
Forum: Joomla! Coding 101
Topic: Assign Template?
Replies: 2
Views: 710

Re: Assign Template?

I think this would be possible with a system plugin. Use the setTemplate method of $mainframe inside a onAfterInitialise method of the system plugin you create. For reference, check out plugins/system/remember.php to learn how to create the plugin and includes/application.php to learn how to set a t...
by kdevine
Tue Nov 20, 2007 3:53 pm
Forum: Joomla! Coding 101
Topic: Access Levels
Replies: 3
Views: 921

Re: Access Levels

I'm not much with DB stuff and I haven't played around much with Joomla's acl but I do know the left right values in a DB table are used to create a tree structure, in this case it's a nested set model. The purpose would be for heirarchy, so where ever the record falls in the tree structure would di...
by kdevine
Mon Nov 19, 2007 2:39 pm
Forum: Joomla! Coding 101
Topic: how to block registration from personal emails: gmail, hotmail, etc. ?
Replies: 4
Views: 906

Re: how to block registration from personal emails: gmail, hotmail, etc. ?

I don't think this would work...
if (form.email.value != "gmail")

Even if they provided a gmail address it would still return false. You need a regex check for gmail.
by kdevine
Mon Nov 19, 2007 1:51 pm
Forum: Joomla! Coding 101
Topic: how to block registration from personal emails: gmail, hotmail, etc. ?
Replies: 4
Views: 906

Re: how to block registration from personal emails: gmail, hotmail, etc. ?

This should be fairly easy for J! 1.5

You would need a User plugin with a onBeforeStoreUser method to validate the email address. Check out the example plugin in plugins/user and this tutorial will help as well...

http://forum.joomla.org/index.php?topic=233628

If this is for 1.0.x I'm afraid I don't have any ideas.
by kdevine
Sat Sep 15, 2007 4:21 am
Forum: Joombie Think Tank
Topic: Starting coders wanted, new Joomla! project.
Replies: 30
Views: 10245

Re: Starting coders wanted, new Joomla! project.

Man, where have I been for the past few days I would have loved to work on a tagging extension? Oh well. Can I get on the waiting list?
by kdevine
Fri Aug 24, 2007 9:52 pm
Forum: Joombie Coding Q/A
Topic: Installation of required custom classes
Replies: 1
Views: 593

Re: Installation of required custom classes

If your custom component requires it's own library I would recommend storing the library in only one location. Either in the frontend or in the administrator is up to you but I would recommend storing your library in administrator -> components -> com_yourcomponent -> libraries You would then import...