1
aerialis
Which file to modify?
  • 2003/11/19 9:49

  • aerialis

  • Just popping in

  • Posts: 70

  • Since: 2003/9/30


I want to spice up the 'update file' a little, because the default one isn't exactly very fancy.

But I'm a bit confused because I cannot find out which file to modify.

Anyone?



2
wtravel
Re: Which file to modify?

Hi,

Sounds like a good idea . Have a look at: function redirect_header in the file 'functions.php' in the main include folder. You will find the html code and the message in there.

I'm interested in the results when you are done

Regards,

Martijn

3
aerialis
Re: Which file to modify?
  • 2003/11/19 11:33

  • aerialis

  • Just popping in

  • Posts: 70

  • Since: 2003/9/30


Thanks a lot!

I'll check it out and post my progress.

4
aerialis
Re: Which file to modify?
  • 2003/11/19 12:31

  • aerialis

  • Just popping in

  • Posts: 70

  • Since: 2003/9/30


Hmmmmm...... It didn't work out like planned on the first try, but I ain't giving up that easily!

5
ackbarr
Re: Which file to modify?

In XOOPS 2.0 take a look at system_redirect.html in System->Templates (in the system module). This template is what is displayed when the redirect page is displayed.

6
wtravel
Re: Which file to modify?

Thanks ackbarr,

I missed that in the code. What does the following code do?

Quote:
if (!defined('XOOPS_CPFUNC_LOADED')) {


Regards,

Martijn

7
ackbarr
Re: Which file to modify?

That line of code checks if the constant "XOOPS_CPFUNC_LOADED" is defined. Judging by the name of the constant, its purpose is to check if you are in the Control Panel.

8
wtravel
Re: Which file to modify?

Thanks!

So if I understand correctly: if you're not in the admin section the html template will be loaded. Otherwise the html code in the functions.php file will be displayed.

Martijn

Login

Who's Online

168 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 168


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits