Right Side Call Block Linkable?

Permalink Browser Info Environment
Is there a way to have the right calls link directly to the page? Client feel that the user will get confused as to clicking and clicking again. Thoughts?

Type: Discussion
Status: New
creativesolutions
View Replies:
c5mix replied on at Permalink Reply
c5mix
Yeah you could do that. Look for this code in the view.php file of whatever template you're using (for example, if your using the light look in c5mix_featured_content_slider/blocks/page_list/templates/featured_content_slider_light/view.php):
<li class="ui-tabs-nav-item<?php if ($e == 1) { ?> ui-tabs-selected<?php } ?>" id="c5mix-featured-slider-<?php echo $bID?>-nav-fragment-<?php echo $e?>"><a href="#c5mix-featured-slider-<?php echo $bID?>-fragment-<?php echo $e?>"><?php if ($img) { ?><img src="<?php echo $thumb->src; ?>" width="<?php echo $thumb->width; ?>" height="<?php echo $thumb->height; ?>" alt="<?php echo $title?>" /><?php } ?><p><?php echo $title?></p></a></li>

and change the value of the href from:
#c5mix-featured-slider-<?php echo $bID?>-fragment-<?php echo $e?>

to this:
<?php echo $nh->getLinkToCollection($cobj)?>
CityMind replied on at Permalink Reply
CityMind
I have tried to do this and it just blows everything up in the latest version of the module.
c5mix replied on at Permalink Reply
c5mix
it shouldn't break anything. What do you mean by "just blows everything up"? Is it throwing an error?
CityMind replied on at Permalink Reply
CityMind
I pulled one of the blocks (light) out and made a copy in the outer blocks folder so I could customize the pull a bit. It works fine - modified it to work with the Page List + module so I could pull content based on a query rather than just a location. All of that works just fine. If I change the one place you suggest, all of a sudden the animation quits working and the sizing of the of right side thumbnails goes crazy as the animation tries to start. I think it is because it is removing the #c5mix...... prefix on the link which effects the js from interacting with the DOM properly. Am I wrong?
c5mix replied on at Permalink Reply
c5mix
That really shouldn't affect that. Can you send me a link to a page that has this on it so I can take a look?
CityMind replied on at Permalink Reply
CityMind
dpowerinc.allaboutsarasota.com (as is)
dpowerinc.allaboutsarasota.com/test (with code changed and broken)
c5mix replied on at Permalink Reply
c5mix
Well, I see that it's not working fully but I don't see the issue with the thumbnail like you mentioned. I guess with the newer version of jquery tabs that it's using now (vs before my initial post) it won't work unfortunately.
anete replied on at Permalink Reply
anete
My client is also wanting the thumbnails on the right to link into the appropriate pages. Is there an update on how I could do this?
Thanks.
c5mix replied on at Permalink Reply
c5mix
You can try what I mentioned above. Otherwise, not really. Because that kind of defeats the purpose of being able to click through the "tabs/slides"

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.