Welcome, Guest
Please Login    Lost Password?

How to display booking screen in an article?
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: How to display booking screen in an article?
#1494
How to display booking screen in an article? 1 Year, 1 Month ago Karma: 0
Firstly, your component is awesome, have used JomBok in the past, but it has no touch on Appointment Booking Pro.

Excuse the very basic question.

How do I get the comp to display in an article page?

At present I have it under the Main Menu which opens a static page.

http://www.surreyeasysearch.co.uk/index.php?option=com_rsappt_pro14&view=Booking%20Screen%20GAD&Itemid=103

Thanks

Ken
sovereign6
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/06/02 15:35 By sovereign6.
The administrator has disabled public write access.
 
#1495
Re:How to display booking screen in an article? 1 Year, 1 Month ago Karma: 43
ABPro is a component not a module.
I know of no way to embed a component in a article.
admin2
Moderator
Posts: 1896
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1519
Re:How to display booking screen in an article? 1 Year, 1 Month ago Karma: 0
Mambot (plugin for J1.5.) that enables any component to be included on any content page:
extensions.joomla.org/extensions/core-en...include/2723/details

this plugin will enable the admin to show a component(s) within a content item, so that the user can show multiple components on a single page:
extensions.joomla.org/extensions/core-en...include/5947/details
jansater
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/06/08 10:01 By jansater.
The administrator has disabled public write access.
 
#1865
Re:How to display booking screen in an article? 11 Months, 2 Weeks ago Karma: 0
A couple of things about the 'Component-as-Content' plugin:

1. The backend height parameter is broken. So it will default to 500px no matter what you enter into the parameter field. The fix for this is to use the h=x element within the plugin tag. For example, to set the iframe height to 1000 pixels, your tag should be:
Code:

{comascon}option=com_component&view=blahblahblah|h=1000{/comascon}


2. A bigger problem is that I don't think that an iframe is capable of passing along details to PayPal. So if you are hoping to use this in combination with PayPal integration, you will get an error. Rob, you know more about this than me, but I have run into problems in the past where I cannot pass a cookie along through an iframe. I am getting a similar error here where PayPal loses the transaction details along the way between the ABPro site and the PayPal site.

I found another plugin here:
extensions.joomla.org/extensions/core-en...embed-a-include/8741

This plugin does not use an iframe and is written by an author, Mike Reumer, who I know and trust. But unfortunately, at the moment, I am having a problem getting it to work. LOL!!

I'm sure that I will get some help from Mike. When I get it fixed, I will let you know.
JComeskey
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/08/16 14:40 By JComeskey.
The administrator has disabled public write access.
RESIST Theocratic Police-State Feudalism!!
 
#1866
Re:How to display booking screen in an article? 11 Months, 2 Weeks ago Karma: 43
Thanks John.

I will make a note on my demo page that uses the plug-in.
admin2
Moderator
Posts: 1896
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1875
Re:How to display booking screen in an article? 11 Months, 1 Week ago Karma: 0
OK, an update on the Mike Reumer Include Component plugin.

1. First, the reason I was getting an error is because I was not using the correct URL path in the plugin tag. I was originally using: option=com_rsappt_pro14&view=Booking Screen GAD&Itemid=92 which I copied from the address bar in the top of my browser. I should have used: option=com_rsappt_pro14&view=Booking%20Screen%20GAD&Itemid=92 which you can get by doing a right-click on your menu link.

2. Unfortunately, I still have another problem. When accessing ABPro from the plugin, if you click the 'Buy Now' button, instead of going to PayPal, the page simply refreshes. I asked Mike about it and this is what he told me:
The component is hiding the url for directing the post command. It's not set in the form. Maybe it's posting to the normal page url when calling the component directly. When embedding it in a different page with the plugin then the url is different and will redirect it to the frontpage of the site. Maybe you should ask the developer of the how you can set the url to post it.

I'm not smart enough to understand, so, Rob, I'm hoping that this means something to you.

EDIT: Sorry, I forgot to include a link to an example. Try this: thehealingcentre.biz/index.php?option=co...;id=56&Itemid=68
JComeskey
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/08/20 01:00 By JComeskey.
The administrator has disabled public write access.
RESIST Theocratic Police-State Feudalism!!
 
Go to topPage: 12
Moderators: admin2