--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
I'm still trying to figure out how this observer stuff works.
There is indeed a bug which broke tag saving for 3rd party extensions. The storage was changed to use an observer but I can't get it to fire fof my extension, and the old way using metadata, preStorage and postStorage doesn't work anymore.
I'm still trying to figure out how this observer stuff works.
Quick glance at patch - would you have to register an observer?
https://github.com/joomla/joomla-cms/commit/f747e97f1709eccfdb634088499b65c7c7dd00a3#L6R61
On Sat, Jul 27, 2013 at 12:00 PM, Bakual <werbe...@bakual.ch> wrote:
There is indeed a bug which broke tag saving for 3rd party extensions. The storage was changed to use an observer but I can't get it to fire fof my extension, and the old way using metadata, preStorage and postStorage doesn't work anymore.
I'm still trying to figure out how this observer stuff works.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
Wait - are you saying that you do need to register an observer? Or that Micheal's fix was what you needed. /me is so easily confused, sorry!
On Sat, Jul 27, 2013 at 1:10 PM, Bakual <werbe...@bakual.ch> wrote:
Yeah, apparently this is what's missing when I want to use the new way. The old way is still broken.It's a bit unfortunate that this is hidden in a cms.php. Imho it should be in the com_weblinks or com_contact so extension developer will find this reference when they look how it works.
Am Samstag, 27. Juli 2013 19:39:44 UTC+2 schrieb Amy Stephen:
Quick glance at patch - would you have to register an observer?
https://github.com/joomla/joomla-cms/commit/f747e97f1709eccfdb634088499b65c7c7dd00a3#L6R61
On Sat, Jul 27, 2013 at 12:00 PM, Bakual <werbe...@bakual.ch> wrote:
There is indeed a bug which broke tag saving for 3rd party extensions. The storage was changed to use an observer but I can't get it to fire fof my extension, and the old way using metadata, preStorage and postStorage doesn't work anymore.
I'm still trying to figure out how this observer stuff works.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsubscribe@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
FC
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
So, is the old way deprecated?
It's a bit unfortunate that this is hidden in a cms.php. Imho it should be in the com_weblinks or com_contact so extension developer will find this reference when they look how it works.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
I have noticed that prior to 3.1.4 (I've used 3.1.1), you would instance $JTable, then you supply a list of tag id to the metadata field of your data, Joomla then takes care of tag map, for example:
{"tags":[2],"robots":"","author":"","rights":"","xreference":""}
However the same does not work for 3.1.4 anymore, the key `tags` is gone in metadata field of #_content. How do we add tags to article now?
Thanks,
Sample code worked for 3.1.1:
$table = JTable::getInstance('Content', 'JTable', array());
$data = array(
'title' => $your_title_string,
...
'metadata' => array(
'tags' => $list_of['tags'],
....
);
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.