fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: Calling a PHP page outside of Joomla

Calling a PHP page outside of Joomla 4 years 11 months ago #3263

Hello,

For our booking module I have to call a page outside of Joomla.
joomla.schwarzenauer-muehle.com/index.ph...artements/3-zimmer-1
As you can see on the bottom of the page, I have already integrated the booking calendar with a plugin. Below is the link to the booking form. The form is currently opened in an extra window, which is not so nice.

Do you have an idea how I can integrate the form into the page?
Is this possible with a modal popup?
An iFrame on another site does not work, because the link has to pass the ID of the room to the form.

I hope you understand what I mean. I would be very grateful for a small tip.

Many thanks in advance.
Best regards
The administrator has disabled public write access.

Calling a PHP page outside of Joomla 4 years 11 months ago #3295

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4490
  • Thank you received: 647
  • Karma: 116
Hi,

You can use an iFrame menu item type and call it in there and change the booking link to the menu of that menu item.

That will bring in your Joomla header and footer and the page will look real nice.

Joomla has iframes by default and you can create a menu item for the same.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Calling a PHP page outside of Joomla 4 years 11 months ago #3315

Hi,

Thanks for the tip.

I have created a menu point as iframe-wrapper and then hidden it:
joomla.schwarzenauer-muehle.com/index.ph...ents/buchungsanfrage


Under Web address I entered the following:
joomla.schwarzenauer-muehle.com/buchungsformular.php?id=3
This will display the form, but only for "Room 1".


How should the address look like I enter under "Web address" in den Menu item?

How should the link look like, with which I call the formular (Menu item) with the ID of ech room.


Thank you for your help!

Best regards
The administrator has disabled public write access.

Calling a PHP page outside of Joomla 4 years 11 months ago #3316

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4490
  • Thank you received: 647
  • Karma: 116
Hi,

Good job doing this.

I guess you will just have to create more menu items (one for each room) if you want to link to the rooms directly but you can link to a landing page that further links to all rooms.

But either way, you are looking at creating multiple menu items to be able to link multiple rooms.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.340 seconds
Cron Job Starts