-- SUMMARY --
The jqueryui formatters module provides a suite of new display formatters to apply to your fields.
Three new formatters are provided (Dialog, Accordion and Tabs) to 'text', 'text_long' and 'text_with_summary' field types.
Although Accordion and tabs are available for single value fields, They usually become more interesting for multiple value fields.
https://drupal.org/sandbox/Enxebre/2097961
-- REQUIREMENTS --
Drupal 7.x
-- INSTALLATION --
* Install as usual.
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Enxebre/2097961.git jqueryui_formatters
-- CONFIGURATION --
* Configure the way you want to show your fields in
admin/structure/types/manage/your-content-type/display
if there is any field of type 'text', 'text_long' and 'text_with_summary' you will be able to choose three new options in the formatter section (Dialog, Accordion or Tabs)
* When you choose one of the new formatters you will be able to manage some
settings for display custmization
-- CONTACT --
Current maintainers:
* Alberto García Lamela (Enxebre) - drupal.org/user/1205082
-- NOTE --
Similar modules and main points:
Field formater conditions - https://drupal.org/project/ffc
Custom formatters - https://drupal.org/project/custom_formatters
Reviews of other projects:
https://drupal.org/node/2085833#comment-7902871
https://drupal.org/node/2097475#comment-7901629
https://drupal.org/node/2086333#comment-7909271
https://drupal.org/node/2096821#comment-7909701
https://drupal.org/node/1971496#comment-7909805
https://drupal.org/node/2061357#comment-7918455
https://drupal.org/node/2086333#comment-7922027
https://drupal.org/node/2098719#comment-7930209
More reviews:
https://drupal.org/node/2104683#comment-7939887
https://drupal.org/node/2075353#comment-7939971
https://drupal.org/node/2087221#comment-7940107
https://drupal.org/node/2084467#comment-7940265
https://drupal.org/node/2106629#comment-7946319
Comment | File | Size | Author |
---|---|---|---|
#7 | tabs.png | 29.07 KB | willyk |
jqueryui_formatters_demo.png | 171.91 KB | Enxebre | |
jqueryui_formatters_setttings.png | 101.34 KB | Enxebre |
Comments
Comment #0.0
Enxebre CreditAttribution: Enxebre commentedindenting text
Comment #1
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #1.0
PA robot CreditAttribution: PA robot commentedcleaning text
Comment #1.1
Enxebre CreditAttribution: Enxebre commentedinstall link
Comment #1.2
Enxebre CreditAttribution: Enxebre commenteddownload url
Comment #1.3
Enxebre CreditAttribution: Enxebre commentedadding reviews
Comment #1.4
Enxebre CreditAttribution: Enxebre commentedadding reviews
Comment #2
Enxebre CreditAttribution: Enxebre commentedreview bonus
Comment #3
rameshrasaiyan CreditAttribution: rameshrasaiyan commentedHi Enxebre,
I manually reviewed your module code and found the following minor things.
You have used anchor tag and ordered list tag in the inc file, you should use the drupal API l() and theme('item_list', array(), array()) function.
Thanks,
Ramesh
Comment #4
Enxebre CreditAttribution: Enxebre commentedHi,
I agree with you there is no reason for do not make use of Drupal API in this case. Changed.
Thank you!!
Regards.
Comment #4.0
Enxebre CreditAttribution: Enxebre commentedmore reviews
Comment #5
willyk CreditAttribution: willyk commentedThe Coder module indicates that on Line 319 of jqueryui_formatters.field.inc:
When I install the module and run it, I get the following error:
Any suggestions for how to try and resolve that?
Comment #6
Enxebre CreditAttribution: Enxebre commentedHi,
sorry!! I forgot to add the entity API dependency to the .info file. Fixed.
Thank you willyk.
Regards.
Comment #6.0
Enxebre CreditAttribution: Enxebre commentedmore reviews
Comment #7
willyk CreditAttribution: willyk commentedThat resolved that issue. I was able to test it and it works ok; although unfortunately when you select the "Tabs" option in manage display is also uses jquery UI on the edit tabs for the node (see attached screenshot. I'm guessing that's unintended and suggest trying to narrow down your code that it's not rendering on these tabs. This looks like a pretty handy module, looking forward to seeing it come to life!
Comment #8
Enxebre CreditAttribution: Enxebre commentedHi,
thank you very much for the inspection willyk!
I´ve narrowed down js behaviour to the ".jqueryui-formatters" class.
Regards!!
Comment #8.0
Enxebre CreditAttribution: Enxebre commentedadding review
Comment #9
klausiThanks you for your reviews. When finishing your review comment also set the issue status either to "needs work" (you found some problems with the project) or "reviewed & tested by the community" (you found no major flaws).
There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Review of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
But otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to stBorchert as he might be able to take a final look at this.
Comment #10
klausiTrying to remove tag again.
Comment #11
Enxebre CreditAttribution: Enxebre commentedHi,
master branch removed.
#attached property is now used instead of drupal_add_* functions.
Thank you very much for your time.
Regards!
Comment #11.0
Enxebre CreditAttribution: Enxebre commentedadding review
Comment #11.1
Enxebre CreditAttribution: Enxebre commentedadding more reviews
Comment #11.2
Enxebre CreditAttribution: Enxebre commentedMore reviews
Comment #11.3
Enxebre CreditAttribution: Enxebre commentedMore reviews
Comment #11.4
Enxebre CreditAttribution: Enxebre commentedfixing lowercase letter
Comment #12
Enxebre CreditAttribution: Enxebre commentedAdding Review bonus
Comment #12.0
Enxebre CreditAttribution: Enxebre commentedAdding more reviews
Comment #13
klausino objections for more than a week, so ...
Thanks for your contribution, Enxebre!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #14
Enxebre CreditAttribution: Enxebre commentedThank you everybody for your time!
Comment #15.0
(not verified) CreditAttribution: commentedAdding review