A question about Phoca and menus

Phoca Download - download manager
poolar
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Jan 2009, 23:18

A question about Phoca and menus

Post by poolar »

Hi, I´m wondering. When I have two sections with diffrent files. Then I create a menu, but I don´t want to display alla sections, just one section for one menu item. Could you do that with phoca, there are only one choice and thats all sections. Could you download or do anything about my problem??

Example. I wont two menus that displays diffrent sections with some files in them.

Does anyone know how to do this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: A question about Phoca and menus

Post by Jan »

Hi, this is very easy to develop and it is in feature request... What is not easy is to use it with Joomla! if SEF is enabled (because there is and Itemid for every menu link and every Itemid set the settings)... But internal links doesn't have any Itemids so they need to be found (hack solution). If there is only one link, it is OK, one Itemid will be found and one settings will be set... if there are more links there are more Itemids and then it will cause problems while going through the tree ... :-(

I am still trying find the best solution for this...
See this too:
viewtopic.php?f=31&t=2803&p=14331&hilit ... tch#p14331
Jan
If you find Phoca extensions useful, please support the project
poolar
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Jan 2009, 23:18

Re: A question about Phoca and menus

Post by poolar »

Hi,
thank you. I´ll se if I can fix this with some code. In the end I have put 40 logins to this site and I would like every person to get different folder strukture. The login works great they are getting different menus but It´s just a little thing left. To point them to different folders. I started using Joomla for about one month ago, so I haven´t developed anything get. I have only made som changes to how every thing look, and placed some code in some modules. You say it isen´t hard to do this, but where do I make the changes?

And what is SEF?

//Mattias
poolar
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Jan 2009, 23:18

New question

Post by poolar »

Hi,
I have made some changes to the phocadownload. I´m making code that will take specific users to specifik catalogs.
So my question:
This is for me (tell me if Im wrong) the selected value for the <select> list in the edit section.
<?php echo $this->lists['image_position']; ?> It fetches the imge position that is selected, how do I make a new one??

I made this one:
echo $this->lists['user'];
I have made a new column in the phoca table, name user. It´s connected to the joomla users. I can fetch all users in a list in the edit page, but I won´t to show witch user is selected to this section.

And this one turns out blank. Do anyone know what I¨m doing wrong??
poolar
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Jan 2009, 23:18

Re: A question about Phoca and menus

Post by poolar »

So now I have solved all my problems.

Now my users can login and they get specifik folders depending on who they are. This is Section controlled with the Phocadownload and phocadownload module. Do you wan´t me to share this one??

// A happy fucker.. :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: A question about Phoca and menus

Post by Jan »

Yes, will be great, Jan
If you find Phoca extensions useful, please support the project
poolar
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Jan 2009, 23:18

Re: A question about Phoca and menus

Post by poolar »

Hi,
Tomorrow I will let my files be public here :)

It works like a charm. :)
poolar
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 27 Jan 2009, 23:18

Re: A question about Phoca and menus

Post by poolar »

Hi,
so now I will post my chages. I have made some apperence chages so I´m posting all the files. But I removed one folder in the admin part. The assets folder it was 2 big to pubilsh here. Hope it come hand for someone else :)

Best regards

Love Phoca download <3

//Mattias
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: A question about Phoca and menus

Post by Jan »

Hi, thank you for this file, I will take a look at it.

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