solved 'Share This' at top of Page

Ceri
Ceri
@adolygwr
9 years ago
370 posts
Would it be possible to include an option for the Share This module to appear at the top of the page ( underneath the title ) on all modules? It's just that, particularly with long blog posts - interviews etc, some readers don't reach the bottom of the page and you want to grab that Like or Share while you can :) Also...is it possible to include the FB Like button?


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 03/30/16 10:38:38PM
michael
@michael
9 years ago
7,715 posts
@perrie had the same question here:
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/36045/share-this-position-question

It is going to require template alteration.

The way the module system ties in with the skin system is that the skin system puts a (modules add your stuff here) location beneath the main details. That allows modules like the 'share this' module to get their stuff out to the page without any "To install this module, make these changes to your template....." type instructions.

Since you're not wanting it to come out where the other stuff is, you'll need to make the adjustments via the templates.

Instructions included in the other post.
Ceri
Ceri
@adolygwr
9 years ago
370 posts
k...many thanks...I think I follow that. But what about the Like button? Can it not be included? I think this is a vital issue vis a vis marketing and promo. I have posts on my old (soon to be ditched thank god) Ning site which have 2000+ likes. Those are the ones I send as examples to potential advertisers. Lots of FB likes sells advertisers. The problem is that many people are less likely to click Share because the post will then appear in their FB streams whereas Like commits them to nothing, its just a pat on the back. However that maybe having 'Like 2k' at the top of your page looks good and promotes a bandwagon effect. Great for traffic, great for advertisers etc etc :)


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 12/17/15 07:47:17PM
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Also it strikes me that I desperately need people to like my top level nav pages with a vengeance i.e. the pages I am building with site builder. How do I get 'share this' on those pages right at the top?


--
Ceri Shaw - AmeriCymru
michael
@michael
9 years ago
7,715 posts
Docs: "ShareThis"
https://www.jamroom.net/the-jamroom-network/documentation/modules/2598/sharethis

Let me know if there is something that needs to be added.
Ceri
Ceri
@adolygwr
9 years ago
370 posts
What would ?????? be for item id and module on site builder pages? Sorry...I just dont know what to substitute!


--
Ceri Shaw - AmeriCymru
michael
@michael
9 years ago
7,715 posts
Got the docs updated to include using the code directly from sharethis so you can add it to pages that are not items of a particular module.

Docs: "ShareThis"
https://www.jamroom.net/the-jamroom-network/documentation/modules/2598/sharethis

Let me know if its still missing anything or unclear.
Ceri
Ceri
@adolygwr
9 years ago
370 posts
ok...many thanks...I have it at the top of the page in most modules now although I used the sharethis code wrapped in literal tags on all the module pages. I did likewise on non module pages BUT there is a problem with the like button on those pages. The like button dialog box does not open properly on chrome and although it does on FF you have to use a scroll bar to fully reveal it. Included a screenshot below together with the code I used on the pages.

Here is the url from the screenshot below so you can see exactly what is happening:- http://americymrunet.jamroomhosting.com/out-and-about-in-oregon

Also I cant work out which template to use for profile pages and group pages. Group discussions work fine.


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 12/18/15 07:51:59PM
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Update: Worked out the profile template addition :) Still stuck on groups.


--
Ceri Shaw - AmeriCymru
michael
@michael
9 years ago
7,715 posts
What is happening with that facebook added dialog is that its being added, but it overflows the row box, so scroll bars are coming in.

If you click LIKE then scroll down over that section you will see the whole thing comes into view.

The problem is since its at the very bottom of that top row, (looks like a 12 col) the new stuff is hidden when it comes in.

If you were to put something underneath that section to give the facebook added section some space, it would show. Or if you added it above the images, it would show.

Are either of those options?
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Many thanks....I went for option B :) With a bit of tweaking it now works perfectly on all top level nav pages.

Just two small points:-

In the documentation could you specify what the item id number should be or explain its significance?

Can you tell me which template I should add the luv button code to so it appears on group index pages? Cant seem to find that anywhere.

Other than that I'm going to mark this discussion closed. Jamroom scores again :)


--
Ceri Shaw - AmeriCymru
michael
@michael
9 years ago
7,715 posts
Added a section to the docs:
https://www.jamroom.net/the-jamroom-network/documentation/modules/2598/sharethis#item-id

As to which template is responsible for where, theres a good tool for knowing that at:
ACP -> MODULES -> DEVELOPER -> DEVELOPER TOOLS -> GLOBAL CONFIG -> Template Name In Source

It will print the START and FINISH of each of the template in the source code of the page your interested in.