TimberFloorAu
01-11-2010, 10:00 PM
Easy to do.
Takes 1 minute max.
Admincp > Styles and Templates > Search In Templates
Locate headinclude.
at very bottom of page add:
<script type="text/javascript">
/***********************************************
* Bookmark site script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>
Click Save
Then Admincp > Styles and Templates > Search In Templates
Locate: navbar
find this code
</ul>
<vb:if condition="$vboptions['enablesearches']">
<div id="globalsearch" class="globalsearch">
Above it add:
<li><a class="navtab" href="javascript:bookmarksite('British Expats', 'http://www.yobromofo.com')">Bookmark this site!</a></li>
Change 'British Expats' to your site name
Change 'http://www.yobromofo.com' to your domain
Click Save
Done
Added: For BOOKMARK this PAGE
Change second template edit to:
<li><a class="navtab" href="javascript:bookmarksite('British Expats', (document.location.href))">Bookmark this Page</a></li>
Change 'British Expats' to your site name
Takes 1 minute max.
Admincp > Styles and Templates > Search In Templates
Locate headinclude.
at very bottom of page add:
<script type="text/javascript">
/***********************************************
* Bookmark site script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>
Click Save
Then Admincp > Styles and Templates > Search In Templates
Locate: navbar
find this code
</ul>
<vb:if condition="$vboptions['enablesearches']">
<div id="globalsearch" class="globalsearch">
Above it add:
<li><a class="navtab" href="javascript:bookmarksite('British Expats', 'http://www.yobromofo.com')">Bookmark this site!</a></li>
Change 'British Expats' to your site name
Change 'http://www.yobromofo.com' to your domain
Click Save
Done
Added: For BOOKMARK this PAGE
Change second template edit to:
<li><a class="navtab" href="javascript:bookmarksite('British Expats', (document.location.href))">Bookmark this Page</a></li>
Change 'British Expats' to your site name