1. scherr
  2. Commercial Templates
  3. Monday, 16 December 2013
  4.  Subscribe via email
I like the grid gallery a lot (in fact it was one of the reasons to buy the renovate template). Using the modules backend it´s ony possible to link to Menu-Items, which is a quite unpleasant restriction. Is it possible to directy link to an article with a hack? Maybe this would be a good feature for future versions. I guess most people will use this as a teaser for articles and not for menu items.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi David

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi !

I did try this, but I only get this error message:

Error: Call to undefined method Joomla\CMS\Document\ErrorDocument::countModules(): Category not found

I did check twice, Im pretty sure the modifications was alright, but Im using Calibra Grid Gallery (dunno if its suppose to make a difference)

Any idea ? :O
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary FTP and administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran
I have tried this solution but I only get a 404-page when clicking the gridgallery.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Edgar,

see the second post in this thread, made bij Ciaran.
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
In the J51Gridgallery wich is in the Habitat template, there is no space to place the Link.
How can i place an external link?
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Just after the link (text) you can also set the following: " target="_blank.
In this way, you can leave the image links on the same site and open the textlinks in a new window.
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
To do so you can replace in the above code...


<a href="/<?php echo $image_url[$cur_img]; ?>" target="<?php echo $target_url[$cur_img]; ?>" >


Replace with..


<a href="/<?php echo $image_url[$cur_img]; ?>" target="_blank" >


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

is there a possibility in addition to link to an external page and open this in a new tab in the browser?
  1. more than a month ago
  2. Commercial Templates
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To change the 'menu item' field to a text field allowing you to add the URL of your choice open up your modules mod_j51gridgallery.php (../modules/mod_j51gridgallery/mod_j51gridgallery.xml) and replace each instance of the following....


type="menuitem"


with....


type="text"


In your modules default.php (../modules/j51_gridgallery/tmpl/default.php) try replacing the following (approx. line 126)...


<a href="/<?php echo JRoute::_("index.php?Itemid={$image_url[$cur_img]}") ?>" target="<?php echo $target_url[$cur_img]; ?>" >


with...


<a href="/<?php echo $image_url[$cur_img]; ?>" target="<?php echo $target_url[$cur_img]; ?>" >


You can then add a URL rather than selecting a menu item for each image.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 10
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.