Page 1 of 1

1 section on 1 page

Posted: 18 Aug 2008, 13:51
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.

Re: 1 section on 1 page

Posted: 18 Aug 2008, 22:31
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

Re: 1 section on 1 page

Posted: 18 Aug 2008, 22:52
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.

Re: 1 section on 1 page

Posted: 18 Aug 2008, 23:02
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

Re: 1 section on 1 page

Posted: 19 Aug 2008, 13:15
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.

Re: 1 section on 1 page

Posted: 01 Sep 2008, 11:03
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

Re: 1 section on 1 page

Posted: 01 Sep 2008, 13:11
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>

Re: 1 section on 1 page

Posted: 01 Sep 2008, 14:34
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