This is exactly what I was attempting to accomplish before I was given a link to this. It's awesome. I have one suggestion though:
in route/prefix/en.php you could take out
=== CODE REMOVED IN ORDER TO ELIMINATE REDUNDANCY ===
Note: It would mess up the TOS case due to all three letters being capitalized. Just rename the Controller file/class to Tos instead.
Just an opinion, you could also then use your switch to specify situations like TOS and any others, and then if it doesn't match that case then it falls into the above code.
Great script!
I'm not quite sure how yet. I balance my time between working on the project and the site.
My project is www.osphpchat.com by the way.
Looks good... if I had to remark about anything it would be upper and lower breadcrumb PLUS navbar offer five instances of 'Home' tab
What I especially like with external pages ....
- is the ability to incorporate raw html, php and scripting into your pages.
- All this with a custom template and PHP file in the ExternalPages_ControllerPublic folder.
- Route_Prefix en.php file is pretty much set up to accomodate anything in the ControllerPublic folder
return $this->responseView('ExternalPages_ViewPublic_Advertise', 'EP_Advertise', $viewParams);
Yes.I got a page 1 with a form and a page 2 with the output of the form
When I was logged in i'll got with error:
Security error occurred. Please press back, refresh the page, and try again
With guest access i got no error :S
Anyone know how to fix it?
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
We use essential cookies to make this site work, and optional cookies to enhance your experience.