Column/table width issue? Column/table width issue?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Column/table width issue?

Started by overeasy, June 20, 2005, 09:52:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

overeasy

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
The American Roadside:  Photos, news, memories and musings on the great American roadside experience.
http://www.theamericanroadside.com

Nibbler

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 ?

overeasy

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
The American Roadside:  Photos, news, memories and musings on the great American roadside experience.
http://www.theamericanroadside.com

Nibbler

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.

overeasy

Is there anyway around this?  Some way to hardcode it in, so it always displays?

Ron
The American Roadside:  Photos, news, memories and musings on the great American roadside experience.
http://www.theamericanroadside.com

Nibbler


overeasy

Got it.  Consider this another one well solved...

Many thanks.

Ron
The American Roadside:  Photos, news, memories and musings on the great American roadside experience.
http://www.theamericanroadside.com