Jump to content
  • 0

Fluxcp - Configuring Menu Tabs


Question

Posted (edited)

Hi it's me again, ???
I would like to know how could i change my donate tab into something like my rules tab that i could edit stuffs and put text.

this is my donate tab:

donate.png.a20388fa1798e6f4e6294284d16175fa.png

 

and i want to make it like this:

rules.png.b37be32bebd327d17d9adca75b9ddf11.png

 

 

BTW i'm using Fire theme by Ea-dev.

Edited by Azhul
changed image to hide important details of my server

4 answers to this question

Recommended Posts

  • 0
Posted
3 hours ago, Azhul said:

Hi it's me again, ???
I would like to know how could i change my donate tab into something like my rules tab that i could edit stuffs and put text.

this is my donate tab:

donate.png.a20388fa1798e6f4e6294284d16175fa.png

 

and i want to make it like this:

rules.png.b37be32bebd327d17d9adca75b9ddf11.png

 

 

BTW i'm using Fire theme by Ea-dev.

main/header.php

<li><a href="<?php echo $this->url('donate'); ?>"><img src="<?php echo $this->themePath('img/nav.png'); ?>" alt=""></a></li>

Thats mean :

1. Edit nav.jpg since its a picture or use the .PSD given (if they give it, sorry I didnt remember. If not then edit it yourself).

2. Change the link to any link you want (that already exist) or create one. Make sure the .php files are exist in themes and also modules.

  • 0
Posted
9 hours ago, Chaos92 said:

main/header.php


<li><a href="<?php echo $this->url('donate'); ?>"><img src="<?php echo $this->themePath('img/nav.png'); ?>" alt=""></a></li>

Thats mean :

1. Edit nav.jpg since its a picture or use the .PSD given (if they give it, sorry I didnt remember. If not then edit it yourself).

2. Change the link to any link you want (that already exist) or create one. Make sure the .php files are exist in themes and also modules.

i already did that and i even duplicate tos.php (that's the rules module) and renamed to donate.php and moved it to donate folder as stated on the url or path indicated on header.php it but it didn't work >.<

  • 0
Posted
On 4/13/2020 at 1:08 PM, Azhul said:

i already did that and i even duplicate tos.php (that's the rules module) and renamed to donate.php and moved it to donate folder as stated on the url or path indicated on header.php it but it didn't work >.<

Ok, so you've moved donate.php under donate folder, you should access your custom donate page like this "?module=donate&action=donate"

in your code..

<?php echo $this->url('donate', 'donate'); ?>

where the first param (donate) is the name of the module and the 2nd param is the action which is the file name (donate.php).

  • Upvote 1
  • 0
Posted
8 hours ago, Gerome said:

Ok, so you've moved donate.php under donate folder, you should access your custom donate page like this "?module=donate&action=donate"

in your code..


<?php echo $this->url('donate', 'donate'); ?>

where the first param (donate) is the name of the module and the 2nd param is the action which is the file name (donate.php).

Thanks i figure it out by deleting all the php file under donate folder on module and editing text on theme donate folder php.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...