Drupal community, most inspiring open source community and passion for web development.
I have my first module "custom_slogan" ready to be contributed.
I have my first module "custom_slogan" ready to be contributed.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | custom_slogan.zip | 5.64 KB | opensense |
| #1 | custom_slogan.zip | 6.06 KB | opensense |
Comments
Comment #1
opensense commentedI have developed a module "custom_slogan". This module allows you to use tokens to set pattern for custom slogans. You can set on level of node types, vocabulary, default, and front. You can also over-ride them on node, term level as it gives you a field on node and term edit page.
Comment #2
opensense commentedplease review my code. thanks
Comment #3
avpadernoHello, and thank you for applying for a CVS account.
As per requirements, the motivation needs to include a description of the module features (more than two sentences), and a comparison with the existing solutions.
Comment #4
mark trappJust to provide some additional feedback you're going to need to address after providing a better description and comparison:
custom_slogan_admin_settings(). (already mentioned in IRC)Comment #5
opensense commentedThanks for the review. The module code has been cleaned and tested with coder at minor level now. The form theme has been brought to standard taking inspiration from taxonomy module.
For the use of mixture of persistent variables and schema to store data, the data which are going to be very limited in number always(one for each content type and vocabulary) have been kept in persistent variables and others are in schema.
Please find the updated module attached and a description of features below. Review it please.
The module allows to have a custom slogan on a drupal website, there is no module to handle it with this much flexibility as per i can research on drupal.org. The modules admin form allows you to set slogans using tokens for each content type, each vocabulary, front and a default slogan. It overrides the slogan from theme variable. In addition to it the module also provides a text field in all nodes/terms for content types/vocabulary for which custom slogans are enabled from admin page of the module. The slogans at module and term level will override the pattern set for the content type/vocabulary.
Thanks
Comment #6
opensense commentedComment #7
avpadernoComment #8
opensense commentedany updates in reviewing??
Comment #9
zzolo commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #10
opensense commentedThe code is ready, please review.
http://drupal.org/sandbox/vidhatanand/1122346
Comment #11
opensense commentedChanging issue title.
Comment #12
opensense commentedComment #13
dave reidI found a couple of major things that prevented the module from working correctly:
"name = Custom Slogan"in custom_slogan.info. It should bename = Custom sloganwithout the quotes.Notice: Array to string conversion in token_replace_multiple() (line 278 of /home/dave/Dropbox/Projects/drupal6dev/sites/all/modules/token/token.module).. This is because token.module already defines a global token of [site-slogan]. When you add your own token with the same exact name, it makes an array value of the replacement token rather than a string. So you'll need to change your module's token name.Comment #14
dave reidAlso I just realized the settings form at admin/content/custom_slogan has no 'submit' button for me to save the settings. :)
Edit: incorporated feedback into above comment.
Comment #15
opensense commentedThe recommended points from http://drupal.org/node/976890#comment-4338128 have been taken care. The code is now tested with coder module. Please review and make it a full project. I have already received a D7 port of it from a fellow drupaler. Once it is a full project i will correct and add D7 version.
http://drupal.org/sandbox/vidhatanand/1122346
Comment #16
Anonymous (not verified) commentedwas pinged in IRC about this application.
most of the changes from #13 seem to have been incorporated, though i didn't test that install worked without notices.
there are a bunch of whitespace issues remaining (indent is all wrong in many places), but i don't see that as a blocker to accepting the module.
Comment #17
opensense commentedI am waiting for 40 weeks now.. for this module.. PLease anyone take care of it. Thanks :)
Comment #18
gregglesThanks for your contribution, vidhatanand! Welcome to the community of project contributors on drupal.org.
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
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.
I can understand that the process feels horrible, especially since you've been in it for 40 weeks. Just one note that beejeebus pointed out whitespace issues over a month before your most recent comment and you failed to fix them. #1268154: remove trailing whitespace.
Comment #21
avpaderno