add this code in your fron.func.inc.php @ line 1337 or so (just after the last reptag code you have )
The following repTag is only a hack for site wide 'anchor jumping' it may be used under all circumstances any other replacement tag is usable.
Code: Select all
// internal Anchor-Link | useage: [GOTO:structureID,articleID:anchorname]string[/GOTO]
$search[pS1] = '/\[GOTO:(\d+):(\w+)\](.*?)\[\/GOTO\]/';
$replace[pS1] = '<a href="index.php?id=0,$1,0,0,1,0#$2">$3</a>';
SET ANCHOR: {A:anchor_name}
GOTO TAG: [GOTO:structureID,articleID:anchor_name]string[/GOTO]
hope it helps: until a better solution comes along.