default userpic

can i use a MT plugin outside MT folders?

Vote 0 Votes

this might be answered very simply with a no but i have to ask.

i have a static website i want to add some plugins i see MT has available.. can i install MT in a subdirectory and use a plugin (the plugin specifically is MajorDojo.com's Contact form http://www.majordojo.com/projects/movable-type/contact-forms/) in my main site? i saw the tutorial and it has an html code to apply the contact form anywhere in the site, but does it have to be in MT's directory to work?

7 Replies

| Add a Reply
  • If your question is whether or not you can use a plugin effectively as standalone software, then the answer is "no." You can install MT, ContactForm and other plugins and use them to create pages and forms at certain paths, but you cannot just use a plugin as standalone software.

  • default userpic

    that cleared part of my question.. but let me try rephrase:

    can i install MT and the plugin in www.mydomain.com/MovableType/ and then use the code from the contact form plugin in www.mydomain.com/contact.html ?

  • What do you mean by "use the code from the contact form plugin?" You can install MT anywhere you want that you can access in a browser, and then have it write a page to contact.html if that's what you're asking.

  • default userpic

    >> What do you mean by "use the code from the contact form plugin?"

    what i mean is to use the HTML code provided by the contact form plugin and use it in a static page outside the MT's subdirectory. The thing i dont like about CMS, or that i am not rdy for it is that i dont know how to do custom template designs yet.. and clients dont like generic templates.

  • default userpic

    >> What do you mean by "use the code from the contact form plugin?"

    what i mean is to use the HTML code provided by the contact form plugin and use it in a static page outside the MT's subdirectory. The thing i dont like about CMS, or that i am not rdy for it is that i dont know how to do custom template designs yet.. and clients dont like generic templates.

    • You probably could, but it would still be using the MT backend, and a copy-and-paste job might break paths in the HTML if you're not careful. The only good choices here are to either write some PHP or Perl code to handle the form processing yourself, or read up on Movable Type and the Contact Forms enough to be comfortable with managing it from Movable Type.

  • default userpic

    thanks for your help and advice :)

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012