- Posts: 12
- Thank you received: 0
J.Plugin Reprocessing after OSB AJAX Form Refresh
- Paulzero
- Topic Author
- Offline
- New Member
Less
More
6 years 10 months ago #99655
by Paulzero
J.Plugin Reprocessing after OSB AJAX Form Refresh was created by Paulzero
Hi JoomDonation !
I need to use J.Plugin 'Articles Anywhere' in OSB 'Service Description' via > Admin > Components > OSB > Dashboard > Manage Services > Services [Edit] > Service Description: (Field Type = textarea) - usage : {article XXX}{text}{/article}
On first Frontend display of 'Booking Form':
'index.php?option=com_osservicesbooking&view=default&date_from=&date_to=&category_id=&employee_id=&vid=&Itemid=YYY'
J.Plugin 'Articles Anywhere' is processed correctly & article is inserted into page correctly.
On change of date in OSB 'Calendar' on 'Booking Form' > Ajax Refresh > J.Plugin 'Articles Anywhere' not processed. OSB just prints '{article XXX}{text}{/article}' to screen in Frontend 'Service Description' area.
Code : in > components/com_osservicesbooking/classes/ajax.html.php
if($configClass == 1){echo $service->service_description;}
Question : How can I force plugin re-processing & re-display on Ajax 'Booking Form' refresh ? (OnContentPrepare ?)
Cheers - Paulzero
I need to use J.Plugin 'Articles Anywhere' in OSB 'Service Description' via > Admin > Components > OSB > Dashboard > Manage Services > Services [Edit] > Service Description: (Field Type = textarea) - usage : {article XXX}{text}{/article}
On first Frontend display of 'Booking Form':
'index.php?option=com_osservicesbooking&view=default&date_from=&date_to=&category_id=&employee_id=&vid=&Itemid=YYY'
J.Plugin 'Articles Anywhere' is processed correctly & article is inserted into page correctly.
On change of date in OSB 'Calendar' on 'Booking Form' > Ajax Refresh > J.Plugin 'Articles Anywhere' not processed. OSB just prints '{article XXX}{text}{/article}' to screen in Frontend 'Service Description' area.
Code : in > components/com_osservicesbooking/classes/ajax.html.php
if($configClass == 1){echo $service->service_description;}
Question : How can I force plugin re-processing & re-display on Ajax 'Booking Form' refresh ? (OnContentPrepare ?)
Cheers - Paulzero
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12546
- Thank you received: 1624
6 years 10 months ago #99730
by Mr. Dam
Replied by Mr. Dam on topic J.Plugin Reprocessing after OSB AJAX Form Refresh
Hi Paulzero,
I am not sure with your idea, but in next OS Services Booking version. OSB Search module will use Ajax search filtering.
Thanks
Dam
I am not sure with your idea, but in next OS Services Booking version. OSB Search module will use Ajax search filtering.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Paulzero
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
6 years 10 months ago #99770
by Paulzero
Replied by Paulzero on topic J.Plugin Reprocessing after OSB AJAX Form Refresh
Hi Dam !
Thanks for response. Re: 'Articles Anywhere' plugin used in 'Service Description' - Currently when OSB Booking Form displays for first time in Frontend 'Articles Anywhere' plugin is fired & content of the Article specified within the 'Articles Anywhere' plugin displays correctly.
Problem is than when AJAX refreshes the Booking Form plugin 'Articles Anywhere' isn't fired / processed & content of Article not displayed (Only the plugin code - eg: { article XXX }{ text }{ /article } - displays).
So wondering how to get AJAX to fire plugin on Booking Form refresh.
Cheers - Paulzero.
Thanks for response. Re: 'Articles Anywhere' plugin used in 'Service Description' - Currently when OSB Booking Form displays for first time in Frontend 'Articles Anywhere' plugin is fired & content of the Article specified within the 'Articles Anywhere' plugin displays correctly.
Problem is than when AJAX refreshes the Booking Form plugin 'Articles Anywhere' isn't fired / processed & content of Article not displayed (Only the plugin code - eg: { article XXX }{ text }{ /article } - displays).
So wondering how to get AJAX to fire plugin on Booking Form refresh.
Cheers - Paulzero.
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.