Recent Topics

1 Dec 17, 2010 00:33    

My b2evolution Version: Not Entered

Is there a function that gives:

<?php $Blog->disp('url') ?>?p=<?php $Item->ID();?>

example: http://www.myblog.com/blog.php?p=123

I am doing it manually as described above, but i am pretty sure there was a function to call it but cant remember

2 Dec 17, 2010 11:52

In b2evo 4 only
myblog.com/ABC

$Item->get_tinyurl();

myblog.com/p123

$Blog->gen_blogurl().'p'.$Item->ID;

myblog.com/?p=123

$Blog->get('url').'?p='.$Item->ID;

3 Dec 17, 2010 14:19

sam2kb wrote:

In b2evo 4 only
myblog.com/ABC

$Item->get_tinyurl();

neat.. didn't know that

4 Dec 18, 2010 18:34

sam2kb wrote:

myblog.com/p123

$Blog->gen_blogurl().'p'.$Item->ID;

mybog wrote:

http://domain.tld/blog2.phpp123

Use :

echo url_add_param( $Blog->gen_blogurl(), 'p='.$Item->ID );

To add ?p= it'll cope with really funky custom urls ;)

¥


Form is loading...