Re-ordering tags on new file page

Phoca Download - download manager
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

Re-ordering tags on new file page

Post by Suge1w »

Hello,

I have a lot of tags (120+) and I need to sort them in alphabetical order in admin form when adding a new file. Is this possible and if so which file would I need to edit?

Many thanks 8)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Re-ordering tags on new file page

Post by Jan »

Hi, you can sort the tags by title in administration - to see them e.g. ordered by title but if you mean to order them in select box, the ordering needs to be customized:

administrator\components\com_phocadownload\libraries\phocadownload\tag\tag.php

Jan
If you find Phoca extensions useful, please support the project
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

Re: Re-ordering tags on new file page

Post by Suge1w »

Hello Jan - many thanks for response.

I cannot find the "libraries" folder in the directory... I should say I am using Joomla 2.5 and Phoca Download version 2.1.9. Perhaps the structure is different?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Re-ordering tags on new file page

Post by Jan »

Hi, yes, the structure is different in Phoca Download 2, it should be in

administrator/components/com_phocadownload/helpers\phocadownloadtag.php


Jan
If you find Phoca extensions useful, please support the project
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

Re: Re-ordering tags on new file page

Post by Suge1w »

Many thanks Jan, can't believe I didn't look in that file!
Post Reply