1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Created a simple plugin need help exporting

Discussion in 'XenForo Development Discussions' started by mmoore5553, Apr 21, 2012.

  1. mmoore5553

    mmoore5553 Well-Known Member

    Okay i created a plugin to pull into a php file. I am trying to also add some css to the header but unsure how to create it where i do not have to do it manually. I thought about using a header hook but I do not understand how to do the structure or file to do it.Below is the bottom which i want to put into the header hook

    Do i just make a php template with it and then hookname = header ? What would the folder structure be or do i just make a listener php ? Sorry I am learning this all

    Then once i get it all done how do i export it to share ?

    example ..

    <link rel="stylesheet" media="screen" href="style.css"/>
    <!--[if lte IE 7]>
    <link rel="stylesheet" media="screen" href="styleIE7.css" />
    <![endif]-->
    <script type="text/javascript" src="slider/js/javascript.js"></script>
    <!--[if lte IE 7]>
    <script type="text/javascript" src="slider/js/javascript-ie7.js"></script>
     
  2. Digital Doctor

    Digital Doctor Well-Known Member

    Did you use TMS ?
     
  3. mmoore5553

    mmoore5553 Well-Known Member

    nevermind i got it resolved and made my first plugin. No i did not use TMS.
     

Share This Page