Posted on May 28, 2009 by sabs |
You can now use your keyboard’s left and right arrow keys to browse a gallery! Just click on any photo in your gallery (like this one), and navigate to the next one with your keyboard. It’s a new feature that is automatically built in to each gallery.
However, the fun doesn’t stop there. With a little bit of eyelash-batting, I was able to get our dev team to share the secret. With a few simple theme hacks, you can now build left/right arrow navigation into your blog (you can see it in action at the Daily Sabs). To add the feature, just place the following bits of code to the "Page" template of your theme.
Directly above the </body> tag add this code:
<script type="text/javascript">
onsugarInitSlideKeys();
</script>
And then add links for previous and next by using the following bits of code (you can change the bit that says "Go Back" and "Go Forward" and can place these links anywhere below the <body> tag and above the script code):
<a id='slide_previous' href="?page={$page_previous_page}">Go Back</a>
<a id='slide_next' href="?page={$page_next_page}">Go Forward</a>
Save your theme, and you should be set!
Remember, this is just a fun hack and it make take some tweaks to get it working right. If you need a hand, drop us a line at help@onsugar.com.
Posted on May 22, 2009 by sabs |
This week our dev team rolled out a new way to manage your comments. The tool — which you can get to by clicking on “Comments” in your blog dropdown menu — allows you to view all of your comments in one place. Now you can easily search through comments, see all comments from one reader, and even un-publish more than one comment at once.
Visit the help blog to learn more about the new comment management system.
Posted on May 21, 2009 by sabs |
If you've been a member for OnSugar for a while, you've probably seen our HTML popup tool. It was convenient, but let's be honest, it wasn't the easiest interface.
To remedy this, we're introducing a new way to toggle between the two views. With a quick click of a link, you can see your post in the regular "rich text" format or in the "raw HTML" view. No additional popups, and no more "which window" confusion.
As a bonus feature, we're also going to remember which format you last used. So if you last edited a post in HTML, your next post will be automatically set to HTML. If you want to switch back all you have to do is click the link.
To switch views, just click the link underneath the body box. Doing so will toggle the content directly in the body box. Also please note: the old HTML popup icon will be discontinued soon, so let us know if you have any questions about the new way.
And remember, to embed code into your post (such as youtube videos, etc.) you need to be in raw HTML mode.