I would like to create a new module. This is going to be a clock + weather module, inspired by HTC hero smartphone graphics.
The script is ready and you can see it here:
[login to view URL]
What I need is to integrate this script into a Dolphin 7 Module. The admin can administrate the default values, but the members can set their own values. The admin can place this script in any page of the website by using the Page Builder - for that a "Special Block" will be added in the page builder on the module's installation. The block options allows the admin to set it's visibility for guests, members or both (default feature for any block in dolphin 7).
So in short here are the features:
- 2 settings in admin panel (default values)
- Admin page builder "special block" to allow the admin to place the script on any page.
- 3 settings available for user (user selected values), edit link placed right under the script graphics, when clicked will open either a pop-up box similar to the "Login" box or just a expandable layer to allow fast settings change.
---------------------------------------------------------------------
Detailed info:
---------------------------------------------------------------------
Module Name: "Weather Central"
SETTINGS CONFIGURABLE BY ADMIN ONLY IN ADMIN PANEL (MODULE administration)
---------------------------------------------------------------------
Weather Central Administration - Default Values (title of the block inside admin panel)
---------------------
Unit of Measurement (Drop Down Control) - Option1: "Celsius"
- Option2: "Fahrenheit"
Time Display (Drop Down Control) - Option1: "12 Hours Clock"
- Option2: "24 Hours Clock"
The values above should only set the default values for new users, but if a member selects something different, the values changed should always remain as he selected.
No change should be possible from admin panel on these settings after a user has chosen his own options.
A new Special Block should be created on the installation of this module. This block can be placed on any page of the website using the Website Builder System.
The Block Should be Called "Weather Block".
SETTINGS CONFIGURABLE BY USERS ONLY (a small "edit" link placed right under the graphics should either expand a table or open a pop-up window similar to the "login" info box, that will contain the
options bellow)
---------------------------------------------------------------------
Your Nearest City (Drop Down Control) - Option1: City nr1 alphabetically (Default)
- OptionXX: Last City in list alphabetically.
Description: The user can select the nearest city available from his country. By default the first city alphabetically available for his country should be automatically selected.
The country information should be collected from the profile info of this user (database).
---------------------
Unit of Measurement (Drop Down Control) - Option1: "Celsius"
- Option2: "Fahrenheit"
Description: The user can select to display the info in Celsius or Fahrenheit
---------------------
Time Display (Drop Down Control) - Option1: "12 Hours Clock"
- Option2: "24 Hours Clock"
Description: The user can select how the clock should be displayed (12 hours system or 24 hours system)
---------------------------------------------------------------------
---------------------------------------------------------------------
OTHER NOTES: All the words should be added in the module's language file directory to let the system select the user's language automatically.
In this moment the script settings can be changed from this file: "lib/[login to view URL]"
THE FULL COPYRIGHT WILL BE TRANSFERRED.