Testimonials - no links displaying

Permalink
Hi,
I have a number of testimonials on a site,
I have filled all boxes except "position",
but no company url/links are being displayed.

have I done something wrong? How do I get the links to function.

Thanks

1 Attachment

slightlyme
 
siton replied on at Permalink Reply
siton
Try to inspect element HTML in chrome (right click) - and copy --> paste the line of code her.
1. Maybe you working on custom template without this feature.
2. View problem - your <a> tags dont look clickable (CSS issue)
3. Wrong syntax

In the HTML you need to see something like this:
<a href="www.tazakifoods.com">Company Name</a>

This line of code manage this issue (siteName/concrete/blocks/testimonial/view.php - line 22)
<?php if ($position && $company && $companyURL): ?>
            <div class="ccm-block-testimonial-position">
                <?php echo t('%s, <a href="%s">%s</a>', h($position), $companyURL, h($company))?>//Line 22
            </div>
<?php endif; ?>

Change line 22 to this if you want to open the link in new window ("target="_blank")
<?php echo t('%s, <a href="%s" target="_blank">%s</a>', h($position), $companyURL, h($company))?>
edbeeny replied on at Permalink Reply
edbeeny
I think that is the way it is setup.
Looks like position is the title for the link.

also noticed, you need http:// in front of the company url