1 section on 1 page

Phoca Download - download manager
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

1 section on 1 page

Post by jeejeestudio »

Hi Jan,

Is it possible to get 1 section per page.
Now it displays all sections on one page.

I am switching form docman to phoca download. Because docman is still not 1.5 native. But docman has this possibility.
Could it be possible in Phoca Download too? That i can choose wich section on what page should be available.

Thanks in advance,

Jerry.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1 section on 1 page

Post by Jan »

Hi, there is no such option to add link to only one section, but you can do it manually, add the link to section, e.g.:

https://www.phoca.cz/documentation/index ... ca-gallery

Jan
If you find Phoca extensions useful, please support the project
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: 1 section on 1 page

Post by jeejeestudio »

Ok, you mean putting/section/sectionname/ behind the link of the page where i am directing to.

I will try to see if it succeeds.

Is it possible to put it in as feature request?

Thanks so far, Jan.

Best to you.

Jerry.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1 section on 1 page

Post by Jan »

I mean, you will add a menu link direct into the section, so every link will link to one section:
1 section per page (as you wrote).. the link can be made in menu manager...

It will be very complicated to add a view to one section... Why? Because in this case, two or more Itemid will be created and it will cause problems with SEF (with creating URLs - from category to section, etc..)... :(

Jan
If you find Phoca extensions useful, please support the project
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: 1 section on 1 page

Post by jeejeestudio »

OK, thanks so far Jan for your explanation.
At this moment i have different menuitems per category, like music, demo's, presets etc.
But maybe just one menu item with downloads is also ok.

Thanks.
mamima
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Aug 2008, 17:54

Re: 1 section on 1 page

Post by mamima »

Good morning Jan!
I do need only one section too. Therefore I build a static link - works fine!
Is there a way to hide the header of the section showing title and the button linked back to the main download area?

Thanks and greetings from Germany! mamima!
section_header.png
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1 section on 1 page

Post by Jan »

Hi, only in php code :(

components\com_phocadownload\views\category\tmpl\default.php

line 14 - delete <a> ... </a>

components\com_phocadownload\views\section\tmpl\default.php

line 12 - delete <a> ... </a>
If you find Phoca extensions useful, please support the project
mamima
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Aug 2008, 17:54

Re: 1 section on 1 page

Post by mamima »

Hi Jan!
I commented out the whole lines in each "default.php":
//echo '<div class="section"><h3>'.$this->section[0]->title. '<a title="'.JText::_('Sections').'" hre....
That worked fine! Thanks for the immediate reply!
mamima
Post Reply