Search in support tickets

#564 – Using clarity template for component only

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 02 April 2019 11:23 CEST
zevjanglo
Joomla! version :
PHP version :
AdsManager version :

Hi. I bought your full premium package.
My site is using a different template than yours, but I'd like for the adsmanager component itself to use the adsclarity template. How can we do that?

The layout of the categories at, say, http://demo.joomprod.com/adsclarity/adsmanager-list is so much nicer than at http://demo.joomprod.com/products/adsmanager-list

I should be able to use that even if my site template isn't adsclarity. How can I do that?

Thanks.
Custom Fields
Joomla Version
3.9.4
PHP Version
7.1.27
Product
Adsclarity
Product Version
3.2.2
Tuesday, 02 April 2019 13:10 CEST
loic
Hello,

In the menu item pointing to the adsmanager, page, you can choose to use the adsclarity template.

However, it will also change the other elements like the menus and footer.

Another solution is to copy-paste the content of the folder templates/adsclarity/html/com_adsmanager/ to your template, but you will also need to load the template css for that to work.

Best regards.
 
Tuesday, 02 April 2019 13:13 CEST
zevjanglo
Great. Can you give me the exact step by step to load the template css for that to work, as you said?
Wednesday, 03 April 2019 13:13 CEST
loic
Hello,

In the view, you need to add the css at the beginning of the file :
$document = JFactory::getDocument();
$document->addStyleSheet(JUri::base().'/templates/adsclarity/css/style.css');


Best regards.
 

Please rate this ticket

Help us improve our support services by rating this ticket from one to five stars, according to how much you are satisfied from the handling of this ticket, one being not satisfied and five being very satisfied.