2 afwas Nov 29, 2007 16:52

The problem is that I want the second link, but I get the first link from b2e. The first link is bogus.
Cindy Rae
Where does it spit this link?
The problem is using relative links. b2evolution uses the path to the skins/skinname folder as the base url, so the only time you can use relative links is for like images in a folder in your skin's folder. Actual clickable links need to be full URLs.
Unfortunately I can think of no way to do a full URL in a post without actually typing out the URL. Doing it in the code in _main.php (for example) means using something like
<a href="<?php $this->get_permanent_url() ?>#name">text</a>
A long time ago I seem to remember someone made up a toolbar that would give you anchors. Or maybe it was heading sizes? No - it was anchors in a post body, but I have no idea what time frame it was.
Sorry :(
I have a relative links plugin lying around somewhere near [url=http://waffleson.co.uk/2007/01/relative_links_with_b2evolution]here ... ish[/url] that could probably be adapted to suit, just change one of the replacements to "" ;)
¥
The second link works just as well. B)
Good luck