How to change links on colored squares at the footer ?

GK User
Thu Feb 26, 2015 11:09 am
Hi,
at the very bottom of the website, I have couloured squarres which links are "#"
is it possible to change the link for a color (green for example) so that it links to the backend login for example ?
that would be great.
thanks
User avatar
Gold Boarder

GK User
Thu Feb 26, 2015 3:23 pm
User avatar
Platinum Boarder

GK User
Thu Feb 26, 2015 4:41 pm
Oscar,
I'm not looking for changing the css, I'm ok with that - but the URL link.
Firebug or so won't tell me what file to change for that issue.
Every squares have he same link "#"
User avatar
Gold Boarder

GK User
Thu Feb 26, 2015 4:46 pm
Ok I've found the file
It is in /layouts/blocks/footer.php
lines 23 to 28
;)
User avatar
Gold Boarder

GK User
Thu Feb 26, 2015 5:21 pm
... But link doesn't work. (???) :shock:
I've changed
Code: Select all
<a href="#" id="gkColor5"><?php echo JText::_('TPL_GK_LANG_COLOR_5'); ?></a>

into
Code: Select all
<a href="/administrator" target="_blank" id="gkColor5"><?php echo JText::_('TPL_GK_LANG_COLOR_5'); ?></a>

I can then click on the square, link is ok but nothing happens. I don't reach the BO login.
User avatar
Gold Boarder

GK User
Thu Feb 26, 2015 6:09 pm
try to use full URL in HTML code.

and show me your site URL
User avatar
Platinum Boarder

GK User
Fri Feb 27, 2015 2:30 pm
Damn, it doesn't work even with full URL.
I added a div at the end of the file and created a classical href. That works
I send you the URL by PM, but you can try with demo steackhouse template. Try to transform links "#" on layouts/block/footer.php at lines 23 / 28 and test on frontend. You can click but there's no response, right ?
Regards
User avatar
Gold Boarder

GK User
Fri Feb 27, 2015 6:10 pm
Aaaaa those small squares...
sorry but it was stupid idea to edit them, they were created for changing color style only.

I suggest to add there new module position instead and publish Custom HTML, more elastic solution.
User avatar
Platinum Boarder


cron