Slider Button

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
Fri May 31, 2013 10:44 pm
Reply with quote
Report this post
I'd like to add a second button to the right of the button which i have modified in the .ini file on the main background slider.

Next to where it says "make a contribution" I would like to have an arrow that points down. I can figure that part out, but i just need the second button in place!

http://stpeteartsalliance.org/final/

Thanks!
User avatar
Expert Boarder

GK User
Sat Jun 01, 2013 9:55 am
Reply with quote
Report this post
Sadly it can't be done the easy way. To display this slideshow, Image Show GK4 is beeing used, and it supports only one button/link per slide :(.
User avatar
Moderator

GK User
Sat Jun 01, 2013 4:16 pm
Reply with quote
Report this post
What about editing Image show GK4? I only use this mod once on this website so it wouldn't effect anything else on the site?

Should I head over to the forum for that module?
User avatar
Expert Boarder

GK User
Sat Jun 01, 2013 9:28 pm
Reply with quote
Report this post
I am not sure what the contents of the second button is going to be but you can add the container in following file and after following code. Below code is the "What We DO" button.

File: /modules/mod_image_show_gk4/styles/gk_creativity/view.php
Line: 140
Code
Code: Select all
               <a href="<?php echo $link; ?>" class="gkLearnMore" data-anim="slidedownbtn"><?php echo $link_text; ?></a>

Please note this is in a php for each loop so your button will be repeated for each slide.

See you around...
User avatar
Platinum Boarder

GK User
Sat Jun 01, 2013 10:29 pm
Reply with quote
Report this post
I added:

Code: Select all
<a href="<?php echo $link; ?>" class="gkLearnMore" data-anim="slidedownbtn"><?php echo $link_text; ?></a>


At line 141 to try to replicate the button but did not succeed. I am a bit nervous about messing with whole containers, I couldn't even tell where that div started.

Thanks anyway. I may try to tap my PHP guy for this. I was trying to save a little money by tapping you guys in the forum first!
User avatar
Expert Boarder

GK User
Sat Jun 01, 2013 11:00 pm
Reply with quote
Report this post
Try to add simple link first to see no other css or js effects this.

Code: Select all
<a href="#" >My New Link</a>
User avatar
Platinum Boarder


cron