-
AuthorPosts
-
toymaker Friend
toymaker
- Join date:
- April 2010
- Posts:
- 123
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 10
- Thanked:
- 45 times in 32 posts
April 27, 2010 at 2:27 am #150665Ok.. so besides introducing myself, and this being my first post, I just want to thank all that great effort behind building such great templates and tools. You guys rock! 🙂 Thanks!! Honestly.
Sooo… im not new to Joomla but have been playing around with the new T3 framework and today, while deciding to go in a little further on the customizing of purity ii, I realized that there’s an error, or what I really, really think is an error on the examples provided in the following FAQs page:
http://wiki.joomlart.com/wiki/JA_Template_Framework/FAQsIn the “Creating new module positions” section, there’s a nice explanation of how you can create new module positions using the classic way…. nothing wrong with that… BUT…
when you get to the new T3 way, it seems that two different approaches are mixed up together in an example that does not really work as intended.What I understand is that if you want to create a new position using the NEW T3 WAY, you can do the following:
- Add the position name inside the “positions” Array
- Add the position name to the template xml file
- Add a module to that position using the Joomla admin interface.
… and BAM! you’ve got a perfectly nice module placed inside your new purity ii template.
What you can ALSO do… is add a new position AND A NEW BLOCK altogether doing the following:
- Create a new file called product.php inside the layouts/blocks folder (this is your new block)
- Place some nice layout divs inside your new product block file
- Add a call for a new position using the getPositionName function.
- On the parent layout page add a NEW entry like so ‘product’ =>’new-products’ inside the positions array
- Add the position name “new-products’ to the template xml file
- Add modules to the newly created position.
I think that the author was trying to describe one of this two procedures, but ended up doing something completely different…
What the example really does is create a new block, call it from inside the layout “the classic way” and then activate a new product position inside ‘content-mass-bottom’ which will end up being empty, as the user is placing the virtuemart modules inside the ‘featured-products’ and the ‘new-products’ positions.Yes.. i know.. my explaining skills suck :D, but still… I guess you’ll get the picture. 😎
Peace
Gabriel1 user says Thank You to toymaker for this useful post
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
May 2, 2010 at 7:32 am #342328Thanks Gabriel,
have flagged it to the writer of the Wiki. He may reply back to you.
Thanks again for sparing time to testing out the Purity II, besides, I like your home page very much. Hard to believe what you did to JA Purity II.
Regards
Arvind
1 user says Thank You to Arvind Chauhan for this useful post
korb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
May 2, 2010 at 12:10 pm #342343<em>@toymaker 176245 wrote:</em><blockquote>Ok.. so besides introducing myself, and this being my first post, I just want to thank all that great effort behind building such great templates and tools. You guys rock! 🙂 Thanks!! Honestly.
Sooo… im not new to Joomla but have been playing around with the new T3 framework and today, while deciding to go in a little further on the customizing of purity ii, I realized that there’s an error, or what I really, really think is an error on the examples provided in the following FAQs page:
http://wiki.joomlart.com/wiki/JA_Template_Framework/FAQsIn the “Creating new module positions” section, there’s a nice explanation of how you can create new module positions using the classic way…. nothing wrong with that… BUT…
when you get to the new T3 way, it seems that two different approaches are mixed up together in an example that does not really work as intended.What I understand is that if you want to create a new position using the NEW T3 WAY, you can do the following:
- Add the position name inside the “positions” Array
- Add the position name to the template xml file
- Add a module to that position using the Joomla admin interface.
… and BAM! you’ve got a perfectly nice module placed inside your new purity ii template.
What you can ALSO do… is add a new position AND A NEW BLOCK altogether doing the following:
- Create a new file called product.php inside the layouts/blocks folder (this is your new block)
- Place some nice layout divs inside your new product block file
- Add a call for a new position using the getPositionName function.
- On the parent layout page add a NEW entry like so ‘product’ =>’new-products’ inside the positions array
- Add the position name “new-products’ to the template xml file
- Add modules to the newly created position.
I think that the author was trying to describe one of this two procedures, but ended up doing something completely different…
What the example really does is create a new block, call it from inside the layout “the classic way” and then activate a new product position inside ‘content-mass-bottom’ which will end up being empty, as the user is placing the virtuemart modules inside the ‘featured-products’ and the ‘new-products’ positions.Yes.. i know.. my explaining skills suck :D, but still… I guess you’ll get the picture. 😎
Peace
Gabriel</blockquote>Hi Gabriel,
Thanks for your feedback! You really explained the problem well, and the solution too! The wiki documentation, and especially that part, was written in the early period of T3 Framework development. There are a lot of code improvements since that period so it was expected things would behave different in future versions.
Mate, at that time, the T3 way worked for me on a php 5.3.0 and 5.2.6 server Joomla! 1.5.14 JA Purity II versions 1.0-1.1. Since that section have been finished, only spelling and a few images have been updated. New projects came into the planning so T3 wiki projects were “complete”. Nobody reported issues regarding those pages till now, so you are the first! 🙂
I would like to have more friends to test all the wiki tutorials we write so I thank you for your feedback. You are very welcome to post suggestions and issues regarding the wiki pages.
Please contact me privately, maybe we can get together and rewrite that part someday, as I must admit I am a little left behind because other projects.
Best Regards,
Dannytoymaker Friendtoymaker
- Join date:
- April 2010
- Posts:
- 123
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 10
- Thanked:
- 45 times in 32 posts
May 3, 2010 at 2:32 pm #342486Thanks drarvindc. I really have more plans for my web page though… but you know how this works: You always have time to build other web pages, but never to build your own 😀
<em>@korb 177026 wrote:</em><blockquote>Hi Gabriel,
Thanks for your feedback! You really explained the problem well, and the solution too! The wiki documentation, and especially that part, was written in the early period of T3 Framework development. There are a lot of code improvements since that period so it was expected things would behave different in future versions.
Mate, at that time, the T3 way worked for me on a php 5.3.0 and 5.2.6 server Joomla! 1.5.14 JA Purity II versions 1.0-1.1. Since that section have been finished, only spelling and a few images have been updated. New projects came into the planning so T3 wiki projects were “complete”. Nobody reported issues regarding those pages till now, so you are the first! 🙂
I would like to have more friends to test all the wiki tutorials we write so I thank you for your feedback. You are very welcome to post suggestions and issues regarding the wiki pages.
Please contact me privately, maybe we can get together and rewrite that part someday, as I must admit I am a little left behind because other projects.
Best Regards,
Danny</blockquote>Danny,
I really appreciate your comments! I’m usually with a ton of work, but I really enjoy helping in this kind of stuff… so COUNT ME ON!
This is so much fun for me and I really believe that explaining things to others is always the best way to master it yourself.PM on the way… 🙂
Peace,
Gabriel -
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by toymaker 14 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum