11
maywin
Re: I need suggestions for new website
  • 2009/11/8 14:20

  • maywin

  • Just popping in

  • Posts: 26

  • Since: 2009/6/9 1


Nope, it doesn't come up and also there is no errors.


12
ghia
Re: I need suggestions for new website
  • 2009/11/8 14:57

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
or no place for me to place the disclaimer or terms or conditions,
They are supposed to go into the confirm.html file. You created one and set the path for it in the script, right?

13
maywin
Re: I need suggestions for new website
  • 2009/11/9 0:54

  • maywin

  • Just popping in

  • Posts: 26

  • Since: 2009/6/9 1


Yes, I did that... Maybe I did everything in the wrong place...

I mean, I put this code right before the last line in xoops.js
var windowHandle;
function 
myConfirm() {
    
windowHandle window.open('confirm.html','windowName','width=600,height=320');
    if (!
windowHandle.opener)
        
windowHandle.opener self;
    return 
false;
}


And I created the confirm.html file in root

Did I do correct? It's still not coming up...

14
ghia
Re: I need suggestions for new website
  • 2009/11/9 0:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
And I created the confirm.html file in root
Then path in the script would be:
windowHandle window.open('/confirm.html','windowName','width=600,height=320');

15
maywin
Re: I need suggestions for new website
  • 2009/11/10 0:24

  • maywin

  • Just popping in

  • Posts: 26

  • Since: 2009/6/9 1


Yes, I did like that yesterday... Apparently it didn't come up again but when I went to work today I tried it and it worked... Only a couple problems though. I'll write again after I try a few things first...

Thanks a lot.

16
maywin
Re: I need suggestions for new website
  • 2009/11/10 1:15

  • maywin

  • Just popping in

  • Posts: 26

  • Since: 2009/6/9 1


Hi,

I get these error messages when I test submitting a story... Is it related to anything we did?

Warningsession_start() [function.session-start]: Cannot send session cache limiter headers already sent (output started at /index.php:1in file /include/common.php line 255 
Warning
Cannot modify header information headers already sent by (output started at /index.php:1in file /kernel/session.php line 276

17
ghia
Re: I need suggestions for new website
  • 2009/11/10 7:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I don't think so, because these changes should only impact the client behaviour and be transparant on the server.
But restore the line in storyform.inc.php and then everything should work as before.

18
cosco
Re: I need suggestions for new website
  • 2009/12/21 0:38

  • cosco

  • Just popping in

  • Posts: 42

  • Since: 2008/9/16


Hi I would like to do the same thing with AMS module. Is it possible to add a mandatory field on the story submit page for disclaimer?

19
ghia
Re: I need suggestions for new website
  • 2009/12/21 1:25

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Yes, the required modification is identical.

Login

Who's Online

427 user(s) are online (297 user(s) are browsing Support Forums)


Members: 0


Guests: 427


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