Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
jojobean Posted October 1, 2017 Posted October 1, 2017 Hi. Moving (Default) placement of share buttons, Can someone describe how we can move the default position of the share buttons from the bottom of the page to the top? Say somewhere in this region?
Aetherdan Posted October 12, 2017 Posted October 12, 2017 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.
jojobean Posted November 27, 2017 Author Posted November 27, 2017 I've looked everywhere for those lines. Would it help if I asked to have them placed here? like most other sites, Right under the topic title? Thanks, Dan,
Recommended Posts
Archived
This topic is now archived and is closed to further replies.