add button for Add Tag"
I created a new button called "Add Tag". This is because I have chosen to suppress the footer which unfortunately obscures the way to do page tagging.
By adding a new button, which shows up for every user, how to tag should be pretty obvious.
Problem is: How do I amend the addButton code so that it will actually add the tag? Creating the button was easy: I used the following code from the widget library to get the button to appear:
By adding a new button, which shows up for every user, how to tag should be pretty obvious.
Problem is: How do I amend the addButton code so that it will actually add the tag? Creating the button was easy: I used the following code from the widget library to get the button to appear:
4 people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Replacing page tagging functions in the footer part with a single button is not easy.
How to show existing tag(s), text input field + add button to make new tag and a way to delete existing tags with one button? No!
However, you could use one button to divert the user to a different page where tag information can be seen and tag related tasks can be handled for the specific page.
Add this code to your SideBar:
<script type="text/javascript" src="http://widget.pbwiki.com/f/widget_lib.js"></script>
<script>
widget.addButton("Tag","/tags.php?pedit=" + widget.pageName);
</script>
See also tag cloud, tag editor and tag multisearch
2 people say
this answers the question
-
Inappropriate?I wouldn't spend too much time on this. The Widget Library is not supported in PBwiki 2.0, and it has no buttons anyway, so you can't add a button. Javascript support has also been severely restricted, so user-customizations like this will be a thing of the past. So sorry.
I’m glad I have less choice! One less thing to think about!
-
Inappropriate?do you know when it will be possible to upgrade existing wikis to the pbwiki 2.0?
-
Inappropriate?I'm not glad and would like more information about the PBwiki 2.0 not being able to use/invoke the Widget Library. Our wiki relies heavily on it and we are about to launch it with lots of widget-library customizations! Will we have a dogs breakfast on our hands?!
I’m confused
-
Inappropriate?It's possible that you'll be able to invoke the Widget Library, but most of the functions won't work. Many of the widgets in the Widget Library relied on specific CSS attributes of a PBwiki 1.0 web page. PBwiki 2.0 has radically altered those attributes, or eliminated them entirely.
I’m feeling sorry for many wiki users
1 person says
this answers the question
-
Inappropriate?Hey! Good news! We are working on getting the Widget Library operational under PBwiki 2.0 (if possible). There's more info at the Widget Library wiki, so drop by and see what you can do to help us out. There are also new resources for helping with problem just like this one.
I’m walking on sunshine, whoa oh...
Loading Profile...




