Dele
> --
> You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
> To post to this group, send an email to joomla-...@googlegroups.com.
> To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
>
>
--
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination
of the information or copying of this message is prohibited. If you
are not the
addressee, please notify the sender immediately by return e-mail and
delete this message.
Thank you.
1) Do you support later versions of the manifest? (e.g. a 1.7 manifest in 1.6)
2) How do you handle the situation where someone puts another manifest
for a different extension in their unpacked zip a few levels deep?
Sounds good otherwise.
Sam Moffatt
http://pasamio.id.au
Can you open a new thread for this instead of hijacking an existing one?
Thanks!
Sam Moffatt
http://pasamio.id.au
Sam Moffatt
http://pasamio.id.au
E.g.:
You're on Joomla! 1.7
The component is marked as 1.6 and you don't need a 1.7 manifest
The plugin is for 1.7 only and to prevent it installing in 1.6 you
flag it accordingly.
The plugin is sitting in a subdirectory of the component installer
(/admin/support/plgSystem17ExtraSupportShimThing).
The plugin has the highest matching version number and wins.
Sam Moffatt
http://pasamio.id.au
As of 1.6, plugins and modules can run script files and there was a
request that templates do the same that didn't sound like a bad idea
either (must admit I was originally skeptical).
Cheers,
Sam Moffatt
http://pasamio.id.au
Cheers,
Sam Moffatt
http://pasamio.id.au
Sam Moffatt
http://pasamio.id.au
Keeping in mind params in the installation file are only used as
defaults as of Joomla! 1.5; com_config refers to config.xml instead.
For a good tutorial on how component params work in 1.5, check out
this article on the wiki:
http://docs.joomla.org/Component_parameters
The details are for 1.5 not 1.6 however it is mostly applicable with
the exception of the changes in the XML format and the fact that in
1.6 JParameter has been removed (you can use JRegistry as an
equivalent with loadJSON and loadINI for 1.6 and 1.5 respectively; the
automatic form generation isn't a part of JForm by default however
that issue is covered elsewhere on these lists).
>
> Joomla 1.6 has introduced a major incompatibility by renaming params
> to fields, making the description of configuration params/fields
> incompatible with previous joomla versions, which were compatible.
Yes, the params have changed format since they were introduced around
2004 (perhaps earlier, not sure). This is part of the new JForm system
which also enables tabbed configuration in components for grouping
plus provides hooks to programmatically manipulate and extend forms.
Converting across many of my params was a matter of doing
s/<params/<fieldsets/ and adding the extra attributes to the field set
and then s/<param/<field/ to get the fields across. If you had custom
JParam elements then it is a bit harder.
Joomla! 1.6 also swapped from using INI in the database to using JSON
to get a performance boost particularly on sites that are param heavy
(e.g. large amounts of modules particularly with lots of params or a
large number of plugins again with large numbers of params). This also
applies to a lesser extent with component params and template params
since they're usually only loaded once on a page load. Anything else
using params will have similar improvements when switching from INI to
JSON.
>
> And for "2)", joomla is pretty strict on filename it is looking for.
>
> So now that a way to solve the installation issue has been found,
> Would it be elegant to use same method to find the right XML file for
> configuration params/fields as for installation too, instead of a
> "hardcoded" name ?
The only reason we're hunting is that during installation we don't
enforce a particular location for the installer of either having it in
the root, a subfolder or really anywhere in the directory structure -
let alone the fact we don't necessarily know what we're installing
ahead of time. Changing would potentially break more BC and I believe
we're trying to avoid that. This will add support for multiple files
for the installer to enable flexibility there with different releases.
I had personally hoped for them to be as backwards compatible as
possible though others have made changes that made that impossible
unfortunately. I'm hopeful we won't have that happen much more going
forwards but having support for multiple install files enables other
stuff like different SQL statements per version, different script
files per version and different update sites.
What is the advantage of having this live in a random file? It would
add extra complexity to com_config to have it now hunt for files as
well the installer whose reason is the fact that it doesn't know what
you've just handed it and is digging around to guess what it should
install. At the moment the config.xml file will work with 1.5 params
and 1.6 fieldsets from the testing I've just done. They're duplicated
which sucks but they do work side by side.
It was out of sync because the platform had moved and was being developed privately for some time, and only 'official' after I had coded and committed my changes. It was set to pending, and then reset because of the sync issues, which were being done privately and without forewarning. Also the initial timeline would be merges in early May, as I was told by Mark. The issue is thus, it was coded, ready by the initial timeline and in the correct place, but it was ignored. All of those details were changed privately without warning, and therefore it is my fault that my feature wasn't put in? This is not the response I would hope to receive from trying to contribute, and in fact having done so to the guidelines of the time.I have already said I'm not interested in working on it further, so if anyone wants to take my patch or branch from SVN, feel free to re-implement the feature.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/Z0DDCvEK9V0J.
This was always going to be a tough release and I think those
involved, at whatever level of commitment, need to observe the virtues
of tolerance and patience when things don't quite go right the first
time round. Not everyone got what they wanted for a whole gamete of
individual reasons and nobody planned to make anyone's life miserable.
Several other branches didn't get in but I know people have taken
that on the chin and are working hard to do their best to get it in
1.8 or the platform.
As already mentioned, I can sympathise with the disappointment because
I've been there myself many times and know how it feels, but you pick
yourself for "next time" and I think under the circumstances everyone
involved did the best they could for this release, which, honestly,
has surpassed my expectations. This first time round was never going
to be perfect, but let's keep the banta professional and keep our
expectations of what others will do "for the love of it" realistic.
Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla 1.6 developers
I can't speak for the PLT, but I can say offer on behalf of the
platform maintainers, and all those wonderful people that sent in pull
request, an apology for inconvenience caused to developers during the
last two months of the 1.7 release cycle where the platform was in the
process of being merged. On the whole, it's gone smoothly but cases,
like Jeremy's, have occurred which is unfortunate, unplanned and
generally undesirable. Platform and CMS maintainers should be talking
soon about this, and many other issues that have presented
post-separation - but don't let this stop people throwing ideas out
there as well.
I do hope everyone can be patient during this time and all work
together as we work things out.
Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla 1.6 developers
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! CMS Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-cms/-/7QvuIm_ov8UJ.