Tapatalk

Associate .module to .php file?

Associate .module to .php file?

3
NewbieNewbie
3

    Sep 14, 2006#1

    how I make to associate an archive .module to an archive .php?

    6,685587
    Grand MasterGrand Master
    6,685587

      Sep 14, 2006#2

      What are you talking about? Syntax Highlighting? A php file is not an archive!
      Best regards from an UC/UE/UES for Windows user from Austria

      3
      NewbieNewbie
      3

        Sep 14, 2006#3

        Yes! The same syntax highlighting of php files.

        Thanks!

        6,685587
        Grand MasterGrand Master
        6,685587

          Sep 14, 2006#4

          Click on the button Open at the Configuration - Editor Display - Syntax Highlighting dialog to open your wordfile. Close the configuration dialog with Cancel.

          If you use the default wordfile.txt in the UEStudio program directory, scroll down in the wordfile to the line starting with /L3"HTML". At the end of this line you see the file extensions already associated with HTML syntax highlighting. You can add here MODULE without period. But maybe the maximum number of file extension is already used and you have to replace an other extension like PHTML for example with MODULE.

          If your .module files contain only PHP and not HTML code, you can assign the extension MODULE also to the line starting with /L8"PHP". Save the wordfile and the .module files should be immediately highlighted with HTML/PHP syntax highlighting.
          Best regards from an UC/UE/UES for Windows user from Austria

          3
          NewbieNewbie
          3

            Sep 14, 2006#5

            Thanks for your attention guy!