<<< Coding for the future >>>
| _1 in title of Joomgallery images |
|
|
|
| Written by Administrator |
| Tuesday, 07 December 2010 16:14 |
|
To solve, open up components/com_joomgallery/helpers/upload.php Find the lines (around line 350): // Add counter number if set in backend if($this->_config->get('jg_useruploadnumber')) { // $row->imgtitle = $row->imgtitle.$this->imgname_separator.$filecounter;
Change to: // Add counter number if set in backend if($this->_config->get('jg_useruploadnumber')) { $row->imgtitle = $row->imgtitle; }
User uploaded pictures should no longer display _1 in the title. This solution only works for pictures that will be uploaded from now on. It does not apply retrospectively!
|
| Last Updated on Tuesday, 07 December 2010 16:23 |
Comments
RSS feed for comments to this post.