Development > Feature Requests

ezportal handy feature missing in simple portal?

(1/1)

gurupreet:
Hello,

Ever since that google changed the standards to determine websites are friendly with its search engine or not there major issues with simple portal installed over SMF as the look of the website with simple portal enabled looks all junky.

I tried ezportal and in it there is a handy feature which allows one to disable blocks (portal system) for mobile users resulting in the site being displayed properly over mobile phones and also passing the google friendly test.

I was wondering wether the same can be implemented through simple portal as because of this single reason i had to un-install simple portal from my web site.

Looking forward to answers and suggestions.

Regards
Gurupreet

Rupurudu!:
http://simpleportal.net/index.php?topic=13934.msg69009#msg69009

/Themes/default/css/portal.css

Find:

--- Code: ---body
{
min-width: 750px;
}

--- End code ---
Replace with:

--- Code: ---@media only screen and (max-width: 750px), only screen and (min-resolution: 300dpi) {

#sp_main #sp_left, #sp_main #sp_center, #sp_main #sp_right {
display: block;
width: auto !important;
padding: 0;
}
}

--- End code ---

gurupreet:
this is a temp solution...what i want is the blocks not to display at all for mobile users

[SiNaN]:
By default we just disable the portal functions for those accessing the WAP, WAP2 and IMODE modes. Since there is no consistent built-in function in SMF to detect whether the user is a mobile user or not and we didn't want to include code dedicated for this, we have not included this. Better accommodating the mobile users is certainly something we are considering for the future. I'll be moving this to Feature Requests board.

Navigation

[0] Message Index

Go to full version