Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Removing or adding a feature in Mobile Theme
Can someone tell me how to edit the Mobile theme to remove the "latest" poster information as it is apparently causing display issues on the iPhone.
Also is it possible to add the default theme search box to the mobile theme?
Also is it possible to add the default theme search box to the mobile theme?
0
Comments
There was a bug displaying the first poster only in 2.0.16. I saw it corrected in some github commit, but I don't know if it was before or after 2.0.17 being released.
You can try this new mobile theme (http://vanillaforums.org/addon/green_mobile-theme), it was made by a close friend, and we saw issues similar to what you just described (even though not in the discussion list, but in the notification area).
I've just added a very long subject line, it does grow correctly on my iPhone 3GS with no overlap.
If it does work fine for you too, I'll create a pull request on github, as my friend is not current on DVCS .
To activate this mobile theme after unzipping it in your themes folder (because AFAIK there is no UI for this yet):
Add $Configuration['Garden']['MobileTheme'] = 'green_mobile'; in your config.php (below the normal Theme for instance); or modify your current value if MobileTheme already exists.
As for the search box, no idea, but the most important thing is to find where to put it, either a small image as the new discussion, or maybe on a line by itself before all the discussion.
After that, just adding it should be very straightforward.
We decided to go with an image next to the "new discussion" image, and it will open the search page. To have it before the discussion all the time was taking too many pixels, and each single one of them are useful on a mobile device.
It won't be forgotten, as we're using that same very theme on our private forum
That's what we are running on our forum that was zipped.
Tested with an iPhone 3GS with iOS 4.1, and an android 2.2 phone.
When you clic the magnifying glass icon, it should goes to "/search" and right below, you should have a textbox to enter your search, with another icon to launch the search.
I tried (using edit of the url) on your forum and it showned OK like a few minutes ago, tried again just now and I've got a "message" for some avantime stuff near where we live and it doesn't display it indeed. I guessthe message is making a mess , we'll have a look.
We'll might have time to have a quick look about this tomorrow, as it's easy to reproduce, it might be easy to fix.
The search URL is part of the dashboard, but I don't think that there is an option for all pages except for the message, so maybe discussion only should be enough for you.