1 beano Jul 12, 2006 16:23
3 beano Jul 12, 2006 19:44
Yes. I don't usually allow skin-switching but I enabled it and found that the same thing happened on other skins.
Usually I at least have an idea where to start looking but I've no clue on this.
4 beano Jul 26, 2006 15:59
I've got it working now, I just hope it hasn't ballsed something else up!
I edited b2evocore/_functions_template.php and added this line before line 169.
if (strrchr($link,'/') == '/')
$link = substr($link,0,strlen($link)-1);
All it does is remove the trailing slash from the link and it seems to work.
I'm not sure if the stories' permalinks used to have a trailing slash on the end (I think they did) but now they don't, however they still work fine as well.
5 beano Sep 01, 2006 04:20
Just as an update for the Milestone (1.8.1) release, I fixed the same problem by commenting out line 288 from the file /inc/_misc/_template.funcs.php to become:
// $link .= $separator;
6 beano Apr 21, 2007 15:13
It seems like for some reason I'm the only one having this problem, but just in case it's happening to anyone else is suffering from it too, I've patched my install of 1.9.3.
Since the calendar is now a plugin rather than function, the code you need to edit has moved but it's the same principle.
I replaced one line (I think it was 770) in /plugins/_calendar.plugin.php from something like:
echo '<a href="'.$this->archive_link( $this->year, $this->month, date('d',$i), '' )'"';
with
$link = $this->archive_link( $this->year, $this->month, date('d',$i), '' );
echo '<a href="'.substr($link,0,strlen($link)-1).'"';
Theirs a problem with the 'clean' urls.... Upgrading might fix this... Do you have the problem with any other skins?