|
You are here: Home / Documentation / Search Engine Friendly URLs in Sitellite |
Search Engine Friendly URLs in SitelliteCalling forms from the URLRunning with the action idea already established, it is a simple matter of switching the "-action" to "-form" to enable forms to be accessible via the URL. Remember: Same access.php rules apply. Copy & paste. :)http://www.example.com/index/myapp-formname-form That's all there is to it. Calling apps from the URLIn fact, we just couldn't stop there. We've introduced a third type of event that can be called from the URL, which is actually an alias, but handy nonetheless: "-app". For example:http://www.example.com/index/cms-app Look familiar? ;) The alias part of it is that there is no app per se, but a collection of boxes and forms. So the "-app" URL refers to the default box or form that should be called when loading that app. This is specified in the config.ini.php file in the conf subfolder of each app, in the default_handler and default_handler_type settings. Take a look at the various pre-installed apps for examples of how this works. Page 1: What is URL rewriting? |
|
Copyright © 2008, SIMIAN systems Inc. All rights reserved. Privacy policy Some of the icons on this site were created by the Gnome Project. |