You need to configure your s9y to use 'www.rizzler.se' as the base URL instead of 'rizzler.se'.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
How did you add that digg stuff to your entry? Via the entries.tpl file? There you must use "{$entry.link}" for the URL variable!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Yeah, that should do it! In that variable you should see the link to an entry, if you put that into the entries.tpl file.
Maybe add another line of code that reads "// test" inside the javascript, so that you can see if you are editing the right file?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
i added the code into entry.pl so it looks like bellow
<div class="serendipity_entry_body">
{$entry.body} <br><br><script type="text/javascript">digg_url = '{$entry.link}';</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
{if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
<span class="continue_reading"><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a></span></div>
{/if}
now when i visit http://www.rizzler.se the digg button is bussted giving me an error
"javascript:alert("Digg.com Digg This Button Error\n\nThe code implemented by the creator of this page has the following problem:\n\nThe URL does not appear to be a properly formed hostname.\n\nVisit http://digg.com/tools/integrate for more help in debugging.")
and if i change digg_url = '{$entry.link}' to digg_url = 'www.rizzler.se' the digg button shows but gives no link erlier, is it {$entry.link} messing it up?
instead? I didn't know that digg required the full HTTP-address, so the $entry.link only contained a relative link.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/