Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6183

    Hello, im trying to integrate my site with a online quoting and trip builder tool serving called AVINODE,

    Im following the manual but I cant finish the installation wich is pretty simple, but I dont know where to put some code.

    This are the steps acording the manual to set up my Broker Link (integration)


    Basic setup

    Step 1:

    To set up Broker Link you need to edit the HTML code of your website.

    Inside the existing <body> tag of your HTML page you must add a <div> tag with an id attribute.

    It is in this <div> tag that you must load the Broker Link search form.

    <body>

    <div id=”avinode-broker-link” />

    </body>

    Step 2:

    Inside the existing <head> tag of your HTML page you must add two <script> tags. You can also add an optional <meta> tag with to specify your default locale and an optional <link> tag pointing to a style sheet file. This style sheet file will allow you to personalize your broker link. More information on these tags will follow below.

    <head>

    <meta name=”gwt:property” content=”locale=CODE” />

    <link rel=”stylesheet” href=”CSS_FILE_PATH” type=”text/css” />

    <script type=”text/javascript” src=”http://link.avinode.com/avinode/AvinodeLinkWeb/com.avinode.gwt.brokerlink.BrokerLinkStandardClient/com.avinode.gwt.brokerlink.BrokerLinkStandardClient.nocache.js”>

    </script>

    <script type=”text/javascript”>

    function onAvinodeLinkReady() {

    AvinodeBrokerLink.init(‘USERNAME’,

    ‘PASSWORD’,

    ‘DIV_ID’,

    ‘GOOGLE_API_KEY’,

    ‘DEFAULT_CURRENCY’,

    ‘LAYOUT’);

    }

    </script>

    </head>

    I finished Step 2 , I added the code to header.php … but I dont know where to put this code:

    <body>

    <div id=”avinode-broker-link” />

    </body>

    And now the site give me this error when I open any page:

    ERROR

    http://wisemillionairejets.com

    no such target panel for Avinode content: null

    I need help with this please, where can I put the code ??

    Here is a link to the manual:

    http://bit.ly/o8EW5v

    Thank You

    #53195

    Hey,

    You can insert the code in includes/loop-page.php before following line:

    </div><!--end post-entry-->

    #53196

    Hello Dude !!

    You are the best !!! Thanks for your answer.

    I already I still getting this error in the home page and portafolio:

    ERROR

    http://wisemillionairejets.com

    no such target panel for Avinode content: null

    And the avinode form is showing in every other page.

    I need to have it ONLY in the GET A QUOTE page :

    Can you help me with this:

    1- What is causing and how can I solve the error ??

    2- How can I display the form only in an specific page, in this case the GET A QUOTE ??

    Here is another wordpress site working perfect with the integration.

    Thank you for your help and your always fast answers !!!

    #53197

    The site … http://charterwind.com/

    this is what is happening in mine

    http://wisemillionairejets.com

    Thank you !!

    #53198

    This is how the code should look like in the content page, but I dont know where to put this

    <div id=”body_block”>

    <div class=”inner”>

    <div id=”primary_full”>

    <div class=”content”>

    <h1>

    Get your charter flight quote online!</h1>

    <div class=”entry”>

    <h4>

    We offer the largest market place for private charter jet flights. You can effortlessly obtain an instant charter flight quote online, eliminating the time consuming task of contacting several aircraft operators for the best quote.</h4>

    <div class=”divider”>

    </div>

    <div id=”avinode-broker-link”>

    </div>

    <div class=”divider”>

    </div>

    I need help please !

    #53199

    Basically you can add code to certain pages only – i.e. conditional tags: http://codex.wordpress.org/Conditional_Tags can help you. Before your code use:

    <?php if ( is_page( 42 ) ) { ?>

    and after your code add:

    <?php } ?>

    - the code lines above will force wordpress to execute/display the wrapped content on one page (page with the id 42) only. You can replace 42 with any other page id.

    I’m not sure why the error occurs – that’s something you need to ask the AVINODE support team.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Integration with a third part service: AVINODE (Help Need It)’ is closed to new replies.