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!
many thanks for your help
fish
major headaches uploading to server!
-
- Phoca Member
- Posts: 15
- Joined: 16 Nov 2010, 01:33
Re: major headaches uploading to server!
okay, so the 'strip tags' line needs to be there.
otherwise, there is no description.
same problem exists...
otherwise, there is no description.
same problem exists...
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: major headaches uploading to server!
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
The css you can find here (I think):
components\com_phocagallery\assets\js\shadowbox\src\skin\classic\
Jan
If you find Phoca extensions useful, please support the project