Hello fellow Opencarters :-)
I need of your advice and support please.
The module https://www.opencart.com/index.php?rout ... load_id=55 I recently installed is working as it should be but I am personally not happy with how certain aspects of the event pages look and would like to edit it.
The shop in questions: www.redraglyn.com and the calendar is in the left column.
When clicking on, for example July 19 it brings up...
www.redraglyn.com/index.php?route=infor ... 2018-07-19
This is a condensed version of the event description and i don't like how...
1. customers don't know you have the click the event name to bring up the full description
2. It's squishy, with some spaces removed
So I would like to make the description show in full.
I have asked the developer for assistance and have only been emailed the links to the files to edit.
catalog\view\theme\default\template\information\event.twig
catalog\view\theme\default\template\information\event_sub.twig
catalog\view\theme\default\template\information\ events.twig
In catalog\view\theme\default\template\information\ events.twig
I found on line 36: <p>{{ v.shortDesc }}</p>
I think it might be best for me, if that just has the normal event details and not the condensed short version.
I will just keep all future entries short lol
My question to you all is, do i replace that v.short.Desc and if so, with what? so the normal event details show or how do I go about changing it so what i want shows?
Thank you :-)
You are requesting information about a downloaded extension. While the extension link was not provided on the first post, it would be suggested to contact the extension developer in order to know the best option with that specific variable.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
OOops sorry, here is the link to the extension...
https://www.opencart.com/index.php?rout ... load_id=55
Thank you straightlight for your reply, I did contact/ask the developer, but I was only emailed which files to edit
https://www.opencart.com/index.php?rout ... load_id=55
Thank you straightlight for your reply, I did contact/ask the developer, but I was only emailed which files to edit
An awesome oc forum member solved the issue by...
On this file:
catalog/controller/information/event.php
Replacing this:
With this:
Thank yo so very much xxvirusxx I appreciate your help and support :-)
On this file:
catalog/controller/information/event.php
Replacing this:
Code: Select all
$data['available_events'][$k]['shortDesc'] = substr(strip_tags(html_entity_decode($v['description'])), 0, 700) . "...";
Code: Select all
$data['available_events'][$k]['shortDesc'] = html_entity_decode($v['description'], ENT_QUOTES, 'UTF-8');
Welcome.
And that developer can kill yourself for great support....
And..by the way..I am hardware IT...
And that developer can kill yourself for great support....
And..by the way..I am hardware IT...
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 111 guests