"Title"PhocaDownload

Phoca Download - download manager
philip
Phoca Member
Phoca Member
Posts: 17
Joined: 04 May 2011, 19:46

"Title"PhocaDownload

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

Re: "Title"PhocaDownload

Post by Jan »

Hi, can you paste a screenshot (e.g. per imgur) or live site what you exactly mean?

Jan
If you find Phoca extensions useful, please support the project
philip
Phoca Member
Phoca Member
Posts: 17
Joined: 04 May 2011, 19:46

Re: "Title"PhocaDownload

Post by philip »

Hi.
Image

and

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "Title"PhocaDownload

Post 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
If you find Phoca extensions useful, please support the project
philip
Phoca Member
Phoca Member
Posts: 17
Joined: 04 May 2011, 19:46

Re: "Title"PhocaDownload

Post by philip »

Hi.I'm not good at html.Paste the code not helping.
philip
Phoca Member
Phoca Member
Posts: 17
Joined: 04 May 2011, 19:46

Re: "Title"PhocaDownload

Post by philip »

Hi.How to do? Help with the decision.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "Title"PhocaDownload

Post by Jan »

Hi, for this, you need to have some basic php skills :idea:

Jan
If you find Phoca extensions useful, please support the project
philip
Phoca Member
Phoca Member
Posts: 17
Joined: 04 May 2011, 19:46

Re: "Title"PhocaDownload

Post by philip »

Hi,I'm just learning. The forums help beginners.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "Title"PhocaDownload

Post 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
If you find Phoca extensions useful, please support the project
philip
Phoca Member
Phoca Member
Posts: 17
Joined: 04 May 2011, 19:46

Re: "Title"PhocaDownload

Post by philip »

Thank you.
Post Reply