Hi, I need to be able to call several categories from the front page of Coppermine a buttons. Fore instance, I wrote this in bbcode and placed it in the category description.
[[url=picturepenzance.co.uk/index.php?cat=65/]Fishing Vessels[/url]
This works ok but I really need to to call pages internally is it possible to do this please?
Regards,
Steff
Depends what you mean by internally.
Hi Nibbler, I just want to call the categories without calling the full url... I was rather hoping that I could get away with something like [page][\page] or something like that but that's not supported I think.
Regards,
Steff
doesn't work that way I guess?
Oh well thanks for the help anyway.
Regards,
steff
What's wrong with just this?
[url=index.php?cat=65/]Fishing Vessels[/url]
Oh.
include/functions.inc.php
find
$bbcode_tpl['url4'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']);
Change to
$bbcode_tpl['url4'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']);
Thanks... I'll give that a go. The reason is that I'm looking to an iframe in the future for an external site but if I call an external url whilst in an iframe the results will be a site within a site.... does that make sense?
Thanks again for your help.
Regards,
Steff
Just to let you know that worked a treat thanks.
Regards,
Steff