0
Welcome Guest! Login
0 items Join Now

SOLVED Using Custom PHP Code

  • SOLVED Using Custom PHP Code

    Posted 18 years 6 months ago
    • Hi, I have written a custom form using PHP that I would like to use through Joomla. I am looking for the best way to do this.

      I know that there a Joomla add-on's for forms, however I'd rather not use them at this point.

      I have accomplished this by displaying the PHP form through the Wrapper component, accessed by a *menu link*, however I haven't figured out how to link to it properly through a page of static content.

      Obviously, if I just link to it by URL, the form is displayed, but not the Joomla site.

      Is there a way through the content editor to create a link to a menu item rather than just the URL?

      Thanks
      Phil Smith
    • Last Edit: 18 years 6 months ago by Philip Smith.
    • -- ChurchWiz - Easy & Affordable Church Websites
      -- www.churchwiz.com
    • 's Avatar

    Re: SOLVED Using Custom PHP Code

    Posted 18 years 6 months ago
    • Add it to a custom module and attach that to a menu perhaps?
  • Re: SOLVED Using Custom PHP Code

    Posted 18 years 6 months ago
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: SOLVED Using Custom PHP Code

    Posted 18 years 6 months ago
    • Hi Philip

      You can use rd_addphp mambot or JoGadgets to display a php file in your joomla without the use of wrapper. ;)
    • Last Edit: 18 years 6 months ago by .
  • Re: SOLVED Using Custom PHP Code

    Posted 18 years 6 months ago
    • Hi,

      Since that last posting I ended up using the Jumi add-on, which places custom PHP files into different module positions. It was a little tricky to set that up so it would look like the actual page content, and NOT sitting in a module position, but I did work around it. And I was able to pass variables through the module into the PHP file which was necessary.

      Do you know if this rd_addphp can pass variables from page to page? If so I would look into switching over to it to make things run the right way.

      You can see how I implemented it on www.churchwiz.com/content/view/11/42/
      (The site is still in production..)

      ALso, just noticed as I was typing this, that since I changed over to SEF url's the other day the variable passing has screwed up on the inital page. AHH!

      :)
    • -- ChurchWiz - Easy & Affordable Church Websites
      -- www.churchwiz.com
    • Dionysus's Avatar

    Re: SOLVED Using Custom PHP Code

    Posted 18 years 5 months ago
    • Hey Phil,

      Just checked your site, and the image doesn't seem to be appearing on IE.
  • Re: SOLVED Using Custom PHP Code

    Posted 18 years 5 months ago
    • thanks for that. I have been switching a number of domains over to HostGator during the past few days and churchwiz.com was one of them. I will look into it.

      Thanks again
    • -- ChurchWiz - Easy & Affordable Church Websites
      -- www.churchwiz.com
    • Dionysus's Avatar

    Re: SOLVED Using Custom PHP Code

    Posted 18 years 5 months ago
    • No worries.

      Keep up the good work.

      I like the work you are doing for churches

Time to create page: 0.053 seconds