Page 1 of 1

filename character count limitation

Posted: 16 Aug 2008, 10:59
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.

Re: filename character count limitation

Posted: 17 Aug 2008, 16:44
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

Re: filename character count limitation

Posted: 18 Aug 2008, 00:59
by totalsuper
Thanks, Jan! That worked! 8) 8) 8) 8) 8)

Re: filename character count limitation

Posted: 18 Aug 2008, 12:08
by Jan
ok