Jump to content

Moving (Default) placement of share buttons,


jojobean

Recommended Posts

  • 2 weeks later...

Edit Template: Forum > Front > Topics > Topic

{{if !$topic->container()->disable_sharelinks}}
	<hr class='ipsHr'>
	{template="sharelinks" app="core" group="global" params="$topic"}
{{endif}}

Above is the code for the sharelinks that are found at the bottom of the page, you can leave them there if you want (or delete those lines), but to add additional links to page, and align right (not tested on mobile). Just add the following code:

{{if !$topic->container()->disable_sharelinks}}
<div class='ipsPos_right ipsResponsive_noFloat'>
  {template="sharelinks" app="core" group="global" params="$topic"}
</div>
{{endif}}

after these lines:

			{{if count( $topic->tags() ) OR ( $topic->canEdit() AND $topic::canTag( NULL, $topic->container() ) )}}
				{template="tags" group="global" app="core" params="$topic->tags(), FALSE, FALSE, ( $topic->canEdit() AND $topic::canTag( NULL, $topic->container() ) ) ? $topic->url() : NULL"}
			{{endif}}
		</div>

This is just a quick glance without testing, should get the job done though.

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...