Phoca Download Section List Layout problem
-
jade
- Phoca Newbie

- Posts: 7
- Joined: 30 Jul 2008, 12:07
- Contact:
Phoca Download Section List Layout problem
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
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
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Section List Layout problem
Hi,
CSS:
components\com_phocadownload\assets\phocadownload-.....css
Jan
... sorry I don't understand, where is this link ???index.php?option=com_phocadownload&view=sectionsx(500)
CSS:
components\com_phocadownload\assets\phocadownload-.....css
Jan
If you find Phoca extensions useful, please support the project
-
jade
- Phoca Newbie

- Posts: 7
- Joined: 30 Jul 2008, 12:07
- Contact:
Re: Phoca Download Section List Layout problem
Forgive me for poor English
Phoca Download Section List Layout
In the main menu there are two options

No.1

The first option can use, no problem
No.2

The second option in 500 errors, can not be used
In the original language documents inside, "Details" and "Download" styles can show normal

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

I chose the blue style, I would like to know where should be amended.
Phoca Download Section List Layout
In the main menu there are two options

No.1

The first option can use, no problem
No.2

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
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=下载
I chose the blue style, I would like to know where should be amended.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Section List Layout problem
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:
Jan
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;
}If you find Phoca extensions useful, please support the project
-
abokuo
- Phoca Member

- Posts: 26
- Joined: 28 May 2010, 12:17
Re: Phoca Download Section List Layout problem
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
replace with:
line 284: find
replace with:
line 298: find
replace with:
line 311: find
replace with:
line 318: find
replace with:
line 320: find
replace with:
line 324: find
replace with:
line 328: find
replace with:
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!
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>';Code: Select all
$playerOutput .= '<nobr><div class="pdplay'.$this->tmpl['button_style'].'"><div>';Code: Select all
$playerOutput .= '</div></div>';Code: Select all
$playerOutput .= '</nobr></div></div>';Code: Select all
$previewOutput.= '<div class="pdpreview'.$this->tmpl['button_style'].'"><div>';Code: Select all
$previewOutput.= '<nobr><div class="pdpreview'.$this->tmpl['button_style'].'"><div>';Code: Select all
$previewOutput.= '</div></div>';Code: Select all
$previewOutput.= '</nobr></div></div>';Code: Select all
$detailOutput.= '<div class="pddetails'.$this->tmpl['button_style'].'"><div>';Code: Select all
$detailOutput.= '<nobr><div class="pddetails'.$this->tmpl['button_style'].'"><div>';Code: Select all
$detailOutput.= '</div></div>';Code: Select all
$detailOutput.= '</nobr></div></div>';Code: Select all
$downloadOutput .= '<div class="pddownload'.$this->tmpl['button_style'].'"><div>';Code: Select all
$downloadOutput .= '<nobr><div class="pddownload'.$this->tmpl['button_style'].'"><div>';Code: Select all
$downloadOutput .= '</div></div>';Code: Select all
$downloadOutput .= '</nobr></div></div>';Thank Jan that create Phoca Download components, it's wonderful!
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Section List Layout problem
Hi, thank you for the guide.
Jan
Jan
If you find Phoca extensions useful, please support the project