Web Design Forum: Custom Widget Settings - Per user. - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Custom Widget Settings - Per user. Rate Topic: -----

#1 User is offline   CSN-UK 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 213
  • Joined: 27-December 10
  • Reputation: 22
  • Gender:Male
  • Location:Swindon, Wiltshire, UK
  • Experience:Advanced
  • Area of Expertise:Entrepreneur

Posted 27 January 2012 - 02:58 PM

After some second, third, fourth opinions on how would "you" go about saving and returning user defined settings on widgets for display in a CRM/CMS style application.

A bit of a brief is that there are a number of locations throughout the site that will allow customisation of the layout of the page (widget form) for each user. There is currently a finite amount of available widgets although this may be set to change in the future.

The naming or identification convention could/would be something similar to WordPress in that status_1v_widget.php, marketing_add_stat_widget.php etc or via assigning widgets with ID numbers and storing these along with details (active, description, etc) in a database table or a combination.

Currently I'm stuck in the mind set of a table containing the following:

tblpage_custom

*ID (int)
*User_id (int)
*widget_id (int)
*widget_settings (string, comma seperated or similar)
widget_order (int)
site_location (string pagename)

Might be a tad arcaic and db intensive is my only concern with multiple calls per certain pages and several entries per page considering many will contain multiple widgets which in turn will need to call their associated data...

opinions welcome :)

This post has been edited by CSN-UK: 27 January 2012 - 03:00 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users