Conditionals - Joomla 1.0.12 and patTemplates

A general technical discussion area for patTemplate.
Locked
User avatar
romina
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sat May 05, 2007 5:59 am
Location: Rosario, Argentina

Conditionals - Joomla 1.0.12 and patTemplates

Post by romina » Sun May 06, 2007 7:44 am

Hi.

I'm using Joomla 1.0.12 to develop a component. I believe (mainly due to the code that says /includes/patTemplate/patTemplate.php), that I'm using patTemplate. I have read somewhere that this version of patTemplate was specifically developed for Joomla.

However, I couldn't find documentation about it. Right now, I am in need of basically is a template functionality (well, 2 actually), that I don't know if they are available or not (as I said before, because I couldn't find any information).

1. Conditional statements
2. Loops

Do you know if in the Joomla 1.0.12 version of patTemplates this two features are included? If so, could you please point me to a website that explains or at least contains some documentation about it?

Thanks a lot in advance

dynedain
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 200
Joined: Wed Aug 24, 2005 7:20 pm
Location: Los Angeles
Contact:

Re: Conditionals - Joomla 1.0.12 and patTemplates

Post by dynedain » Mon May 07, 2007 5:00 pm

This should get you up and running:

http://trac.php-tools.net/patTemplate/wiki/Docs

The latest patTemplate is 3.1.0b2 but I think 3.0 is what is included in Joomla... I'm not sure what the differences are.

Unfortunately, patTemplate is deprecated, which means it is planned to be removed in a future (as of yet undetermined) release of Joomla.

Joomla 1.5 will definitely have patTemplate included, but beyond that is uncertain.

That said, components developed for 1.0.12 should work fine on 1.5 (at least with the legacy plugin enabled) but now would be a good chance for you to learn how to develop components for 1.5. You may want to build 2 versions of your component. One for 1.0.12 utilizing patTemplate if you really need it, and one for 1.5 utilizing the new Model View Controller framework.

User avatar
romina
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sat May 05, 2007 5:59 am
Location: Rosario, Argentina

Re: Conditionals - Joomla 1.0.12 and patTemplates

Post by romina » Mon May 07, 2007 11:34 pm

Thank you very much! I wasn't expecting an answer! :D

I defenitely want to learn how to develop for 1.5, for now the proyect I'm working on requires 1.0.12 but thank you for all the information. I wasn't aware about those changes, but then of course... I've been involved with Joomla for only 2 weeks.

Well, thanks again!


Locked

Return to “patTemplate”