2 different grids in different pages

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Oct 06, 2013 9:52 pm
Reply with quote
Report this post
Hi,

is it possible to use 2 different grids in different pages (with different articles of course)?
If it is possible, how can i link the items to the grid?

i'm creating a site and i tried to put a second grid in a different page but the images shown are the same of the first grid.

Thanks in advance

Fabio
User avatar
Junior Boarder

GK User
Sun Oct 06, 2013 10:19 pm
Reply with quote
Report this post
There are several ways and steps to achieve this.

First you need to create 2 grid module, or 1 extra module if you are using quickstart package.

As you have stated both modules are showing same content, lets understand about how grid positions work.
Grid positions are simply same as module positions and it will load modules in whatever position you enter as grid position. So basically grid position must match your module position.

So if modules are in following position,

Module Position: header
Then Grid position will be : header

If module position: bottom1 and you have 4 modules in this module position
then grid positions will be:bottom1 or bottom1[1] or bottom1[2] or bottom1[3] or bottom1[4]

Now we are clear on grid position setup, you need to setup your second grids position names to match your modules so we get different content in second grid module.

if you will be using same grid layout but different content then simply copy current grid module.
Make changes to grid positions as explained above.

Now assuming both modules are setup and enabled.
If you have a menu item then simply use menu assignment options in module settings to show grid module on appropriate page.
If you don't have a menu item then create an empty k2 item and create a new menu item linking to this k2 item. Then assign your grid module to show on this new menu item.

We might need to hide empty white space with a css code.

Although it seems like a long procedure it is quite quick solution.

Let me know if you need further help on this.
User avatar
Platinum Boarder

GK User
Mon Oct 07, 2013 8:22 pm
Reply with quote
Report this post
Thanks Norman i'm going to try this solution.

See you

Fabio
User avatar
Junior Boarder

GK User
Mon Oct 07, 2013 8:43 pm
Reply with quote
Report this post
Let me know if you need further help.
User avatar
Platinum Boarder


cron