Jump to content

morphing code


tdohrer

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?

Link to comment
Share on other sites

  • Moderators

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
Link to comment
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?

Link to comment
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

Link to comment
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...