Jump to content
  • 0

Fluxcp - Configuring Menu Tabs


LewL

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.02
  • Content Count:  84
  • Reputation:   1
  • Joined:  01/08/20
  • Last Seen:  

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
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1511
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.02
  • Content Count:  84
  • Reputation:   1
  • Joined:  01/08/20
  • Last Seen:  

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 >.<

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  185
  • Reputation:   26
  • Joined:  12/07/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.02
  • Content Count:  84
  • Reputation:   1
  • Joined:  01/08/20
  • Last Seen:  

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.

Link to comment
Share on other sites

×
×
  • Create New...