Collage and clickable images
- Posted by Janusz (3) Offline
I need to make my thumbnail clickable with an article url.
Any clues?
1 year 8 months ago #1
by Janusz
Any clues?
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5260) Offline
Hi, sorry I don't really understand your question, do you want to use a collage theme by switching the thumbnail mode option to the 'thumbnail image' instead of 'thumbnail as background'?
1 year 8 months ago #2
by TemplatePlazza
Please Log in or Create an account to join the conversation.
- Posted by Janusz (3) Offline
- Posted by TemplatePlazza (5260) Offline
Please Log in or Create an account to join the conversation.
- Posted by Janusz (3) Offline
Yes, I am. But there is only a title clickable and redirecting to specific article. I need whole image area clickable - click on an image and redirects to specific article.
I just need any clue where and what I should change/add in the module code.
1 year 8 months ago #5
by Janusz
I just need any clue where and what I should change/add in the module code.
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5260) Offline
Hi, You can modify the look of the module without changing the original code by creating template override. You can follow this video if you don't know how to create template override
You need to edit the collage.php file and move this link part (that currently wrapping the article title):into the container of the article item.
Unlike other themes, collage has a codebase that is quite complicated and complex, but if you are familiar with php, it shouldn't be that difficult.
1 year 8 months ago #6
by TemplatePlazza
You need to edit the collage.php file and move this link part (that currently wrapping the article title):
<a href="'.$item->link.'" itemprop="url">
Unlike other themes, collage has a codebase that is quite complicated and complex, but if you are familiar with php, it shouldn't be that difficult.
Please Log in or Create an account to join the conversation.