The Joomla! Forum ™



Forum rules


Forum Rules
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue May 15, 2007 12:05 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
Comparing DTD-s for component (component-install.dtd) and plugin (plugin-install.dtd) install, I found, that:

1. "folder" attribute of "files" element for plugin (but not for component!) has definition, that doesn't allow slashes, so:

- is illegal, but it works OK (as for component, where it is legal).

2. Description of "languages" element is strange:
there is NO way to describe differently language file for SITE and for ADMINISTRATOR (like for component). Currently language files are copied to administrator (backend) only  :(

3. And also I want to mention a BUG installing language files (it's both for plugins and components:
only first "languages" element is being processed, although DTD allows multiples languages elements (the same for installing components), so in my case, if I type this:

 
    en-GB.plg_content_yvcomment.ini
 

 
    ru-RU.plg_content_yvcomment.ini
 


- only first language file is installed.
By the way, in my Extension (yvComment) I'm using
this instead:


www/administrator/language/en-GB/en-GB.plg_content_yvcomment.ini
www/administrator/language/ru-RU/ru-RU.plg_content_yvcomment.ini

- but this is not consistent with "folder" attribute usage for files (that works!!!)

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Last edited by Robin on Tue Sep 11, 2007 5:38 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed May 16, 2007 2:15 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6568
Moving to Q&T for feedback.

_________________
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.joomlatools.eu - Joomla extensions that just work
http://www.nooku.org - Extension development framework for Joomla


Top
 Profile  
 
PostPosted: Tue Sep 11, 2007 5:37 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15750
Q&T Note; marking as under review

_________________
Regards Robin

http://www.linkedin.com/in/robinmuilwijk - http://twitter.com/i_robin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 



Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group