Download Detail View

Phoca Download - download manager
rati
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Aug 2008, 20:25
Location: Germany

Download Detail View

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download Detail View

Post 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
If you find Phoca extensions useful, please support the project
rati
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Aug 2008, 20:25
Location: Germany

Re: Download Detail View

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download Detail View

Post 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
If you find Phoca extensions useful, please support the project
babylon
Phoca Member
Phoca Member
Posts: 43
Joined: 08 Apr 2008, 17:08
Location: Netherlands

Re: Download Detail View

Post 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....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download Detail View

Post 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
If you find Phoca extensions useful, please support the project
babylon
Phoca Member
Phoca Member
Posts: 43
Joined: 08 Apr 2008, 17:08
Location: Netherlands

Re: Download Detail View

Post 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 ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download Detail View

Post 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
If you find Phoca extensions useful, please support the project
babylon
Phoca Member
Phoca Member
Posts: 43
Joined: 08 Apr 2008, 17:08
Location: Netherlands

Re: Download Detail View

Post by babylon »

oh ok i see....
but my portion of feedback/input would be..... :wink:
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....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download Detail View

Post by Jan »

Added into feature request list:

https://www.phoca.cz/documentation/index ... re-request

Jan
If you find Phoca extensions useful, please support the project
Post Reply