Before I began to develop my module, I first searched the modules list in drupal.org to see if anyone has implemented something similar; I could not find a module that performed my desired task. Hence I decided to pursue the development of the module. I also want to see how my coding ability would measure up to the inspection of the approval process. This would give me great insight as to what I need further practice on.
The module itself is pretty simple, it finds a css selector where the site name text lives(specified by a user who has administration privileges to the module) and animates different lines of text (also specified by the user) until it reaches the original site name text, which is displayed in the end. I believe I have a good working version at this point that I would like to expose to the community.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | dynamic_site_name.zip | 6.37 KB | magicRoot |
Comments
Comment #1
magicRoot commentedComment #2
avpadernoHello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.
As per http://drupal.org/cvs-application/requirements, the motivation message should be expanded to contain more details about the features of the proposed module, and it should include also a comparison with the existing solutions.
Comment #3
magicRoot commentedThe modules duty is to find a css selector (given by the user with adminstrative privileges, the css selector should be the area where the site name exists) in a page and initially remove that text. After some defined time interval a sequence of texts will be displayed in the page where the css selector was given (the text displayed, the time before the text is displayed, and the time each text is displayed is also defined by the user).
Example:
css selector in the page: .site-name a
text living in this selector: My Site
text defined by the user:
This is sentence 1
This is sentence 2
time before display of texts begins: 2 seconds
time for each text to display: 2 seconds
When a page loads, the "My Site" css will be set to dispaly: none. Two seconds after the page load, the text "This is sentence 1" will appear where "My Site" should be. Two seconds later "This is sentence 2" will appear where "This is sentence 1" was. Two seconds later "My Site" will appear where "This is sentence 2" was. The text "My Site" will remain for the remainder of the page view.
I added a setting to allow this behavior to execute after each page load or only once per the lifetime of a browser window.
I have not encountered another module that does something similar to this.
Comment #4
avpadernoComment #5
avpadernoI will review the code tomorrow.
Comment #6
avpadernoThat comment should be removed. Modules committed in Drupal.org repository are licensed only under a single license, and not two; then there is no choice about the license to use, as it must be the same license used by Drupal.
Crell, then, would suggest to remove . That statement would not be anymore true, when you accept patches.
Comment #7
avpadernoThere have not been replies in more than a week. I am marking this report as .
Comment #8
magicRoot commentedHi,
May I still submit this after omitting the suggested comments from the source code?
Comment #9
avpadernoPlease read the following links as this is very important information about CVS applications.
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for these applications. Please read Migrating from CVS Applications to (Git) Full Project Applications and Applying for permission to opt into security advisory coverage on how this affects and benefits you and the application process. In short, every user has now the permissions necessary to create new projects, but they need to apply for opt into security advisory coverage. Without applying, the projects will have a warning on projects that says: