1
maddog_chris
Warning Page

Hi, I currently use Smartsection 2.1 RC2, and it works fine.

I do however want to have a warning page appear, so that when someone clicks on a item with a catagory, it displays a warning message of my choice, and the person has to accecpt or deny before the item will be displayed etc.

I have been told to edit the item.php and insert

if(!isset($_GET['warning']) || $_GET['warning'] != 'ok']{
$itemid = $_GET['itemid'];
header("location: warning page.php?itemid=$itemid");
}

Which I have done, but I need help in writing a file called warning.php, I have been told I need to code this file, but do not know what to put into it.

Can anyone help?

Regards

Chris

2
davidl2
Re: Warning Page
  • 2006/8/26 12:03

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


(Post bumped.. please don't repost the same subject)

3
Will_H
Re: Warning Page
  • 2006/8/26 12:23

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Check for examples in any download module

(disclaimer)

4
maddog_chris
Re: Warning Page

Hi,

Thanks for that, but that's not quite what I am looking for.

I am looking for a warning page to appear when someone clicks on an item with smart section, which the either agree to, and go to the item page, or deny and go back to the previous page.

Does anybody have any ideas?

Many thanks

Chris

Login

Who's Online

334 user(s) are online (271 user(s) are browsing Support Forums)


Members: 0


Guests: 334


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