So as I understand it, most MODs will have only a contrib directory, and not an xml directory (since almost all additional instructions are optional), unless the MOD author prefers to put the XSL file in the xml directory instead of the contrib directory.Optional install files or instructions should be placed within the contrib directory. Additional required instructions should be placed in the root directory or in directory called named xml/
It's also allowed to place the XSL in the contrib or xml directory.
I would like to make a suggestion to the <comments> tag.Paul wrote:...or suggestions you can post them here.
Code: Select all
<edit>
<comment lang="en"><![CDATA[Before you do THIS edit. Go and get some more coffee...]]></comment>
Code: Select all
/* Comment Box */
div.mod-comment { background-color: #eef6ff; border: solid 1px #777; margin: 10px 0; padding: 0 10px 5px; }
div.mod-comment:hover { border: solid 1px #6699CC; }
div.mod-comment dd { color: #bd7901; }
Code: Select all
/* Comment Text */
div.mod-comment dd { color: #006633; }
Starting from this moment, we will require to have the XSL in all directories where a xml file is. MODs currently in queue will be repacked to add these.XSL file
Because of a security change in firefox3, the MODX file will not displayed within firefox3 when the xsl file is in another directory.
Due to this issue we need to require the xsl be placed in all directories where a MODX xml file is. We will repack all MODs that dont have XSL files within all directories.
Actually, that's not quite correct, as this will definitely work in Firefox 3:Paul wrote:No, that will not work with firefox3. The install.xml will not be displayed. There will be a xsl also needed in the same dir as the install.xml is.
So this is the correct one:
install.xml
modx.prosilver.en.xsl
contrib/modx.prosilver.en.xsl
contrib/subsilver2.xml
I personally really dont like this, but there isnt really any other solution with firefox3
I would go with that idea - it is far less confusing, not open to interpretation and would lead to less problems.A_O_C wrote:i can see this getting confusing anyway, so why not just leave the new policy as it stands (an XSL file in every folder that contains an XML file). i kinda like it better that way anyway.
I agree with this... we will discuss, but I don’t see any reason why this would not be a problem. -- Basically, we should accept both methods (the fewer restrictions on packaging, the better).primehalo wrote:MOD authors that are confused could go ahead and use that method, but those who are not confused shouldn't be forced to include extra, unnecessary files in their MOD package. Plus, it is better for the end user if the XSL files are put in a separate subdirectory so that the file won't be accidentally opened.
Any word on this? I'm still packing the XSL in every directory (as stated in the packaging guidelines), but I agree with primehalo that it would be better if we where able to put that file in a separate directory.Highway of Life wrote:I agree with this... we will discuss, but I don’t see any reason why this would not be a problem. -- Basically, we should accept both methods (the fewer restrictions on packaging, the better).primehalo wrote:MOD authors that are confused could go ahead and use that method, but those who are not confused shouldn't be forced to include extra, unnecessary files in their MOD package. Plus, it is better for the end user if the XSL files are put in a separate subdirectory so that the file won't be accidentally opened.
Problem is that Firefox3 so far can not load it thanErik Frèrejean wrote:Any word on this? I'm still packing the XSL in every directory (as stated in the packaging guidelines), but I agree with primehalo that it would be better if we where able to put that file in a separate directory.
Yes it can, as long as the subdirectory is underneath the current directory. Firefox 3 only won't read it when it has to go up one directory to find the file.nickvergessen wrote:Problem is that Firefox3 so far can not load it thanErik Frèrejean wrote:Any word on this? I'm still packing the XSL in every directory (as stated in the packaging guidelines), but I agree with primehalo that it would be better if we where able to put that file in a separate directory.