Jump to content
  • 0
LewL

Fluxcp - Configuring Menu Tabs

Question

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.