J.Plugin Reprocessing after OSB AJAX Form Refresh

  • Paulzero
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 10 months ago #99655 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

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #99730 by Mr. Dam
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

Please Log in or Create an account to join the conversation.

  • Paulzero
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 10 months ago #99770 by Paulzero
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.

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam