Blog
Sign In | Register 
pbwidget Forum Index pbwidget
The new home of Guy Fawkes
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Welcome
Welcome to PBwidget, the new home of Guy Fawkes, formerly of Get Satisfaction.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Which functions do you use?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    pbwidget Forum Index -> PBwidget (Widget Library 2.0)
View previous topic :: View next topic  
Author Message
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Fri Mar 21, 2008 4:35 pm    Post subject: Which functions do you use? Reply with quote

There are over 30 functions in the Widget Library, and some of them may not work (or even have meaning) under PBwiki 2.0. For example, 'hideFooter' is now irrelevant, because there's no footer to hide. Which functions do you use now, and which ones do you want to see converted to PBwiki 2.0?

Here's a list of the existing functions, for reference:

Buttons
addButton
hideButton
renameButton
redirectButton

Controls
hideFooter
installToggle
renameSidebar
showCrumbs
addPILink

Table of Contents
collapsibleToc
pageToc
quickListPages
siteMap
toggleToc

Header
replaceWikiName
replacePageName
replaceDivider
replaceAllText
replaceWithBanner
shortenLongName
changeHTML

Informational
getPageName
inSB
loggedIn
pageCount

Miscellaneous
autoLogin
includePage
onDocLoad

Tags
cloud
editor
multisearch
Back to top
View user's profile Send private message Send e-mail
ChunkyMonkey
Site Admin


Joined: 21 Mar 2008
Posts: 10

PostPosted: Fri Mar 21, 2008 5:44 pm    Post subject: Reply with quote

We should get onDocLoad working right away, as it's vitally useful as a replacement for onLoad(). Beyond that, I also really want to fix up the ToC function. A lot.
Back to top
View user's profile Send private message
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Fri Mar 21, 2008 6:10 pm    Post subject: Reply with quote

Agreed. I was about to reply to a GS post about ToC not being a siteMap, and wondered: does 2.0 implement /links.php?
Back to top
View user's profile Send private message Send e-mail
stephenfleming



Joined: 21 Mar 2008
Posts: 2

PostPosted: Fri Mar 21, 2008 7:08 pm    Post subject: BreadCrumbs Reply with quote

I agree that a lot of the more cosmetic parts of the widget library are either redundant or meaningless for 2.0. However, showCrumbs is incredibly useful to my users, isn't implemented in 2.0, and is visually "lightweight" enough to be cleanly integrated into 2.0's look-and-feel.

So -- one vote for showCrumbs!
Back to top
View user's profile Send private message
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Fri Mar 21, 2008 7:12 pm    Post subject: Reply with quote

Thanks. I will start with showCrumbs. Very Happy
Back to top
View user's profile Send private message Send e-mail
ChunkyMonkey
Site Admin


Joined: 21 Mar 2008
Posts: 10

PostPosted: Fri Mar 21, 2008 9:00 pm    Post subject: Reply with quote

links.php is present
Back to top
View user's profile Send private message
seanmac



Joined: 25 Mar 2008
Posts: 4

PostPosted: Tue Mar 25, 2008 10:11 am    Post subject: Reply with quote

Here is my half-penny's worth. Asteris beside the ones I currently use.

Buttons
*addButton - I'd still like this in 2.0
*hideButton
*renameButton
redirectButton

Controls
hideFooter -redundant
*installToggle - I'd still like this in 2.0
*renameSidebar - I'd still like this in 2.0
*showCrumbs - I'd still like this in 2.0
*addPILink - I'd still like this in 2.0

Table of Contents
*collapsibleToc - I'd still like this in 2.0
pageToc
quickListPages
siteMap
*toggleToc - I'd still like this in 2.0

Header
*replaceWikiName - I'd still like this in 2.0
replacePageName
replaceDivider
replaceAllText
* replaceWithBanner - I'd still like this in 2.0
*shortenLongName - I'd still like this in 2.0
*changeHTML - I'd still like this in 2.0

Informational
*getPageName - I'd still like this in 2.0
inSB
loggedIn
pageCount

Miscellaneous
autoLogin
includePage
*onDocLoad - I'd still like this in 2.0

*Tags
cloud
*editor - Tags are much better managed in 2.0 so this is probably redundant as well
multisearch

Seanmac
Back to top
View user's profile Send private message
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Tue Mar 25, 2008 2:19 pm    Post subject: Reply with quote

Thanks, John. That's exactly the kind of feedback we're looking for.

showCrumbs has been implemented; see the Widget2 wiki for an example.
Back to top
View user's profile Send private message Send e-mail
seanmac



Joined: 25 Mar 2008
Posts: 4

PostPosted: Tue Mar 25, 2008 2:27 pm    Post subject: Reply with quote

Works lovely in FF but not in IE 7 I'm afraid. Good to have you back

Seanmac
Back to top
View user's profile Send private message
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Tue Mar 25, 2008 3:44 pm    Post subject: Reply with quote

OK, it works now in IE6, but something is still generating an error. And since IE sucks, I can't figure out what it is. Could you try it in IE7 and see what you get?
Back to top
View user's profile Send private message Send e-mail
seanmac



Joined: 25 Mar 2008
Posts: 4

PostPosted: Tue Mar 25, 2008 3:50 pm    Post subject: Reply with quote

Works fine in IE 7 now! Excellent
Back to top
View user's profile Send private message
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Tue Mar 25, 2008 4:36 pm    Post subject: Reply with quote

It may not for long. They're pretty adamant about shutting Widget down for good.
Back to top
View user's profile Send private message Send e-mail
vangispen



Joined: 26 Mar 2008
Posts: 6

PostPosted: Wed Mar 26, 2008 1:02 am    Post subject: free workaround, my wishlist & counter question Reply with quote

Free workaround to put javascript and CSS code on ur wiki page:
use the Google Gadget or YouTube video plugin to insert ur bits!

On a 2.0 wiki I would like to make different javascript/CSS code work for different groups of users. For example: for readers and writers I would like to hide lots of stuff, for editors less and for administrators nothing.

In the past (1.0) I've used replaceWikiName, replacePageName (sparsely, for FrontPage) & getPageName (frequently) and stole some code to make my own scripts (mainly Button functions).

A question raised: would you mind explaining just how you control the display of items that have no unique ID?
Uh, I can't, except when they have a class, then I can control all of them at once. But what items are you thinking about, anyway?
And oh yeah, I'm looking too how to handle the "module:sidebar" etc. thing ...

BTW: hi all Very Happy
Back to top
View user's profile Send private message
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Wed Mar 26, 2008 1:38 am    Post subject: Reply with quote

Welcome, vangispen! I was hoping you'd show up. Smile

We know about the Google trick, but we didn't want to say too much publicly, lest they decide to try and close the "hole".

I was mistakenly thinking that the folders, et al, didn't have an ID. But, as you point out, they do (module:folders).

I'll start looking into how we can determine what privs a given user has. In 1.0, I would look for page elements which render differently depending on user status. I don't what, if any, page elements render differently in 2.0.

They still haven't officially ruled out in-page JS, but we're working under the assumption that they will, so everything will have to be called from the HEAD (which means JS support will be premium only). I don't like that option, but if we exploit holes like Google gadget, they'll just close them. Turds.

We also use a 1.0 wiki for developing the code; since they are going to eventually force us to upgrade to 2.0, we'll have to switch to some other code base.
Back to top
View user's profile Send private message Send e-mail
mbrutsch
Site Admin


Joined: 21 Mar 2008
Posts: 17

PostPosted: Wed Mar 26, 2008 1:42 am    Post subject: Reply with quote

Ah, I see you've already let the cat out of the bag about the Google/Youtube plugins. Oh well, we'll see what they do about it now!

My guess is they'll try to filter based on the contents of the <script> tags, but I'm sure we can work around whatever they do.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    pbwidget Forum Index -> PBwidget (Widget Library 2.0) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Chest


Powered by phpBB
Hosted by FreeForums.org