I tried everything on joomla and I am not able to let only the phoca download category(file) title display. It always
shows the menu title on the page.
I would like to have only the category(file) title showing.
Can anyone help me with this please?
Thank you.
Joomla 1.5
Phoca Gallery 1.3.8
"Title"PhocaDownload
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "Title"PhocaDownload
Hi, can you paste a screenshot (e.g. per imgur) or live site what you exactly mean?
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "Title"PhocaDownload
Hi, now I understand, I think, you need to customize it for the obsolete version of the Phoca Download (or you need to migrate to some new 2.x or 3.x), see how it is solved in Phoca Download 2.x
components/com_phocadownload/views/category/view.html.php:
Jan
components/com_phocadownload/views/category/view.html.php:
Code: Select all
// get page title
$title = $this->params->get('page_title', '');
// if no page title is set take the category title only
if (empty($title)) {
$title = $category->title;
}
// else append the category title
else {
$title .= " - " . $category->title;
}
// if still is no title is set take the sitename only
if (empty($title)) {
$title = $app->getCfg('sitename');
}
// else add the title before or after the sitename
elseif ($app->getCfg('sitename_pagetitles', 0) == 1) {
$title = JText::sprintf('JPAGETITLE', $app->getCfg('sitename'), $title);
}
elseif ($app->getCfg('sitename_pagetitles', 0) == 2) {
$title = JText::sprintf('JPAGETITLE', $title, $app->getCfg('sitename'));
}
$this->document->setTitle($title);
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 04 May 2011, 19:46
Re: "Title"PhocaDownload
Hi.I'm not good at html.Paste the code not helping.
-
- Phoca Member
- Posts: 17
- Joined: 04 May 2011, 19:46
Re: "Title"PhocaDownload
Hi.How to do? Help with the decision.
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "Title"PhocaDownload
Hi, for this, you need to have some basic php skills 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 04 May 2011, 19:46
Re: "Title"PhocaDownload
Hi,I'm just learning. The forums help beginners.
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "Title"PhocaDownload
Hi, yes, but unfortunately because of time issues it is not possible to give exact advices how to modify something. I have coded over 700.000 of lines of code so I don't know exactly all parts I have done - I can navigate you to place where this should be customized but if you need to do changes there, I think you need to hire someone 
Jan

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