More than 1 city showing

Easy to use and free Joomla module to display weather with forecast from Yahoo.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Sep 11, 2009 8:59 am
Hi there,

where and how can I get instructions to show more than 1 city?

e.g. Rome - London - New York

Feeling a bit stupid :(

thanks all for help!
User avatar
Fresh Boarder

GK User
Fri Sep 11, 2009 3:34 pm
At present you can show only one city. You can use two or more modules if you need ;) I've added this option (multiple cities in one module) to my ToDo ;)
User avatar
Administrator

GK User
Fri Sep 11, 2009 3:49 pm
How do I set more modules?

thank you again :P
User avatar
Fresh Boarder

GK User
Fri Sep 11, 2009 3:50 pm
You should copy existing module in administration panel ;)
User avatar
Administrator

GK User
Fri Sep 11, 2009 4:00 pm
Thank youuuuuuuu!!!!!!!!!!!!!!!
User avatar
Fresh Boarder

GK User
Thu Jan 21, 2010 1:16 pm
Hi,
I need to display in rotation 5 different cities.
Does this opportunity will be offered in the very near future?
Thanks
User avatar
Junior Boarder

GK User
Thu Jan 21, 2010 3:20 pm
ZEF078 wrote:
Hi,
I need to display in rotation 5 different cities.
Does this opportunity will be offered in the very near future?
Thanks


Yes, this is included in our ToDo List.

Meanwhile, there's a trick that you can use to display various cities. For this, you will need Tabs Manager GK3 component and GK Weather module.

Example:
I want to display 2 cities with slide animation.

First, create 2 GK Weather module, each one with unique ID and set on a module position available on templateDetaisl.xml file, but not on index.php. You can add module positions on templateDetails.xml file as many as you want.


Let-s imagine that i set them on tab1 and tab2 module position. Them, i configurate the modules, publish and assign to all menus.

Now, go to Tabs Manager and create a group.
Add 2 tabs as module type and select those module positions (tab1 and tabs2)

Next, go to Modules Manager and configurate tabs module to display the group that you created on component. Select auto animation option and publish tabs module.

On frontend you can see 2 GK Weather module sliding on each tab. But, here's the final touch. You can remove tabs style, so it seams like only one module working there:

Code: Select all
#tabmix1 ul.gk_tab_ul-style1 {
display: none}


Let me explain the code:
#tabmix1 is the unique module ID
ul.gk_tab_ul is the tab element
-style1 is the tab suffix to style1

Cheers ;)
User avatar
Platinum Boarder

GK User
Sat Jan 23, 2010 5:05 am
Thanks Seichinha,
In fact, I selected this option without knowing that we could remove the style of tabs.
I do not know if this works because I didn't find yet where to change only the code of these tabs especially
User avatar
Junior Boarder

GK User
Sat Jan 23, 2010 12:14 pm
Definitely I don't see where I should add this line of code probably in "mod_gk_tab" but where exactly?
I give up
Thanks for your help
User avatar
Junior Boarder

GK User
Sat Jan 23, 2010 6:28 pm
Ok I found, I put in gk_twncsstemplate.css
like this

Search and weather modules
*/

#top_b,
#top_c { float: right; }
#top_b {
height: 60px;
margin-top:1px;
}
#tabmix2 ul.gk_tab_ul-style1 {
display: none}

And it's work
Thanks
User avatar
Junior Boarder


cron