Jump to content
CFVA

Mix TPL & PHP modules?

Recommended Posts

Yes they can but you will have to make a few changes in order to make it work correctly. Which module are you trying to install on 5.5?

Share this post


Link to post
Share on other sites
1 hour ago, servetas said:

Yes they can but you will have to make a few changes in order to make it work correctly. Which module are you trying to install on 5.5?

1 ⭐ phpVMS-ScheduleSearch  — phpVMS module to create a schedule search ...

Share this post


Link to post
Share on other sites

Follow the steps below:

1) Open the core/common/FrontSchedulesData.class.php and where "public function" replace with "public static function".

2) Open the core/modules/FrontSchedules/FrontSchedules.php and where ".tpl" replace with ".php".

3) Open the core/templates directory and change the name of the "airport_search.tpl" file to "airport_search.php".

They should work correctly afterwards.

Share this post


Link to post
Share on other sites
10 hours ago, servetas said:

Follow the steps below:

1) Open the core/common/FrontSchedulesData.class.php and where "public function" replace with "public static function".

2) Open the core/modules/FrontSchedules/FrontSchedules.php and where ".tpl" replace with ".php".

3) Open the core/templates directory and change the name of the "airport_search.tpl" file to "airport_search.php".

They should work correctly afterwards.

Done all that, but no routes show after the search!

Share this post


Link to post
Share on other sites

Are you using a different table prefix for your database tables? The module is set to query the phpvms_schedules database table. Does it exist?

Share this post


Link to post
Share on other sites
1 hour ago, servetas said:

Are you using a different table prefix for your database tables? The module is set to query the phpvms_schedules database table. Does it exist?

No. And Yes. The normal search works just fine.

Share this post


Link to post
Share on other sites
11 minutes ago, servetas said:

What do you see after you click on the search button? What is your website url?

No error messages! Just no flights found.

www.lakervirtual.com

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...