Error when using component tutorial?

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
jesirose
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jan 09, 2008 3:51 pm

Error when using component tutorial?

Post by jesirose » Wed Jan 09, 2008 3:54 pm

I am using the tutorial here:
http://help.joomla.org/content/view/773/125/

I get this error:
Warning: bases::require_once(***/includes/patTemplate/patTemplate.php) [function.bases-require-once]: failed to open stream: No such file or directory in ***/administrator/components/com_bases/admin.bases.html.php on line 25

I can't find this patTemplate folder or files anywhere in joomla. I downloaded 1.5 again to make sure and it is not where the tutorial code indicates it should be. Can someone help me with this?

User avatar
ianmac
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Error when using component tutorial?

Post by ianmac » Wed Jan 09, 2008 4:06 pm

The tutorials on help.joomla.org are for Joomla! 1.0 and are not designed to be used with 1.5.  You should look at the tutorials on dev.joomla.org.

Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!

jesirose
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jan 09, 2008 3:51 pm

Re: Error when using component tutorial?

Post by jesirose » Wed Jan 09, 2008 4:18 pm

Thanks, but where are the tutorials like the one I posted? I see a blog, a wiki, a template tutorial, the API, etc. Where can I find a tutorial for making components in Joomla 1.5? I'd really appreciate a link, I have always found navigating the Joomla docs very confusing. I do development on several other third-party apps and have never had this much trouble finding a tutorial :(

I just need to make something very simple that gets records from a database, displays them in a form, and then updates. If a component isn't what I need that's fine, but I need it to be in the admin area so I can't use the php extensions for articles.

Thanks a ton for any help! :)

User avatar
ianmac
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Error when using component tutorial?

Post by ianmac » Wed Jan 09, 2008 4:59 pm

You click the link for 'Documentation Wiki' which takes you to: http://dev.joomla.org/component/option, ... Itemid,32/

On that page, there is a heading called 'Tutorials' and underneath is a link 'http://dev.joomla.org/component/option, ... omponents/'

The MVC tutorials are most up to date.

We are working on a bit of an overhaul in the next little while once 1.5 gets out the door.

Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!

jesirose
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jan 09, 2008 3:51 pm

Re: Error when using component tutorial?

Post by jesirose » Wed Jan 09, 2008 5:32 pm

Thank You!


Post Reply