Page 2 of 2

Re: major headaches uploading to server!

Posted: 20 Dec 2010, 22:32
by fish
thanks jan.
i found someone who is doing the same thing that i want to do w/ shadowbox, and it is in the css.
however, in my phocagallery setup, there is no 'shadowbox.css', only js.

here is the code i found, but don't know where to put it:
_____________________________
#sb-title,#sb-info{
background-color:#FFFFFF;
position:relative;
margin:0;
padding:0;
overflow:hidden;
}
#sb-title-inner,#sb-info-inner{
background-color:#FFFFFF;
position: relative;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
line-height: 14px;
font-weight: bold;
}
#sb-title,#sb-title-inner{
display:block;
height:36px;
padding-bottom:20px;
}
#sb-title-inner{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
line-height:14px;
font-weight:bold;
color:#666666;
padding:8px;
}
_____________________________
i tried it in "phocagallery.css" under the "shadowbox IE" lines, but it don't do anything.

i will say again, i added code from another thread into my template html, a "strip tags' line that was meant for slimbox description.
could this be messing me up now with shadowbox??
i went to:
/components/com_phocagallery/views/category/tmpl/default.php

and added this at line 120:

echo '<a class="'.$value->button->methodname.'"';
if ($value->type == 2) {
if ($value->overlib == 0) {
echo ' title="'. $value->title.' - '.strip_tags($value->description).'"';
}
}
echo ' href="'. $value->link.'"';

i tried deleting it before, and it messed a bunch of stuff up.
perhaps i deleted too much code.
i don't know.
this seems like it should be a simple thing, but.... !!! ACK! :evil:

many thanks for your help
fish

Re: major headaches uploading to server!

Posted: 20 Dec 2010, 23:01
by fish
okay, so the 'strip tags' line needs to be there.
otherwise, there is no description.

same problem exists... :x

Re: major headaches uploading to server!

Posted: 23 Dec 2010, 22:13
by Jan
Hi, slimbox and shadowbox are different methods made by different people, so maybe something what is working in one library is not working in ohter :-(

The css you can find here (I think):

components\com_phocagallery\assets\js\shadowbox\src\skin\classic\

Jan