Recent Topics

1 Oct 13, 2008 11:37    

My b2evolution Version: Not Entered

<?php $Item->anchor_id();?> outputs "item_11" etc..

that's fine, however i need it to be displayed with some other text like "post_11"

is there a way to change that 'item' text ?

sth like (making it up):

			<?php $Item->anchor_id  (
                                           'anchor_text' => 'post'
);?>

sort of stuff you know.. or can i hack the core, which should core file should i be looking into, and is it too dangerous..thanks in advance

2 Oct 13, 2008 13:01

ok i ve handled this one.. it's not very professional but it works

php echo '<a href="'.$Item->get_permanent_url().'"> '?> <?php echo "post", $Item->ID() ?> <?php echo "</a>" ?>

so that it looks like [url=http://www.#.com]post11[/url] and linked to perm.url..

any revision or advice would be appreciated though, thanks


Form is loading...