PDA

View Full Version : websnapr and the cat


mk10
11-15-2006, 04:34 PM
How can this service simply be integrated in esyndicat?

http://www.websnapr.com/previewbubble/

Dave Baker
11-15-2006, 05:41 PM
Hello mk10,
Copy the contents of the previewbubble.zip (http://www.websnapr.com/previewbubble/previewbubble.zip)
in ROOT of the directory.
Open previewbubble.js and find line

var bubbleImagePath = '/images/bg.png';

Replace with this line

var bubbleImagePath = '/bg.png';

Open templates/yourTemplate/link-display.tpl and find code

<div class="title">{if $link.crossed}@{/if} <a href="{$link.url}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{if $config.html_tags}{$link.title}{else}{text_html aText=$link.title}{/if}</a>

Replace with this code

<div class="title">{if $link.crossed}@{/if} <a class="previewlink" href="{$link.url}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{if $config.html_tags}{$link.title}{else}{text_html aText=$link.title}{/if}</a>

Open templates/yourTemplate/header.tpl and find code

<link rel="stylesheet" type="text/css" href="{$templates}/css/style.css" />

Below this code add

<script type="text/javascript" src="previewbubble.js"></script>

mk10
11-16-2006, 09:51 AM
thanks dave. works fine.

Dave Baker
11-17-2006, 04:49 PM
You're welcome!