Patch (to be ported)
Project:
Osmobi: Make your Drupal site mobile
Version:
6.x-1.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2009 at 08:55 UTC
Updated:
20 Feb 2010 at 22:04 UTC
Comments
Comment #1
twom commentedHi,
Thank you for the feedback. I have taken a look at your site. Altough it is not a bug, it is a common problem people have with Osmobi due to the way we work. We are working on usability measures to not have these kind of problems again.
So what happens is that if you want to remove content from your desktop site, you select the content that must be removed and click the remove button.
When you click some content we keep (internally) track of the xpath expression of that block. This is done by looking at the div's and ID attributes (e.g. an expat expression can look like this //p:div[@id='content-content']. Then for EACH PAGE we will look if we see a component with this particular xpath expression and remove this component..
So what happens in your case is that you clicked on the frontpage content and removed the content block that is wrapped in a div (
This means that now all
How to solve this?
- Reset your project
- Then you'll need some exercise in feeling that you did not select the parent div to remove the frontpage content, but only the block (the more granular you remove content, the less problems you will experience)
- You can check by browsing within osmobi to other pages (using ALT-Click)
I hope this explanation helps.
Don't hesitate to get in touch if the solution does not work!
Twom
Comment #2
yudhistir commentedThanks for the help
I did try to remove the content carfully but I'm everytime deleting the main DIV.
Can you tell me what to delete, should I NOT delete the blocks which have
TAG: DIV
ID: {blank}
or the other way round.
Thank you.
Comment #3
twom commentedDear,
In the new OSMOBI release we have added some functionality that can help you with the problem:
- We have better item selection
- Now if you want to remove content, you can explicitly say that you want to remove that element only on the current page, or on all pages. You can also choose if you want to delete all elements with that class tag or that ID.
This should make it much easier for you to mobilize the site (and not having the problems you had before).
So I hope you find the time to download the new OSMOBI plugin/template and use the OSMOBI service again.
We have also added new features such as editing of the menus, image resizing, special android and iphone templates + better testing capabilities.
Let me know if you are experiencing any problems or have questions!
Tom