Hello,
If I add tags to an image in Phoca Gallery 4.0.0 Beta, then click "Save", the tags disappear from the tags textbox. They are in the database, but do not display in the text box.
Also, the function, PhocaGalleryTag::storeTags, should return `true` if tags are stored successfully.
Phoca Gallery 4.0.0 Beta - Tags not displaying
-
- Phoca Newbie
- Posts: 5
- Joined: 12 Mar 2013, 18:16
-
- Phoca Newbie
- Posts: 5
- Joined: 12 Mar 2013, 18:16
Re: Phoca Gallery 4.0.0 Beta - Tags not displaying
The tags do not display due to the use of loadResultArray for the custom fieldtype, PhocaGalleryTag:
It's been removed in Joomla 3.
Code: Select all
if ($select == 0) {
$tags = $db->loadResultArray();
} else {
$tags = $db->loadObjectList();
}
-
- Phoca Newbie
- Posts: 5
- Joined: 12 Mar 2013, 18:16
Re: Phoca Gallery 4.0.0 Beta - Tags not displaying
Just found this that may be really useful for you: http://docs.joomla.org/Potential_backwa ... tform_12.1
JDatabase::loadResultArray() has been removed. Use JDatabase::loadColumn() instead.
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery 4.0.0 Beta - Tags not displaying
Hi, thank you for the info, I will fix it for the next version.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery 4.0.0 Beta - Tags not displaying
Hi, fixed in Phoca Gallery 4.0.0 RC
If you find Phoca extensions useful, please support the project