Forums / Developer / add tabber functionality
Dhaval Patel
Thursday 10 January 2008 3:13:37 am
hello all,
i want to add tabber functionality like http://www.barelyfitz.com/projects/tabber/
so what do i do?
should i create new datatype or something else?
and if i create new datatype based on matrix datatype then i want to add textarea instead of text box. currently it is creating text boxes at creation/edition time of article in matrix datatype attribute , but i want to create textarea. and i don't know where to change code in ezmatrix datatype files to create textarea.
please help me.
With Best Regards, Dhaval Patel Team Leader - iNETProcess(I) Pvt. LTD. [email protected] Ph No: +91 79 65 12 35 00 http://www.inetprocess.co.in
Heath
Thursday 10 January 2008 3:29:33 am
Neat idea Dhaval!
Where and how do you want to use these features?
Cheers,Heath
Brookins Consulting | http://brookinsconsulting.com/ Certified | http://auth.ez.no/certification/verify/380350 Solutions | http://projects.ez.no/users/community/brookins_consulting eZpedia community documentation project | http://ezpedia.org
Thursday 10 January 2008 3:40:24 am
hi
thank you for replying
now i have created 1 class named "article_solution".
I want the tabber functionality in the full view of the article of type "article_solution".
and i have different data for different "article_solution" articles.
and if u want more details then plz tell me.
i m using 3.9 version.
Thursday 10 January 2008 4:00:35 am
Sounds like you would like to create a template override of (at least) the user site article template, ie: <i>full/article.tpl</i>
You may wish to also customize the article class to provide for multiple xmlblocks for each page within a single content object.
Here are two similar topics (but with different solutions not related directly to the idea shared above). [1] http://ez.no/developer/articles/building_a_custom_template_for_a_news_portal/news_article_view_modes[2] http://ez.no/ezpublish/documentation/customization/tips_tricks/splitting_an_article_over_several_pages
Piotrek KaraĆ
Thursday 10 January 2008 1:20:09 pm
One idea that comes to my mind is a custom datatype with dynamically-extensible architecture (similar to ezauthor, for example), that can store pairs of node id and attribute identifier. Then attribute view gui for this datatype would automatically fetch proper node attributes and create tab's hypertext/javascript. Seems to me that it could be fully automatic and useful for tabbing documents scattered around the structure. I may actually put this into an extension, if I have a 'minute' some time this year... ;)
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu