Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Pages: 1 [2]

Author Topic: Contact Page 500 error  (Read 4353 times)

gmarez

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
Contact Page 500 error
« Reply #15 on: March 19, 2007, 07:08:42 am »

Quote from: bramsyuur
EDITED: Sorry, I've not read your post correctly!
Yes, you can. You need to change 'Contact' function name into snews.php file.
Here's an example:
Locate into "Pages" function these lines:
Quote
$class = ($categorySEF == 'contact') ? ' class="current"': '';
echo '
  • '.l('contact').'
  • ';
    and change it to, for example:
    Quote
    $class = ($categorySEF == 'contact2') ? ' class="current"': '';
    echo '
  • '.l('contact').'
  • ';
    Next, under "Center" function, locate this line:
    Quote
    case 'contact': contact(); break;
    And change to:
    Quote
    case 'contact2': contact(); break;
    Next, in "Sitemap" function, locate:
    Quote
    echo $link.'contact/">'.l('contact').'
    ';
    And change to:
    Quote
    echo $link.'contact2/">'.l('contact').'
    ';
    Next, into "contact" function, locate:
    Quote
    else {echo notification(l('contact_not_sent'),l('message_error'),'contact/');}
    And change to:
    Quote
    else {echo notification(l('contact_not_sent'),l('message_error'),'contact2/');}
    Next, under "xmlsitemap" function, locate:
    Quote
    echo xmltag('contact/','now','weekly','0.1');
    And change to:
    Quote
    echo xmltag('contact2/','now','weekly','0.1');
    And, and,  ...  ;)  this is all.
    Thanks.
    That worked! But why is the question I am asking myself. Very strange indeed. I really appreciate your help!

    -George
    Logged
    Pages: 1 [2]