Page 1 of 1

Phoca Download Section List Layout problem

Posted: 01 Aug 2008, 00:10
by jade
Phoca Download Section List Layout
In the main menu there are two options

index.php?option=com_phocadownload&view=sections(ok)

index.php?option=com_phocadownload&view=sectionsx(500)
500 - View class not found [class, file]: phocadownloadViewsectionsx,

Where can changes "Details" and "Download" styles css In the frontend?

Phoca Download frontend
https://www.phoca.cz/documentation/index ... -component

Re: Phoca Download Section List Layout problem

Posted: 01 Aug 2008, 11:36
by Jan
Hi,
index.php?option=com_phocadownload&view=sectionsx(500)
... sorry I don't understand, where is this link ???

CSS:
components\com_phocadownload\assets\phocadownload-.....css

Jan

Re: Phoca Download Section List Layout problem

Posted: 01 Aug 2008, 19:59
by jade
Forgive me for poor English

Phoca Download Section List Layout
In the main menu there are two options
Image
No.1
Image
The first option can use, no problem

No.2
Image
The second option in 500 errors, can not be used

In the original language documents inside, "Details" and "Download" styles can show normal

Code: Select all

DETAILS=Details
DOWNLOAD=Download
Image

But when translated into Chinese, "Details" and "Download" styles incorrect on a show, is not displayed on the same line inside

Code: Select all

DETAILS=详情
DOWNLOAD=下载
Image

I chose the blue style, I would like to know where should be amended.

Re: Phoca Download Section List Layout problem

Posted: 01 Aug 2008, 23:03
by Jan
Hi, I don't have any second link ???

The blue style is here:
components/com_phocadownload/assets/phocadownload-blue.css

but I have no idea why the Chinese characters are so displayed ???

Try to change this classes:

Code: Select all

#phoca-dl-category-box .download {
	border-top:1px solid #00CC00;
	border-right:1px solid #008F00;
	border-bottom:1px solid #008F00;
	border-left:1px solid #00CC00;
	margin:1px 0px 1px 3px;
	background: #008F00 url('images/bg-download.png') 0 0 repeat-x;
	
}
#phoca-dl-category-box .download div {
	border:1px solid #fff;
	background: transparent url('images/icon-download.png') 3px center no-repeat;
	padding:3px 10px 3px 25px;
}
#phoca-dl-category-box .download div a {
	color:#fff;
	font-weight:bold;
}

#phoca-dl-category-box .details{
	border-top:1px solid #FFB200;
	border-right:1px solid #B37D00;
	border-bottom:1px solid #B37D00;
	border-left:1px solid #FFB200;
	margin:1px 0px 1px 3px;
	background: #B37D00 url('images/bg-details.png') 0 0 repeat-x;
	
}
#phoca-dl-category-box .details div {
	border:1px solid #fff;
	background: transparent url('images/icon-details.png') 3px center no-repeat;
	padding:3px 10px 3px 25px;
}
#phoca-dl-category-box .details div a {
	color:#fff;
	font-weight:bold;
}
Jan

Re: Phoca Download Section List Layout problem

Posted: 12 Nov 2010, 08:07
by abokuo
Hello, I found a simple way to fix this problem :
please edit file: "\components\com_phocadownload\views\category\tmpl\default.php" if you already installed
Phoca Download Components, or edit file: "\front\views\category\tmpl\default.php" in components zip file,
then add few html tags:

line 277: find

Code: Select all

$playerOutput .= '<div class="pdplay'.$this->tmpl['button_style'].'"><div>';
replace with:

Code: Select all

$playerOutput .= '<nobr><div class="pdplay'.$this->tmpl['button_style'].'"><div>';
line 284: find

Code: Select all

$playerOutput .= '</div></div>';
replace with:

Code: Select all

$playerOutput .= '</nobr></div></div>';
line 298: find

Code: Select all

$previewOutput.= '<div class="pdpreview'.$this->tmpl['button_style'].'"><div>';
replace with:

Code: Select all

$previewOutput.= '<nobr><div class="pdpreview'.$this->tmpl['button_style'].'"><div>';
line 311: find

Code: Select all

$previewOutput.= '</div></div>';
replace with:

Code: Select all

$previewOutput.= '</nobr></div></div>';
line 318: find

Code: Select all

$detailOutput.= '<div class="pddetails'.$this->tmpl['button_style'].'"><div>';
replace with:

Code: Select all

$detailOutput.= '<nobr><div class="pddetails'.$this->tmpl['button_style'].'"><div>';
line 320: find

Code: Select all

$detailOutput.= '</div></div>';
replace with:

Code: Select all

$detailOutput.= '</nobr></div></div>';
line 324: find

Code: Select all

$downloadOutput .= '<div class="pddownload'.$this->tmpl['button_style'].'"><div>';
replace with:

Code: Select all

$downloadOutput .= '<nobr><div class="pddownload'.$this->tmpl['button_style'].'"><div>';
line 328: find

Code: Select all

$downloadOutput .= '</div></div>';
replace with:

Code: Select all

$downloadOutput .= '</nobr></div></div>';
you can see how it works at http://www.abokuo.com/2010-05-12-03-39- ... ory/5.html, i hope it will be useful.
Thank Jan that create Phoca Download components, it's wonderful! :twisted:

Re: Phoca Download Section List Layout problem

Posted: 13 Nov 2010, 00:03
by Jan
Hi, thank you for the guide.

Jan