Requirements:
Recently has been using the DEDECMS,PC station has been good, columns and other data have been added.
Now I want to base on the PC station, add a cell phone station, want to be able to use a PC station in the same background (is the background to publish an article or add a channel, can simultaneously sync to the PC and mobile station)
Current Situation
1. Start thinking about level two domain names but it feels more complicated and will not engage. Give
2. The same template, with JS to determine whether the phone side, to display the specified div
{dede:include filename= "pages/wap/t_index.html"/}
{dede:include filename= "pages/web/t_index.html"/}
can be implemented, but need to load both the phone and PC station all the resources (JS,CSS, pictures), for the mobile phone station, very bad.
This method is the simplest, but the least efficient
3. Use HTML5 localstorage. Access to the home page of the PC, Localstorage assignment, and then location.href= "pages/wap/t_index.html", in the cell phone station to remove the value of localstorage, display. (To update the local data, depending on the timestamp)
This approach is more complex, especially in terms of data updates.
It was a pain in the wrong.
Have you ever experienced the same problem? Ask for advice ...
Reply to discussion (solution)
You can use this plugin I released ...
Weaving dream Dede PC station + Mobile WAP website data synchronization update and generate HTML plugin
A Plug-in Features:
1. Mobile Station and computer station-generate background data synchronously
2. Mobile Station and computer station-synchronous generation of static HTML
3. Computer station and mobile station-imitation station label exactly the same
4. Computer station and mobile station-can jump to the corresponding inside page
5. Computer station and mobile station-the template is completely separate production (any Web-based mobile station can be pulled down directly set)
5. Optimized for optimization (both mobile phones and computers are separate templates)
6. Data can be made synchronous function, made of website. High bid price
7. Customers to add information conveniently, as long as add once on, mobile station computer station directly synchronized
8. Just a website backstage
See Demo station: http://www.myk98.com Please open the test with your phone and computer separately
You need to contact me q:316248534 I send you a