Recent Topics

1 Jan 30, 2007 10:41    

Hi!

I am not a coder but i want put a botton in my blog!

For wordpress is this:

<a href="http://www.linkk.com.br/submit.php?url=<?php the_permalink()?>" title="Adicionar esta notícia no Linkk" >
<img src="http://www.linkk.com.br/img/linkk.gif" alt="Adicionar esta notícia no Linkk" /></a>

Then i think that B2EVOLUTION will this:

<a href="http://www.linkk.com.br/submit.php?url=<?php $Item->anchor();?>" title="Adicionar esta notícia no Linkk" >
<img src="http://www.linkk.com.br/img/selolinkk.gif" alt="Adicionar esta notícia no Linkk" /></a>

But don't work!

Anybody have any idea?

PS: Excuse my poor english!

2 Jan 30, 2007 11:40

Which version of b2evolution are you using? Syntax for items permalinks changed after 1.6, I think.

Now you have to use:

<?php echo $Item->permanent_url()?>

Check this [url=http://forums.b2evolution.net//viewtopic.php?t=8556&highlight=digg]post[/url] for a hack that adds several social networks buttons to your blog posts.

I'm using it with b2evo-1.9.1 and it works ok, plus I added a couple of spanish speaking sites.

3 Jan 30, 2007 16:25

Hi Austriaco!

Austriaco wrote:

Which version of b2evolution are you using? Syntax for items permalinks changed after 1.6, I think.

Now you have to use:

<?php echo $Item->permanent_url()?>

I am using 1.8.7

Check this [url=http://forums.b2evolution.net//viewtopic.php?t=8556&highlight=digg]post[/url] for a hack that adds several social networks buttons to your blog posts.

I'm using it with b2evo-1.9.1 and it works ok, plus I added a couple of spanish speaking sites.

I resolved the problem, thanks for your help... the solution is above:

<a href="http://www.linkk.com.br/submit.php?url=<?php echo $Item->get_permanent_url(); ?>" title="Adicionar esta notícia no Linkk" >
<img src="http://www.linkk.com.br/img/selolinkk.gif" alt="Adicionar esta notícia no Linkk" /></a>

Thanks again!


Form is loading...