0
Welcome Guest! Login
0 items Join Now

Is this possible with Joomla?

  • Is this possible with Joomla?

    Posted 18 years 3 months ago
    • As I thought everything is possible with Joomla I can´t get this work.

      I am using the wrapper to include a search form for my internetradiostation. The user searches for a specific track and requests it. After requesting my other site provides a form to make a dedication with dedication and user name.

      I want Joomla to set this username or pass it as "input hidden" which would be enough.

      Now: How can I pass the username in that specific field?

      Joomla Site Other Site
      using wrapper

      include search <
      dedication form
      joomla tells username
      all sending back
      >

      The request is working so far, because of the wrapper.
      I just cannot pass the user name out of joomla to another site.

      The search stuff is an extern website, fully working. So this is not a component, module or something.


      I have had a look for several days on all Joomla sites I knew so far and could´nt find any solution.
  • Re: Is this possible with Joomla?

    Posted 18 years 3 months ago
    • The ID needs to be within the form, so make the form an include file of a content item instead of wrapped.

      The form does not have to reside on the other site in order to send data to it.
      • Install the kl_php plug-in (or something similar) for using php code in a content item.
      • Set up the form in a file on your server.
      • In the content item, pull in the form using the include function:
        {kl_php}include("myform.php");{/kl_php}
      • Within the form, have a hidden field that captures the username in a hidden field:
        value="<?php echo $username;?>"
        (I'm just using $username here b/c I don't know off the top of my head which variable it is.
  • Re: Is this possible with Joomla?

    Posted 18 years 3 months ago
    • Thank you for your response.

      I have tried this already. The problem is that the form is the last step of this wrapper.

      1. Loading search
      2. User types in search
      3. Database gives results
      4. User chooses
      5. Dedication form is coming up <<<

      Is there a way to push the variable to all the sites?

Time to create page: 0.069 seconds