filename character count limitation

Phoca Gallery - image gallery extension
totalsuper
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jul 2008, 12:42

filename character count limitation

Post by totalsuper »

In screens such as this example:

Code: Select all

/administrator/index.php?option=com_phocagallery&view=phocagallerym&layout=form&hidemainmenu=1&folder=someimagefolder
only the first 15 characters of a folder name are shown, even though the column is almost the full width of the screen. Screens which display file names show the entire file name, but if the system returns only a folder name, as in the directory view given above, the folder name is cut off with an ellipse.

In other words, I get this:

Code: Select all

example-of-a-fo...
Instead of this:

Code: Select all

example-of-a-folder-with-a-distinguishing-number-at-the-end-8675309
How can I get it to display the entire folder name instead? Putting the distinguishing number first is not an option. It's at the end because it comes out of a filing system that way.

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

Re: filename character count limitation

Post by Jan »

administrator\components\com_phocagallery\views\phocagallerym\tmpl\form.php

remove:
echo PhocagalleryHelper::WordDelete($this->folders[$i]->name,15);
line 130

paste:
echo $this->folders[$i]->name

I think I change it for new version of Phoca Gallery...

Jan
If you find Phoca extensions useful, please support the project
totalsuper
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jul 2008, 12:42

Re: filename character count limitation

Post by totalsuper »

Thanks, Jan! That worked! 8) 8) 8) 8) 8)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: filename character count limitation

Post by Jan »

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