xtraktor Posted May 25, 2013 Share Posted May 25, 2013 how do i remove the visibility of the Portal when a user uses the mobile skin??i want the portal for the desktop main theme but when a users chooses the mobile skin to get him to the forums pageany ideas? Link to comment Share on other sites More sharing options...
0 xtraktor Posted May 25, 2013 Author Share Posted May 25, 2013 Uhm try this, on the index template of the portal app, add this on the top<php>if( $this->registry->output->isTouchDevice() ){ $this->registry->output->silentRedirect('/forum/');}</php>replace /forum/ with the url of your forum indexheywhere do i fund this again?i mean is it in mobile skin edit templates and the Portal section? Link to comment Share on other sites More sharing options...
0 xtraktor Posted May 25, 2013 Author Share Posted May 25, 2013 Idk which portal you use, but yeh, you have to place this in the main page of portal app (mobile skin). Im using Portal by Mike ...the developers name i think Im using Portal by Mike ...the developers name i think this is whats on the mobile skin and into the Portal category Link to comment Share on other sites More sharing options...
0 xtraktor Posted May 26, 2013 Author Share Posted May 26, 2013 Put my code at the top of the skeletonTemplate that worked great!! thanks!!!! Link to comment Share on other sites More sharing options...
0 Administrator Tony Posted May 26, 2013 Administrator Share Posted May 26, 2013 The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved.If you have other questions, please open a new topic. Link to comment Share on other sites More sharing options...
Question
xtraktor
how do i remove the visibility of the Portal when a user uses the mobile skin??
i want the portal for the desktop main theme but when a users chooses the mobile skin to get him to the forums page
any ideas?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts