#3323 - Add links on box headers and thumbnails

Identifier #3323
Issue type Feature request or suggestion
Title Add links on box headers and thumbnails
Status Completed
Handling member Chris Graham
Addon core
Description Some people will want to click box headers or thumbnails to get to an entry, rather than looking for a "read more" link.

Add this consistently on all the content type boxes.
Steps to reproduce

Additional information diff --git a/themes/default/templates/NEWS_BOX.tpl b/themes/default/templates/NEWS_BOX.tpl
index 2f5821a63..b36092b32 100644
--- a/themes/default/templates/NEWS_BOX.tpl
+++ b/themes/default/templates/NEWS_BOX.tpl
@@ -22,13 +22,13 @@
{+END}
{+END}
{+START,IF,{$NOT,{$GET,skip_content_box_title}}}
- <h3>{$GET,content_box_title}</h3>
+ <h3><a class="non_link" href="{FULL_URL*}">{$GET,content_box_title}</a></h3>
{+END}

{+START,IF,{$AND,{$NOT,{BLOG}},{$IS_NON_EMPTY,{AUTHOR_URL}}}}
<div class="newscat_img newscat_img_author">
{+START,IF,{$NOT,{$MOBILE}}}{+START,IF_NON_EMPTY,{CATEGORY}}
- <img src="{$ENSURE_PROTOCOL_SUITABILITY*,{IMG}}" alt="" />
+ <a class="non_link" href="{FULL_URL*}"><img src="{$ENSURE_PROTOCOL_SUITABILITY*,{IMG}}" alt="" /></a>
{+END}{+END}
</div>
{+END}
@@ -36,7 +36,7 @@
{+START,IF,{$NOT,{$IS_NON_EMPTY,{AUTHOR_URL}}}}
<div class="newscat_img newscat_img_member">
{+START,IF,{$NOT,{$MOBILE}}}{+START,IF_NON_EMPTY,{$AVATAR,{SUBMITTER}}}
- <img src="{$ENSURE_PROTOCOL_SUITABILITY*,{$AVATAR,{SUBMITTER}}}" title="{!AVATAR}" alt="{!AVATAR}" />
+ <a class="non_link" href="{FULL_URL*}"><img src="{$ENSURE_PROTOCOL_SUITABILITY*,{$AVATAR,{SUBMITTER}}}" title="{!AVATAR}" alt="{!AVATAR}" /></a>
{+END}{+END}

{+START,IF,{$NOT,{$MOBILE}}}{+START,IF,{$CNS}}{+START,IF_NON_EMPTY,{$CNS_RANK_IMAGE,{SUBMITTER}}}
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated