TopPilot V2.0

Great addon but it seems to have disabled my top banner…

http://www.alaskairv…ex.php/toppilot

using 2.9.something

Great addon but it seems to have disabled my top banner…

http://www.alaskairv…ex.php/toppilot

using 2.9.something

I think its javascript has a conflict with your website. Are you using Bootstrap?

I think its javascript has a conflict with your website. Are you using Bootstrap?

Not that I know of - I’m using Ocean_blue theme

Okay! I’m working on the CSS to make it as simple as possible.

Ah great - looking forward to it! Thanks!

I have created a new tab version for Toppilot itself. Please download and replace the template files and download and add JS, CSS files. Don’t forget to add the following to your layout.php

<script type="text/javascript" src="<?php echo fileurl('lib/js/toppilot.js');?>"></script>
<link rel="stylesheet" href="<?php echo fileurl('lib/css/toppilot.css');?>" />

between <head></head> tags.

Cheers

Screenshots

Ah, fantastic! Thank you very much.

Is there any way to have it open as default? When you go on the page, it shows as per your first image above. Could we sepcifiy how it shows when you first go on the “toppilot” web page?

Open “templates/toppilot.php” and change the following line:

<li><a href="javascript:void(0)" class="toppilotdet" onclick="toppilottabs(event, 'br')">Best Revenues</a></li>

To this:

<li><a id="defaultOpen" href="javascript:void(0)" class="toppilotdet" onclick="toppilottabs(event, 'br')">Best Revenues</a></li>

Now add the following at the end

<script>
document.getElementById("defaultOpen").click();
</script>

If you want to open the next vertical tab you can do the above in “toppilotdetailbr.php” just remember the link id must be unique.

I love you Parkho.

I have made some changes to TopPilot V2.0. If you wish you can download again and replace it.

Change Log:

  • For tabbings, some free net version was used which is now removed and coded from scratch
  • CSS was changed to a new look (Screenshots below).

Install:

download and replace “templates” and “lib” folders.

Screenshots:

Cheers! :smiley:

Hi,

I download the module and thanks a lot. But please look at the pic,

http://prntscr.com/ddrfq8

I can’t open it.

Hi,

I download the module and thanks a lot. But please look at the pic,

http://prntscr.com/ddrfq8

You need to link “toppilot.css” and “toppilot.js” in your “layout.php” file between <head> section.

Install:

  • Download the repository at Github and unzip in a desired location.

  • Upload files into corresponding folders on your website in the order.

  • Include the following codes into your “layout.php” between <head></head> section.

  • Access it using <?php echo url(‘/toppilot’) ;?>

  • Enjoy!

Hi Parkho,

Thanks for your quick answer and now better. If you can look this pic and tell me why what did i do wrong? It shows result at the bottom not on the right side… Thanks and sorry about the problem.

http://prntscr.com/ddynht

also you can see it from here : http://s.swissval.com/index.php/toppilot

Hi Parkho,

Thanks for your quick answer and now better. If you can look this pic and tell me why what did i do wrong? It shows result at the bottom not on the right side… Thanks and sorry about the problem.

http://prntscr.com/ddynht

also you can see it from here : http://s.swissval.co…ex.php/toppilot

Open “toppilot.css” and go down to line 68 and change the following:

ul.toppilot li {
float: left;
padding: 5px;
width: 25%;<-----This
text-align: center;
}

To:

ul.toppilot li {
float: left;
padding: 5px;
width: 20%;<-----To this
text-align: center;
}

Open “toppilot.css” and go down to line 68 and change the following:

ul.toppilot li {
float: left;
padding: 5px;
width: 25%;<-----This
text-align: center;
}

To:

ul.toppilot li {
float: left;
padding: 5px;
width: 20%;<-----To this
text-align: center;
}

I did and it’s perfect my friend. Thanks a lot.

Hi My Friend,

I have one more problem. Can you check for me?

http://image.prntscr.com/image/328759e8b6e646c6ad840674c91c07ee.png

http://prnt.sc/f2u4r0

Thanks.

23 hours ago, OmerAslan said:

Hi My Friend,

I have one more problem. Can you check for me?

http://image.prntscr.com/image/328759e8b6e646c6ad840674c91c07ee.png

http://prnt.sc/f2u4r0

Thanks.

 

On 11/13/2016 at 9:34 PM, Parkho said:

Okay. Open all TPLs and change the <table> tags to the following:

 

 

 

Now Working Thanks.

Hi Parkho,

I have two more problems. Please see the picture. Thanks