Page 1 of 1
Download Detail View
Posted: 01 Aug 2008, 20:35
by rati
Hello,
i have a problem with the Detail View.
When i use a files as public then i become the normal detail view. But when i use register then i become another detail view. Can any one help me. Is this a fault in the version 1.0.1 Beta?
Re: Download Detail View
Posted: 01 Aug 2008, 22:54
by Jan
Hi, there is some interesting behaviour relevant to overlib effect in Joomla:
if you are logged in as registered user, Joomla doesn't take the defined colors from the code, but it takes it from your template, so it seems like your template doesn't have the definition for overlib effects. Add this into your template css:
Code: Select all
/* overlib */
.ol-foreground {
background-color: #f0f0f0;
}
.ol-background {
background-color: #d6d6d6;
}
.ol-captionfont {
color: #ffffff;
font-weight: bold;
}
Jan
Re: Download Detail View
Posted: 02 Aug 2008, 20:21
by rati
Hi Jan,
i have try it and its better, but the font-size, between the both pictures is not the same. Can i take a code like font-size= 80% in the template.css?
thanks
rati
Re: Download Detail View
Posted: 02 Aug 2008, 20:30
by Jan
yet, this what I post is only the basic so you can add more attributes of course ... you can add attributes e.g. into the next following classes too:
Code: Select all
.ol-textfont {}
.ol-captionfont a {}
.ol-closefont {}
Jan
Re: Download Detail View
Posted: 07 Aug 2008, 00:04
by babylon
Hello Jan,
Was just playing around with it and i exactly the same when using commercial template of rockettheme.
Your fix did it ..
BUT....
when your not using right and left modules ...the details button shows all the way to the right...
then with mouseover the layer with the info disapears in the corner and then i can read 40% of the text
Any way to set the popup layer to center?
Or even better.....any way you might wanna consider putting the full description below the file name ?
Cause if you wanna give it a full description then the popup window is way to small....
Re: Download Detail View
Posted: 07 Aug 2008, 00:20
by Jan
In administration, in download file list, there is a button named TEXT, it is next to NEW, if you click on this button, you can add the description here... if you save it, then you can order it over or below the file... so the description can be displayed in the html...
Jan
Re: Download Detail View
Posted: 07 Aug 2008, 00:30
by babylon
ah i see....
but this is weird....lol
i have to give the text a name ?
And all i did was select cat en section....
But still it shows below the file...
How does it know it belongs to the file?
And is there a way to disable the details button ?
Re: Download Detail View
Posted: 07 Aug 2008, 00:37
by Jan
no there is not... (hiding the detail)
you can give the similar name to the description, e.g. the file will be:
Phoca Gallery Component ... com_phocagallery ... the descritption will be:
Phoca Gallery Component - Description ... this name is not displayed in the front but you will know in the admin that it belongs to Phoca Gallery Component.. I did it this way, because:
- you can add e.g. Heading for some file group
- you can add e.g. Description before but after file too (you can just use the description)
- it can be easy published or unpublished...
Jan
Re: Download Detail View
Posted: 07 Aug 2008, 00:48
by babylon
oh ok i see....
but my portion of feedback/input would be.....
make it so that the button can be disabled within the configuration...
Giving a good description to a file has some value to search-engines and it can be better crawled.
Making it inside the overlib effect isnt that effective..
i would use the full description....
Re: Download Detail View
Posted: 07 Aug 2008, 01:19
by Jan