Jump to content
tdohrer

morphing code

Recommended Posts

Hello,

I am in need of some help. I am trying to use the flight search module from crazy creatives instead of the default module. But i am having trouble what code to use to make this work.

This is my current code:

<li><a href="http://www.crew.aloftvirtualalliance.com/index.php/schedules">Book A Flight</a></li>

This is the code in the install insturctions:

<a href="<?php echo url('/flightsearch') ?>">Search Flights</a>

Any ideas?

Share this post


Link to post
Share on other sites

Assuming you are in layout.php at the navigation section, simply replace the following code:


<li><a href="<?php echo url('/schedules') ;?>">Book A Flight</a></li>

With the one in install instruction like this:


<li><a href="<?php echo url('/flightsearch');?>">Search Flights</a></li>

And that's about it.

Edited by parkho

Share this post


Link to post
Share on other sites

So i did that, and i am getting this.

Thank you for all the help by the way.

Notice: The template file "/home/aloftvir/public_html/crew//core/templates/flightsearch/searchform.tpl" doesn't exist in /home/aloftvir/public_html/crew/core/classes/TemplateSet.class.php on line 248

What does that mean?

Share this post


Link to post
Share on other sites

Sorry did more googling and figured that out, now i have ran into this issue in the pics. I get the serach page then it says no module. I did have to switch file names from php to tpl. I followed the instructions on the devlopers site on how to do so. Any help would be great and thanks for the help so far. You guys have been huge.

post-19504-0-21535100-1478357690_thumb.png

post-19504-0-86753900-1478357693_thumb.png

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

×