localendar Forums Homepage

Print at Jan 19, 2025, 3:22:52 AM View all posts in this thread on one page
Posted by SuomiFriends at Oct 6, 2024, 5:28:01 PM
Moving 'print' to the top of the calendar or better yet, a sidebar
I'm trying to read through these posts and have searched using various words to find something related to moving the print button to the top of the calendar. It would be helpful to have the option to choose the top or bottom for the print, search, and add event buttons.

Also, I used this to get different views at the top of my calendar:
"<div style='margin:10px;float:left;font-size:13px;'> <a href='//localendar.com/public/SuomiFriends?style=M0'>Month Block</a> <a href='//localendar.com/public/SuomiFriends?style=M1'>Month List</a> <a href='//localendar.com/public/SuomiFriends?style=M6'>Month Pinboard</a> <a href='//localendar.com/public/SuomiFriends?style=W6'>Week Pinboard</a> <a href='//localendar.com/public/SuomiFriends?style=D2'>Today+Soon</a></div>"
"
But then view: "Today+Soon" didn't show the other views at the top, so there was no clear way for the user to get back to the website block default calendar page.

I created a workaround and added the views my client wanted to a sidebar where they open in a new tab. You can see the workaround here:

https://fosh.ecentech.com/suomi-hall-calendar.html

It would be a nice feature to have multiple views in a sidebar (but keeping the user on the page and changing the frame to correspond with the choice of view plus the print button at the top.

Posted by support at Oct 15, 2024, 3:40:37 PM
Re: Moving 'print' to the top of the calendar or better yet, a sidebar
I like what you did there...
A few thoughts:
* You can customize the labels on the "Today+Happening Soon" views, so you can add your custom html to jump back to the other calendar views. Under Options->General click "Show More>>" at the bottom of the tab to customize the "Today" and "Happening Soon" labels

*An HTML snippet like the following (pasted into your calendar title or footer) will move the buttons from the bottom of your calendar to the top:
<script>$(document).ready(function(){$('#calendar_footer_menu_div').prependTo('#calendar');})</script>

(from http://localendar.com:8080/docs/display/lc/Moving+the+Calendar+Buttons+to+the+top+of+your+calendar)

* For your last suggestion "multiple views in a sidebar (but keeping the user on the page and changing the frame to correspond with the choice of view plus the print button at the top." this can be done using custom html and an iframe on your page. Let me know if you'd like an example.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news


Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us