* Graham * Mwebvendor
Ok this is how I do it
This script is for the mobile / touch templates only and needs to go in the _header or _footer
You need to be logged in to xtgem and have the particular site opened in the site editor for the script to work

When you edit any blog post on the mobile templates there is a blog_id value in the xtgem building tool url set that value in the $admin_hash variable in the first line of the script
you then need to uncomment the set cookie line and run the script ONCE to create the cookie and then comment out the set cookie line again

Then view your site
on non blog post pages you will see a 'Edit page' button that opens the page in the building tool
If a blog post is open you will also have a 'Edit post' button that will open that post for editing in the building tool
if you are not logged in or you don't have the admin cookie set you wont see anything nobody but the site admin will see any buttons


2017-05-01 00:30 (edited 2017-05-01 09:57 by Graham ) · (0)

Online: Guests: 1