Page 1 of 1
"Title"PhocaDownload
Posted: 24 Feb 2015, 13:53
by philip
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
Re: "Title"PhocaDownload
Posted: 27 Feb 2015, 14:00
by Jan
Hi, can you paste a screenshot (e.g. per imgur) or live site what you exactly mean?
Jan
Re: "Title"PhocaDownload
Posted: 27 Feb 2015, 22:58
by philip
Hi.
and

Re: "Title"PhocaDownload
Posted: 03 Mar 2015, 12:26
by Jan
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:
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);
Jan
Re: "Title"PhocaDownload
Posted: 03 Mar 2015, 20:19
by philip
Hi.I'm not good at html.Paste the code not helping.
Re: "Title"PhocaDownload
Posted: 27 Mar 2015, 10:06
by philip
Hi.How to do? Help with the decision.
Re: "Title"PhocaDownload
Posted: 27 Mar 2015, 16:13
by Jan
Hi, for this, you need to have some basic php skills
Jan
Re: "Title"PhocaDownload
Posted: 30 Mar 2015, 10:03
by philip
Hi,I'm just learning. The forums help beginners.
Re: "Title"PhocaDownload
Posted: 31 Mar 2015, 21:36
by Jan
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
Re: "Title"PhocaDownload
Posted: 01 Apr 2015, 08:55
by philip
Thank you.