PDA

View Full Version : Moving Facebook Connect Button to Blog and Article Templates


Mondi
11-07-2011, 07:32 PM
Hi all -

I already found some posts on this topic, notably the one written by Lynne here: https://www.vbulletin.com/forum/show...avbar-template

I would like to move the Facebook Connect button to the bottom of each Blog and Article so that visitors are guided almost automatically to this button after reading my publications.

Currently, visitors leave unregistered because they simply don't make the 'move' toward to the current location of this button, which is on top of each page.

The following attachment shows where I'd like the button to go permanently, as part of both Blog and Article template(s):



From Lynne's post I understand that, after following her procedure, the following code must be inserted:

<div class="body_wrapper"> <div id="breadcrumb" class="breadcrumb"> <vb:if condition="$vboptions['enablefacebookconnect']"> <ul style="float:right; clear:none;"> {vb:raw facebook_header} </ul> </vb:if> <ul class="floatcontainer">

Could anyone please tell me which templates must be modified, and where exactly the code must be inserted in these templates?

[NOTE: The attachment shows the preferred location for Blogs but should also serve as an example for Articles (CMS)]

Thanks heaps in advance!

Mondy

PS: Also published as a question at vBulletin Forum here:

https://www.vbulletin.com/forum/showthread.php/390496-Moving-Facebook-Connect-Button-to-Blog-and-Article-Templates

Mondi
11-08-2011, 10:02 PM
Hi all -

I am getting the feeling I am asking either an unpopulair question or one that cannot be answered...

:)

Still looking for expert advise....

Lynne
11-08-2011, 11:10 PM
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

Mondi
11-09-2011, 12:47 AM
You're wonderful Lynne -

Thanks heaps for that response!

Will give that a shot this afternoon...

Take care.