Adopisoft 5.1.6 Installation using Ubuntu Server 24.04.3

 x64 or x86/64 (amd64) Installation Important: Before proceeding with command-line installation, it is assumed that you are already fam...

Monday, October 4, 2021

How to Remove More Buttons and Add all Contents to Homepage?

 

How to Remove More Buttons and Add all Contents to Homepage?

1. Goto Themes, Captive Portal, Code Editor,Buy-wifi-or-eload.html and add this code to the end, or 1 or all of these buttons:

 

<!-- ko if: showMyAccountBtn() || customer.id() -->

<a class="btn btn-info btn-lg" href="/u">My Account</a>

<!-/ko->

 

<!-- ko if: showViewVouchersBtn -->

<a class="btn btn-info btn-lg" data-bind="navigate: 'view-vouchers'">View Vouchers</a>

<!-/ko->

 

<!-- ko if: showViewRatesBtn() -->

<a class="btn btn-info btn-lg" data-bind="navigate: 'view-rates'">View Rates</a>

<!-/ko->

 


2. Remove the more button by going to home-page.html and remove this line of code:

 

    <a class="btn btn-lg btn-default" data-bind="navigate: 'more-buttons'">

      More

      <i class="glyphicon glyphicon-chevron-right"></i>

    </a>



3. Patching your theme to make it work:

Download the theme you’re using right now. After it is downloaded, open it with WinRAR and go to APP then COMPONENTS then BUY-WIFI-OR-ELOAD then drag this file inside it and click OK. Now re-upload the variant and activate it.

 

You can download the file here:

Download the Theme Variant

 

Video instructions can be found here:

https://drive.google.com/file/d/1BlXgcR9sWoXDUJ9pbKH5XD-buG_rfq-c/view?usp=sharing

 


Last: Always use incognito mode to see changes.


If you don't want to go through all these settings and configurations, just download this theme: 

Download Adopisoft Deleted More Theme

This theme removes the more button and all buttons within More and have been moved to the Home button. You just need to uncheck the one you don't want to use located in Themes then Captive portals, then Basic Settings, scroll down to Buttons, and uncheck what you don't want to use.

To upload the theme, go to Themes then Captive portal Variants then Click Upload.....

3 comments: