View Issue Details

IDProjectCategoryView StatusLast Update
0002914Composrcataloguespublic2016-11-04 17:05
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status closedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002914: Catalogue entries in image grid view sometimes does not have URL hyperlink
DescriptionI've reported this issue before and then thought it fixed itself via. cache, but the issue is still there randomly even after I cleared cache.

https://rp.lovinity.org/catalogues/category/rp-store-home/powerups.htm

Issue: This entry does not have a hyperlink like it should on the picture to its entry.
Additional InformationCurrently I'm using a custom grid image template, but this issue was tested and confirmed with Composr's original templates too.

Attached: Two HTML source files. First one is source with custom templates. Second one (_2) is with original templates.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2016-10-30 17:09

administrator  

sources.zip (43,894 bytes)

Chris Graham

2016-10-30 20:32

administrator   ~0004505

It's not actually a bug, it's by design.

But I've added more documentation about it, which describes a workaround, and I've deployed the workaround for you.

Docs follow...

Note that if you set all fields of your catalogue to "Display in category-views" and disable comments and trackbacks, there will be no links to the entry view screen. This is due to there being little purpose in this screen because everything already displays on categories.
If you want to change this behaviour then you can edit the relevant display template (e.g. [tt]CATALOGUE_DEFAULT_GRID_ENTRY_WRAP.tpl[/tt]) to replace [tt]{VIEW_URL}[/tt] with [tt]{$PAGE_LINK,_SEARCH:catalogues:entry:{ID}}[/tt] and [tt]{VIEW_URL*}[/tt] with [tt]{$PAGE_LINK*,_SEARCH:catalogues:entry:{ID}}[/tt].

Patrick Schmalstig

2016-10-31 03:53

administrator   ~0004506

Ah okay. Thank you. I just now noticed that entry had comments disabled when it should have had them enabled :P

Patrick Schmalstig

2016-11-02 01:12

administrator   ~0004510

Actually Chris, now that I think of it, this may be a design flaw.

Mobile users do not get tool tips, so this kind of functionality would prohibit mobile users from ever being able to view the content of such catalogue entry.

...unless you made an exception for mobile users.

Chris Graham

2016-11-04 17:05

administrator   ~0004517

Agreed, the template will now make an exception for mobile users if there's tooltip data.

Issue History

Date Modified Username Field Change
2016-10-30 17:09 Patrick Schmalstig New Issue
2016-10-30 17:09 Patrick Schmalstig File Added: sources.zip
2016-10-30 20:32 Chris Graham Note Added: 0004505
2016-10-30 20:32 Chris Graham Status non-assigned => closed
2016-10-30 20:32 Chris Graham Assigned To => Chris Graham
2016-10-30 20:32 Chris Graham Resolution open => fixed
2016-10-31 03:53 Patrick Schmalstig Note Added: 0004506
2016-11-02 01:12 Patrick Schmalstig Note Added: 0004510
2016-11-04 17:05 Chris Graham Note Added: 0004517