1

Topic: tbs_widgets

Stuart,


trying to learn a bit more about this particular plugin. Most of the other parts of the coffeebreak theme are transparent to me, but this one is still a black box.

What is this running under the hood for, say, the twitter widget? Wanted to see if I can replace this with arc_twitter or another plugin with some search flexibility, but don't quite know where to begin.

I've also managed to break it just now by placing Apache behind nginx acting as a reverse proxy; I know what to pass through to Apache for the usual suspects (static vs dynamic content), but I'm not sure what the widgets are calling.


Thanks, Oliver


PS: Feel free to move elsewhere; figured General might be okay given that it's present in a number of your themes

2

Re: tbs_widgets

Hi Oliver,

Check out the "cb_twitter_head" form template (Misc). You can see the script being called and the settings that are calling the widget variables.

"arc_twitter" is a great plugin allowing you to tweet from within your admin, both in the form of standard text tweets and being able to "tweet" an article directly from the "Write" tab. If you used this plugin you probably wouldn't have any need to use the variables from the "Widgets" tab as you can use the "<txp:arc_twitter /> tag with it's own attribute settings.

I don't use the plugin within my themes as to do so assumes that the user has a Twitter account, which isn't necessarily the case, and it also requires a certain amount of "setting up" which cannot be automated. For these reasons I always use an external script though not always the same one. If the user wants to have more control over Twitter and have their own account then they can always follow your route and "upgrade" to the plugin.