1. Konstra
  2. Thursday, 11 June 2020
Hello,

For my project, I use the konstra template, and I need to move the social icons displayed in each content: by default they are displayed in the header -> I want to keep their display, but change their location.

So I kept the display of social networks in the parameters : Blog / Details

And then, to move them, I edit the default.php file :
\templates\konstra\html\com_content\article\default.php

and I move this line to the place I want :
echo JLayoutHelper::render('joomla.content.social_share', $this->item);

can you confirm that this method is correct and that this modification will not be overwritten during Template updates please

If someone can confirm the recommended method to me please,

Thanks,

Agathe.
Accepted Answer
Hello pulsar,
Thank you for your question. But it is not recommended to edit the default files. This will be lost or create issues when any update will come.
You can create the same social icon module by following these steps.
1. Go to Modules and make a duplicate of Offcanvas Menu
Screenshot_22.png

2. Change the name and position.
Screenshot_23.png

3. Delete everything except Icons Group
Screenshot_24.png

4. Make it published and save everything.
Screenshot_26.png

5. Now use your module to any page by using Joomla Module addon.
Screenshot_27.png

- Best regards
Attachments (5)
  1. more than a month ago
  2. Konstra
  3. # Permalink
Responses (2)
Hello Ofi Khan,


thank you so much


sorry for the late,


Agthe
  1. more than a month ago
  2. Konstra
  3. # 1


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.