Hi -
I'm trying to wedge Coppermine into the central table on a Mambo install. I've almost got it all working correctly, except that the URL
which is called when an individual photo page displays runs outside the table. You can see it here;
http://www.theamericanroadside.com/coppermine/displayimage.php?album=1&pos=0
I would be happy to simply remove the URL field entirely, but I can't (after much searching and finagling) find a way to do this.
Anyone have an idea?
Thanks
Ron
TheAmericanRoadside.com
It's in displayimage.php
// Create the absolute URL for display in info
$info['URL'] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
What does this have to do with column/table width ?
Hi -
I thought the URL, because it would not wrap, was extending past the end of the table.
Here's another odd thing, however. When I display this page as a standalone URL (outside of my Mambo site) it displays the
"file information" table with all the stats. However, when it is called from within Mambo, via the Wrapper, it does not show
this box at all. Here are the two URLs for you to compare;
(outside Mambo) http://www.theamericanroadside.com/coppermine/displayimage.php?album=1&pos=0
(inside Mambo, using Wrapper) http://www.theamericanroadside.com/component/option,com_wrapper/Itemid,85/
NOTE: click down through the Mambo one, until the single photo screen appears. You'll notice that the lower box is not showing up.
Thanks.
Ron
That's because the cookie that stores whether the user likes the picinfo to be displayed or not is restricted to the /coppermine/ path and so is not available with the wrapper url.
Is there anyway around this? Some way to hardcode it in, so it always displays?
Ron
Use the config setting.
Got it. Consider this another one well solved...
Many thanks.
Ron