Hi in cartoweb you have the possibility to override the default output. this is done by either creating a plugin just for that or extending a plugin used in your project (maybe cleaner to do a new plugin though)
usualy, at the handleHttpPostRequest/handleHttpGetRequest stage (see execution flow chart http://www.cartoweb.org/doc/misc/plugins_diagram.pdf) you do: if (some conditions, for example a variable set in plugin auth to say the user just loged) { $formRenderer = $this->getCartoclient()->getFormRenderer(); $formRenderer->setCustomForm('custom_template_which_will_be_used_instead_of_the_cartoclient_tpl.tpl'); // the template must be placed in your project's main templates folder $this->getCartoclient()->setInterruptFlow(true); } regards Oliver > > Hi all, > I have setup the auth plugin so that users need to login before going to > the > map page. However, after login in, I would like it to load another page > (e.g. disclaimer page) before loading the map page. So the map page will > be > loaded only after the user has pressed the confirm button on the > disclaimer > page. How and where should I include this disclaimer page in the code? > > Thanks a lot, > Jady > -- > View this message in context: > http://old.nabble.com/Loading-a-page-before-the-map-after-login-tp26897614p26897614.html > Sent from the cartoweb-users mailing list archive at Nabble.com. > > _______________________________________________ > Cartoweb-users mailing list > [email protected] > http://lists.maptools.org/mailman/listinfo/cartoweb-users > _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
