Frontend user upload multiple categories (not sub categorie)

Phoca Gallery - image gallery extension
viltnieks
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Mar 2012, 15:08

Frontend user upload multiple categories (not sub categorie)

Post by viltnieks »

Hello,

I would really like this functionality, for users to be able to create multiple categories. In my case I don't even need subcategories, I would just need option for users to create categories.

I did a search on forum and found this topic in several threads, but the newest I found was over a year old.

There was some talk about implementing this in future releases. The future is now :D, hopefully

But jokes aside, I would just like to find out is this planned in near releases ?

P.s I've donated to phoca, but I could do it again if it would bring this functionality faster. I think that maybe others would too, seeing how this was quite a popular topic.

I would hate to waste my time browsing JED looking for another image management system, since phoca is so great, if I could just have this option...


EDIT:
I just found out that phoca gallery can list subcategories in categories view, which Is nice. It's not ideal, since, when I open subcategory in categories view and press back button, parent category opens not categories view.
Another small problem is that gallery name is displayed like this - parent category name >> subcategory name, would be nice if I could display just subcategory name.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend user upload multiple categories (not sub catego

Post by Jan »

Hi, displying only subcategory name - this needs to be customized directly in the code (added to feature request list)

Parents category opening - yes, there is no other way for subcategories to go back as to look at the tree of categories and go back to next level category :-( :-( such works the tree feature :-(

Multiple categories - still not implemented, there are really difficult dependencies on access right, etc. so not so easy :-(

Jan
If you find Phoca extensions useful, please support the project
viltnieks
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Mar 2012, 15:08

Re: Frontend user upload multiple categories (not sub catego

Post by viltnieks »

Thanks for the information.

I created default_catimg.php override.
I understand that this is the code which outputs "parent category >> category"

Code: Select all

echo '<td style="text-align:center;"><a href="'.$this->categories[$i]->link.'">'.$this->categories[$i]->title.'</a>&nbsp;';
Could you please tell me how to change it, so it displays only category name ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend user upload multiple categories (not sub catego

Post by Jan »

Hi, the tree which is loaded by the recursive function - should be changed, you can find it in administration/components/com_phocagallery/libraries folder (I am not on my pc now so cannot give any exact advice where it is located exactly :-( )

Jan
If you find Phoca extensions useful, please support the project
viltnieks
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Mar 2012, 15:08

Re: Frontend user upload multiple categories (not sub catego

Post by viltnieks »

There is no components/com_phocagallery/libraries, is it somwhere in components/com_phocagallery/views ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend user upload multiple categories (not sub catego

Post by Jan »

Hi,

administration/components/com_phocagallery/libraries
not
components/com_phocagallery/libraries

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