1 cindyrae Nov 29, 2007 16:14
3 cindyrae Nov 29, 2007 18:49
The problem is that I want the second link, but I get the first link from b2e. The first link is bogus.
Cindy Rae
4 afwas Nov 29, 2007 18:54
Where does it spit this link?
5 edb Nov 29, 2007 19:40
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 :(
6 yabba Nov 29, 2007 20:47
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