I am new to CMSmadesimple, I create a new page with content is simply {phpcode1},
In User Define Tag I define a new tag 'phpcode1' which is a a small php code.
which contains a form that call itself with $_SERVER['PHP_SELF'] the problem when the form is submit, I return to the Home page. I set a hiden 'page' variable but without success, What is the right way to do this?
$_SERVER['PHP_SELF'] return to the home page (default page)
Re: $_SERVER['PHP_SELF'] return to the home page (default page)
not sure, but i think you may be helped by the selflink tag. have a look in the help for each shipped tag.
php_self may not have the right info, as all pages are routed over index.php. the script name relative to the webroot is not what you are looking for, I think.
php_self may not have the right info, as all pages are routed over index.php. the script name relative to the webroot is not what you are looking for, I think.