View Issue Details

IDProjectCategoryView StatusLast Update
0003323Composrcorepublic2018-03-29 01:33
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003323: Add links on box headers and thumbnails
DescriptionSome 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.
Additional Informationdiff --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>{FULL_URL*}</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}}}
TagsNo tags attached.
Time estimation (hours)2
Sponsorship open

Activities

Chris Graham

2018-02-06 23:34

administrator   ~0005446

These templates...

CALENDAR_EVENT_BOX
CATALOGUE_DEFAULT_FIELDMAP_ENTRY_WRAP
DOWNLOAD_BOX
GALLERY_BOX
NEWS_BOX
IOTD_BOX
GALLERY_IMAGE_BOX
GALLERY_VIDEO_BOX

BLOCK_MAIN_CONTENT
SIMPLE_PREVIEW_BOX

Issue History

Date Modified Username Field Change
2017-07-24 22:13 Chris Graham New Issue
2018-02-06 23:34 Chris Graham Note Added: 0005446
2018-03-29 01:33 Chris Graham Status non-assigned => resolved
2018-03-29 01:33 Chris Graham Resolution open => fixed
2018-03-29 01:33 Chris Graham Assigned To => Chris Graham