PDA

View Full Version : Dynamic Widgets


Biker_GA
04-30-2009, 04:00 PM
We all know that widgets are pretty slick and can jazz up our portal pages with some rich content. However, I'm looking for something that's a little more dynamic for my users.

Has anyone found or developed a widget that allows a user to input information (such as a zip code) and then the widget is customized for just that user? The more I think about it, the more I wonder if it's even possible to do. Obviously, it would most likely be cookie based where the widget pulls the information from the cookie to display properly.

Specifically, I'm looking for a weather widget that allows a user to enter their zip code, and then displays the information on the portal page in the box assigned for that widget. Not sure it can even be done, but I think it would be a slick idea and great for my users.

Biker_GA
05-31-2009, 03:13 AM
OK. I've been playing with this a bit, and I'm trying to parse the zip code from a field in UserCP to the code on the portal page. Unfortunately, it isn't working. This is what I have:


<if condition="$bbuserinfo[field13]">
<script type="text/javascript" language="javascript1.2" src="http://weatherreports.com/jscript.html?width=300&height=250&theme=brand&location=$bbuserinfo[field13]&units=LOCAL">
</script>
</if>


It isn't working. Any ideas as to why?

--------------- Added 1243789225 at 1243789225 ---------------

Anyone? :( Would really like to get this working for my users.

Biker_GA
06-03-2009, 08:36 PM
I hate auto merge. :D Anyone care to take a peek at this and see where I went wrong? Danke!