Calendar Icon


Version
1.2.4 (last update on Oct 9, 2008)
Rating
Compatibility
Votes
Favoured
95
License
GPLv2 or later
Non-Commercial
Type
Views
124334
Date Added
6 January 2008
Extract the published date from an article and insert a Calender Icon containing the date the article was published next to the title. Plugin has opportunity to changing styles of calendar (CSS technology, built-in profiles). You can select, where you want to place calendar icon. Easy to configuration. Warning! Plugin works with 80-90% of templates! If you have problems, you should use "advanced templating"
Changes in 1.2.4:
*fixed bug of year that doesn't display in some environment [solved thanks David Boggitt]
*added function which allow you to change that you want show date of article's creation or date of last update in calendar icon
*added two more styles for girls (pink) ;D
I love this plugin, it makes articles look really nice, but when two articles are side-by-side it breaks the flow, and the left article's title extends across the full width, with the left article below the title to the left, and the right title _and_ article beneath the right half of the left half's title...hard to picture, but it happens, and even on the default templates. I'll try my best to find a fix, but beware of using this extension with multiple-column layouts. Everyone, don't even think, just download it.
This plugin only changes the display of the date, and I like the end result a lot. When I disable the plugin, my site looks plain and a lot less easy to read.
I can only hope someone will pick up this project and fix the xhtml compliance issues.
Besides that, there is a small error in the code, which will only occur when "date of last update" is used for the option "What to show". Since the Modified date is by default set to "0000-00-00 00:00:00", you need to pick up the creation date in case an article was never modified.
For this, change the lines on 215 through 219 in calendar_icon.php to:
/* var that gets calendar code and establish its position */ $data_artykulu = $row->created; if ( ( $this->_params->get('showing', '0') == '1' ) and ( $row->modified > $row->created ) ) { $data_artykulu = $row->modified; }
I can only hope someone will pick up this project and fix the xhtml compliance issues.
Besides that, there is a small error in the code, which will only occur when "date of last update" is used for the option "What to show". Since the Modified date is by default set to "0000-00-00 00:00:00", you need to pick up the creation date in case an article was never modified.
For this, change the lines on 215 through 219 in calendar_icon.php to:
/* var that gets calendar code and establish its position */ $data_artykulu = $row->created; if ( ( $this->_params->get('showing', '0') == '1' ) and ( $row->modified > $row->created ) ) { $data_artykulu = $row->modified; }
Well, even though I can't say it as 'straightforward', I think the markup errors are not that hard to correct.
The errors are mostly located on attributes that didn't use quotation mark, while the rest caused by '/' wasn't placed on self-closing tag.
The markup language it using is already xhtml-compliance, The error could be just author's typos ;)
Beside that, this is a nice plug-in, I'd give 4 start for it. Too bad it has been suspended :(
The errors are mostly located on attributes that didn't use quotation mark, while the rest caused by '/' wasn't placed on self-closing tag.
The markup language it using is already xhtml-compliance, The error could be just author's typos ;)
Beside that, this is a nice plug-in, I'd give 4 start for it. Too bad it has been suspended :(
Easy to install...
Easy to configure...
Looks GREAT !!
BUT
Messes articles Table Of Contents. Had me fiddling with css with no luck. Would probably have to edit the php (yikes - out of my realm). If this plugin is enabled (in any form) the TOC appears way above the article and try as I may I could not get it inline with text wrapping.
So, my choice is now to disable TOC or this plugin. Tough choice... this looks so good!!!
Despite the above... 4 stars!
Easy to configure...
Looks GREAT !!
BUT
Messes articles Table Of Contents. Had me fiddling with css with no luck. Would probably have to edit the php (yikes - out of my realm). If this plugin is enabled (in any form) the TOC appears way above the article and try as I may I could not get it inline with text wrapping.
So, my choice is now to disable TOC or this plugin. Tough choice... this looks so good!!!
Despite the above... 4 stars!
I give a good rating it really spices your site layout, and i post here this because most people do not look for in the forums for this kind of issues to install add ons.
the plugin conflicts with the mfblank plugin. when installed the external link icon of the mfblank disappear.
the plugin conflicts with the mfblank plugin. when installed the external link icon of the mfblank disappear.
As stated before... Draws attention to the articles.
The only thing is that line 255 of calendar_icon.php should be changed to...
$send .= '';
So it maintains your XHTML compliance.
The only thing is that line 255 of calendar_icon.php should be changed to...
$send .= '';
So it maintains your XHTML compliance.
I first noticed this on other sites and was really impressed. It draws your attention to articles and dresses up the articles.
I installed it on my development site and noticed that it only displayed the original date of the article. Since I update articles regularly, some of the dates were a year old. I sent Tomasz an email suggesting that an option for the updated date would be useful. He replied promptly and said he would put it in his next revision but he was rather busy and may take a month or so. Much to my surprise in less than a week I received a personal email from Tomasz indicating he had completed the change and it was on Joomla.
Thank you for this great module and excellent response to the community.
Looking forward to more great extensions!!
I installed it on my development site and noticed that it only displayed the original date of the article. Since I update articles regularly, some of the dates were a year old. I sent Tomasz an email suggesting that an option for the updated date would be useful. He replied promptly and said he would put it in his next revision but he was rather busy and may take a month or so. Much to my surprise in less than a week I received a personal email from Tomasz indicating he had completed the change and it was on Joomla.
Thank you for this great module and excellent response to the community.
Looking forward to more great extensions!!
Well, I'm delighted to be mentioned by Tomasz for doing some testing to sort that odd little bug out, but all credit goes to him! :)
This is a great little plugin to display a classy date next to articles.
A previous reviewer said that "it is not possible to suppress the date display for certain articles using the parameter settings of the article." This isn't really true: you CAN select within the plugin parameters which sections/categories you want to display the date on. So, since I'm only doing this for my 'News' section, it was very easy to implement.
I would like to see some more styles for the date (Roman numerals perhaps and maybe others), but it's still great :)
This is a great little plugin to display a classy date next to articles.
A previous reviewer said that "it is not possible to suppress the date display for certain articles using the parameter settings of the article." This isn't really true: you CAN select within the plugin parameters which sections/categories you want to display the date on. So, since I'm only doing this for my 'News' section, it was very easy to implement.
I would like to see some more styles for the date (Roman numerals perhaps and maybe others), but it's still great :)
Page 1 of 2





