Jump to content
LakerVirtual

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×