5
I did it!!!
I've managed to make something to prevent dreaweaver from messing my XOOPS code:
you can see the procedure
here!I followed the instructions and made two files that you should put in your dreamweaver folder:
Quote:
c:\program files\macromedia\dreamweaver 8\configuration\thirdpartytags
(or its equivalent on your computer). The same will work for all versions of Dreamweaver since version 3. You will then need to restart the Dreamweaver application, if it's open.
Im sorry but I cant upload them. Basically I converted the XOOPS favicon to a gif and called it xoops.gif (that's the file 1 of 2)
the second one is copy the following xml code into a xml file called xoops.xml:
<tagspec tag_name="xoops_smarty" start_string="<{" end_string="}>" detect_in_attribute="true" icon="xoops.gif" icon_width="14" icon_height="14">tagspec>
and that one is the second file (2 of 2)
Quote:
All this does is teach Dreamweaver that Smarty XOOPS tags are similar to ASP or ColdFusion tags. This should insure that Dreamweaver will always leave the tags undisturbed. It will also show a XOOPS icon wherever you use the <{...}> tags.
So, now you can use, modify and whatever you want in dreamweaver, design and code view.
Enjoy!!
Sorry for my bad english... :)
I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.