StickyNote plugin |
| Written by kksou | |||
| Tuesday, 04 November 2008 | |||
|
The Sticky Note plugin allows you to display a pop-up sticky note from within your content item or article.
This is a demo of the Sticky Note plugin.
There are 2 modes of display:
You can use it to display a promotional text or broadcast important messages to your users. The original DHTML script was written by dynamicdrive.com. What I've done is to wrap the original code into a Joomla plugin/mambot so that you can easily display a sticky note in any of your content item. DemoYou should see a sticky note displayed when you first load this page. The sticky note automatically disappears in 5 seconds. If you missed the sticky note, you can view it again by reloading this page. Latest Versionv1.0.2 (for Joomla 1.0) and v1.5.1 (for Joomla 1.5)
Unique Features
How to use the "Sticky Note" pluginImportant: If you're using Joomla 1.5.8, please refer to the article:How to enter HTML tags, javascript and PHP codes in Joomla 1.5.8? Otherwise you might find that all your HTML tags, Javascript and PHP scripts will be removed the moment you click the Save or Apply button.
{StickyNote}
... msg ...
{/StickyNote}
Note that you can use any standard HTML tags in the msg, e.g. <h3>, <img>, <ul>, <ol>, <br>, <p>etc. You can also overwrite the global setting of the display mode in your content item. To set the display mode as "always" for the current content item (regardless of the setting in the Parameters page), use the following:
{StickyNote displaymode:always}
... msg ...
{/StickyNote}
To set the display mode as "oncepersession" for the current content item (regardless of the setting in the Parameters page), use the following:
{StickyNote displaymode:oncepersession}
... msg ...
{/StickyNote}
You can also overwrite the global setting of the "Auto Hide Box" in your content item. To set the "Auto Hide Box" to yes for the current sticky note (regardless of the setting in the Parameters page), use the following:
{StickyNote autohidebox:yes}
... msg ...
{/StickyNote}
To set the "Auto Hide Box" to no for the current sticky note (regardless of the setting in the Parameters page), use the following:
{StickyNote autohidebox:no}
... msg ...
{/StickyNote}
You can also overwrite the global setting of this field in your content item. For example, to automatically hide the current sticky note after 10 seconds (regardless of the setting in the Parameters page), use the following:
{StickyNote autohidebox:yes autohidetime:10}
... msg ...
{/StickyNote}
You can also overwrite the global setting of the "Do not display in Home Page" in your content item. To set the "Do not display in Home Page" to yes for the current sticky note (regardless of the setting in the Parameters page), use the following:
{StickyNote homepagehide:1}
... msg ...
{/StickyNote}
To set the "Do not display in Home Page" to no for the current sticky note (regardless of the setting in the Parameters page), use the following:
{StickyNote homepagehide:0}
... msg ...
{/StickyNote}
Be a SponsorIf you find this plugin useful, Secure Payments by PayPal. DownloadHow to install (Joomla 1.0.x)
You are now ready to use this plugin! How to install (Joomla 1.5.x)
You are now ready to use this plugin! Display Sticky Note in moduleThis plugin is used for displaying a sticky note associated with a content item or article. If you wish to display sticky notes from within modules, I will write another module for this purpose. Version History
|
|||
| < Prev | Next > |
|---|





Comments
ty
B
Sorry for the late reply.
Assuming you're using Joomla 1.5:
1) Goto the folder: /plugins/content/StickyNote
2) Edit the file: StickyNote.lib.php
3) In line 220 and 221, you should see:
objref.style.left=docwidth/2-objwidth/2+"px"
objref.style.top=scroll_top+doch eight/2-objheight/2+"px"
4) Change the 2 lines above to your desired left and top
Save the file and reload.
Let me know if it works, ok?
Regards,
/kksou
http://www.kksou.com/php-gtk2/index.php?option=com_fireboard&Itemid=67&func=view&catid=23&id=3527
Regards,
/kksou
Now you can subscribe to my art :)
http://borisnovak.art-portfolio.nl/exhibitions
I installed your plugin for a Joomla V1.7 site (on the hope that it would work).
No luck. Is there anything that I can do on my site, e.g. PHP or CSS that can make it work. I have had a look at a few "sticky note" extensions, and yours seems the best and simplest.
Thanks
Jodi
It might be a conflict with your other plugins or modules.
To ascertain this, what I usually do is to setup a fresh install of Joomla somewhere on the server, then install just the plugin. This will allow you to see if the plugin works on your machine at all.
If it works, then it's most likely a conflict with some plugins or modules.
Regards,
/kksou
I installed the plugin on Joomla 1.5.28 and all html makeup is stripped from the message. Not from the article! How can i keep the html in the sticky note?
This plugin is very useful for me, and I was wondering if you
can you please help me make the text in
sticky note to be RTL?
thanks!
You have the complete source code. You might need to ask one of your friends who know PHP to help you change the code slightly to output the format you required.
Regards,
/kksou
I manage to fix it but it was very hard.
Sincerely apologize for this. It's because I'm not expert in everything. I'm not familiar with the output format that you want.
Regards,
/kksou
I´m trying to use Joomla Survey in a popup but cannot select a radio option. Survey input shows but user is unable to select an option...
Any ideas?
Thn
RSS feed for comments to this post