×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Restyle Read More

Restyle Read More 10 years 5 months ago #26377

  • Simon Wells
  • Simon Wells's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 40
  • Thank you received: 0
Hi Daniel,

I would like to modify the Read More which is displayed in the bubble/pop up when a marker is clicked.
My template uses bootstrap, and so want to restyle the read more link to use a btn btn-primary class, but I can not see which file is used to create it.
I would be using a template override to achieve this and just need to know which view/php file is needed to be changed.

Thanks.

Simon

Restyle Read More 10 years 5 months ago #26380

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Simon,
You can use a template override for this, but you'll have to override 2 files as I use a require to load the description.
The files to override are:
D:\Development\Joomla\compojoom\com_hotspots\source\components\com_hotspots\views\hotspot\tmpl\single_raw.php
D:\Development\Joomla\compojoom\com_hotspots\source\components\com_hotspots\views\hotspot\tmpl\description_raw.php

Basically you need to override just the description raw file, but single_raw also need to be placed in the template html folder for it to load the override.

Regards,
Daniel

Restyle Read More 10 years 5 months ago #26383

  • Simon Wells
  • Simon Wells's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 40
  • Thank you received: 0
Hey Daniel,

Thanks for the reply.
OK, so I created the over ride, tested by adding a <!-- comment --> to make sure it loads, which it does.
However, the link falls outside of the description_raw code, see attachment
Attachments:
  • Page:
  • 1
Time to create page: 0.132 seconds