easy-Speak - Toastmaster Automation!       
   
easy-Speak - Toastmaster Automation!
easy-Speak 

Pathways with easy-Speak


Username:

Password:

 Remember me



I forgot my password

Don't have an account yet?
You can register for FREE


My Communication

     

easy-Speak Training


Need to ask a question?

HelpNeed to ask a question? - or could you help and answer questions?


[CLOSED] "Headless" Mode to allow embedding

View previous topic : View next topic  
    Printer-friendly version
easy-Speak Discussion Index  » System Enhancements
Author Message
PaulO



Developer

Joined Date: 2009-07-20, 21:22
Posts: 563
Location: Redmond, Washington

Post Post subject [CLOSED] "Headless" Mode to allow embedding   Posted 21 Jul 09, 16:17    Reply with quote

Many pages now take the parameter h=off (or h=on) to turn on and off the headers
https://easy-speak.org/signup.php?h=off


It would be great if you allowed a 'switch' to render the requested pages without the top banner/navigation and without the left hand column - this would enable easy-speak to be embedded in a clubs website seamlessly

for example, a parameter "mode" could be used to specify the suppression of the left column and the banner


Last edited by PaulO on 07 May 11, 20:13; edited 4 times in total

Back to top
View user's profile Send private message Send e-mail Visit their website Skype IDAIM Address
malcolmw



Site Admin

Joined Date: 2003-07-08, 19:35
Posts: 7935
Location: Newnham on Severn, Gloucestershire, UK

Post Post subject Re: "Headless" Mode to allow embedding into your C   Posted 21 Jul 09, 21:42    Reply with quote

You can get a good deal of the way there already Paul within easy-Speak.org.

The banner and most of the left side is under your control.
Some clubs have been very inventive with the banner graphics
The 'News' section on the left side will display four items starting with club information - so if you have four club news items....

If you like to develop a CSS it will allow you to set your own colour scheme across the whole site for anyone logged into your club.

The portal feature allows you to create multiple pages (normally outward facing to the public) with your own menu bar.
You need someone with IT skills to set it up but a regular club PR will then be able to manage it.
KB article: https://easy-speak.org/kb.php?mode=article&k=148

Alternatively you can post static links onto your own site that will always take the user to an appropriate page here (for example the current meeting agenda).
This KB article gives details: https://easy-speak.org/kb.php?mode=article&k=42

Alternatively some of the 'headless' features that you request are already available.

For example take a look at this page on the München Speakers website which displays the agenda for their next meeting from the District 59 installation of easy-Speak: http://www.spco.de/agenda/
The German translation project is not quite complete at the time of writing (July 2009) so some English remains on the page

..and this page from my home club in the District 71 installation of easy-Speak:


Run it within a frame and the hotlinks will also operated in the frame to show meeting agenda from that chart - but the banner etc will display
(The URL for that is: http://d71.org/memberchart.php?c=3&print=1 - almost exactly that suggested in your question Laughing )

There is a balance to draw here though with a danger of adding rather than reducing the level user choice and confusion.

HTH

Malcolm

_________________
Kind regards

Malcolm
easy-Speak Developer
England

Back to top
View user's profile Send private message Send e-mail   Skype ID 
PaulO



Developer

Joined Date: 2009-07-20, 21:22
Posts: 563
Location: Redmond, Washington

Post Post subject Re: "Headless" Mode to allow embedding into your C   Posted 21 Jul 09, 22:25    Reply with quote

OK - looks like print=1 is going to get me 50% of the way there...hmmm...only the member charts and the agenda has this switch, and you lose a lot of the cool links (like the 'request speech', 'edit' and 'email' buttons)...

As for the other 50%:
1) "The banner and most of the left side is under your control. " - where can I edit those?

2) Where can I post the CSS, and is there a standard CSS that I can edit to change the color scheme (or do you have any documentation on the CSS - the link appears broken in the KB

3) If I wanted to play around with the IM Portal, what would I need to do? and would that allow me to turn off the 'header page' and the top banner? I didn't see any blocks for the Member Charts (which is what I really, really want)

Thanks Malcolm!

Paul

Back to top
View user's profile Send private message Send e-mail Visit their website Skype IDAIM Address
malcolmw



Site Admin

Joined Date: 2003-07-08, 19:35
Posts: 7935
Location: Newnham on Severn, Gloucestershire, UK

Post Post subject Re: "Headless" Mode to allow embedding into your C   Posted 21 Jul 09, 23:05    Reply with quote

The specification for a banner is in the portal documentation (needs to be wider than you think to allow for people with hi-res screens - the TI logo will 'float' over the right side in any resolution....)
Send me the file by e-mail and I'll upload it for you

The 'News' and 'Welcome' postings are explained here:
https://easy-speak.org/kb.php?mode=article&k=94

There is a great Mozilla add-in 'Web Developer' which allows you to grab the CSS from a live site, play with it, save it, come back to it later - and then send it me by e-mail.

There are two files that will come up (assuming you are on the default settings):
TM_blue1.CSS - the overall style
dropdown1.CSS - the menus

There is also a limited number of graphics for shaded blocks defined in the page_header that is common on all pages (to allow that some browsers use a relative path)

In each of the examples above the '1' defines CSS set one and is selected in the Club Control Panel - so yours may be CSS set three in future

Here are some examples of clubs using the portal:
https://easy-speak.org/portal.php?c=703 (smart banner, not sure that they competed all the pages yet)
http://victoria.easy-speak.org
http://powdermillstoastmasters.org
http://bicester.d71.org

Pick a club from this installation and I'll copy it to your club as a starting point for the portal.

The portal blocks can be quite quick to create and I'll be happy to have a new developer in the team who is keen to create some new ones Wink


Malcolm

_________________
Kind regards

Malcolm
easy-Speak Developer
England

Back to top
View user's profile Send private message Send e-mail   Skype ID 
PaulO



Developer

Joined Date: 2009-07-20, 21:22
Posts: 563
Location: Redmond, Washington

Post Post subject Re: "Headless" Mode to allow embedding into your C   Posted 21 Jul 09, 23:51    Reply with quote

http://powdermillstoastmasters.org I guess.

I'm actually seeing my developer in a couple of hours. If you have any information on how to make a Block, or any other API or CSS info that he might like to digest, I'd be grateful.

Thanks!

Paul

Back to top
View user's profile Send private message Send e-mail Visit their website Skype IDAIM Address
PaulO



Developer

Joined Date: 2009-07-20, 21:22
Posts: 563
Location: Redmond, Washington

Post Post subject Re: "Headless" Mode to allow embedding into your C   Posted 31 Dec 10, 19:22    Reply with quote

Reawkening this thread to let you know many of the main screens in easy-speak take header=off as a parameter. Its not perfect, as you might get thrown by a link to a page which calls the headers, but especially with the Jan 2011 release the meeting pages are all covered
_________________
Paul Osborn, ACS, ALB
Treasurer, Redmond Nights TM
Toastmasters International
Where Leaders Are Made
Phone: +1 425-605-7707
www.toastmasters.org
www.d2tm.org

Back to top
View user's profile Send private message Send e-mail Visit their website Skype IDAIM Address
KaiS



Developer

Joined Date: 2008-09-06, 21:21
Posts: 83
Location: Barcelona, Spain

Post Post subject Re: [CLOSED] "Headless" Mode to allow embedding   Posted 18 Feb 11, 15:45    Reply with quote

Is this something that can easily be included for other pages, such as the calendar?

I personally love that the calendar can include other clubs based on proximity, such as this for all Barcelona clubs: http://district59.eu/mycalendar.php?c=272 - would be great to have this available without the headers.

cheers, Kai

Back to top
View user's profile Send private message Send e-mail   Skype ID 
PaulO



Developer

Joined Date: 2009-07-20, 21:22
Posts: 563
Location: Redmond, Washington

Post Post subject Re: [CLOSED] "Headless" Mode to allow embedding   Posted 19 Feb 11, 03:33    Reply with quote

hmmmn - just tried it - the answer I believe is Yes - very easy...
_________________
Paul Osborn, ACS, ALB
Treasurer, Redmond Nights TM
Toastmasters International
Where Leaders Are Made
Phone: +1 425-605-7707
www.toastmasters.org
www.d2tm.org

Back to top
View user's profile Send private message Send e-mail Visit their website Skype IDAIM Address
KaiS



Developer

Joined Date: 2008-09-06, 21:21
Posts: 83
Location: Barcelona, Spain

Post Post subject Re: [CLOSED] "Headless" Mode to allow embedding   Posted 21 Feb 11, 09:47    Reply with quote

You're a star!

Back to top
View user's profile Send private message Send e-mail   Skype ID 
ingot



Joined Date: 2011-03-02, 22:31
Posts: 3

Post Post subject Re: [UPCOMING] "Headless" Mode to allow embedding   Posted 07 Mar 11, 14:15    Reply with quote

This looks like a very great feature which simplifies the integration into our page a lot.
Still there is one problem with the h=off parameter.
First it only works if there is a user logged in. Second it is permanent.
So if I include such a page into an iframe then our webmaster will get a lot of emails that the menu in easyspeak is gone!
(I wouldn't worry if wouldn't be the webmaster as well ;) ).

Is it possible to provide another or change the current parameter such that it is only for the current request?


Cheers Ingo

Back to top
View user's profile Send private message Send e-mail    
PaulO



Developer

Joined Date: 2009-07-20, 21:22
Posts: 563
Location: Redmond, Washington

Post Post subject Re: [UPCOMING] "Headless" Mode to allow embedding   Posted 07 Mar 11, 17:21    Reply with quote

hmmm - actually some effort has gone into making sure that the switch is permanent! - so i'm not sure what the problem is that you are trying to solve. Do you have a website up so that I can see the problem?

Maybe what you need is a link or button on your site to go to 'full'' easy-Speak, which would launch E-S in a new browser window outside your frame? hmmm - though that would turn headers on for the frame as well, as it is a session setting...hmmm...tricky...

I'm not sure what you mean about it not working if you are not logged in - unless you are pointing out that that login page does not honor the headless switch? If this is what you mean, then yes it needs fixing - thatnk for pointing it out!

hmmm - I do see another problem though if you are requesting view_meeting and you are not logged in - you will be silently redirected to view_agenda (the public, read-only version of the meeting page), and even after you log in, will be returned to that read-only page.

_________________
Paul Osborn, ACS, ALB
Treasurer, Redmond Nights TM
Toastmasters International
Where Leaders Are Made
Phone: +1 425-605-7707
www.toastmasters.org
www.d2tm.org

Back to top
View user's profile Send private message Send e-mail Visit their website Skype IDAIM Address
ingot



Joined Date: 2011-03-02, 22:31
Posts: 3

Post Post subject Re: [UPCOMING] "Headless" Mode to allow embedding   Posted 08 Mar 11, 11:11    Reply with quote

PaulO wrote:
hmmm - I do see another problem though if you are requesting view_meeting and you are not logged in - you will be silently redirected to view_agenda (the public, read-only version of the meeting page), and even after you log in, will be returned to that read-only page.

That was half of the problem. The redirection removed the parameter. That it is the read only page is ok. I just wanna show the agenda. For everything else people should go to easyspeak


I think you've analyzed and described some of my problems very well.
There is not yet a website. But the problem is independent

(please first click this link to setup the demonstration: http://district59.eu/view_agenda.php?t=12011&h=on)
Lets's say you are a member of the Madrid club. And you are used to have easyspeak in non-headless mode. So normally you would see something like
http://district59.eu/view_agenda.php?t=12011
(Where you wouldn't have the h=on included but just for illustration)

But now you go to our web-side which embeds the agenda in a frame or just as a link which you click
http://district59.eu/view_agenda.php?t=10990&h=off

If you no go back to your normal page
http://district59.eu/view_agenda.php?t=12011
...hey where is my menu.

From my experience people are quite confused, when computer programs magically change ;).
And furthermore I change the behaviour of easyspeak for other clubs agendas/members that is not good.
I also only want to change the agenda when it is embedded in our page but not when people got directly to easyspeack

PaulO wrote:

hmmm - actually some effort has gone into making sure that the switch is permanent! - so i'm not sure what the problem is that you are trying to solve. Do you have a website up so that I can see the problem?

Maybe what you need is a link or button on your site to go to 'full'' easy-Speak, which would launch E-S in a new browser window outside your frame? hmmm - though that would turn headers on for the frame as well, as it is a session setting...hmmm...tricky...

I'm not sure what you mean about it not working if you are not logged in - unless you are pointing out that that login page does not honor the headless switch? If this is what you mean, then yes it needs fixing - thatnk for pointing it out!

hmmm - I do see another problem though if you are requesting view_meeting and you are not logged in - you will be silently redirected to view_agenda (the public, read-only version of the meeting page), and even after you log in, will be returned to that read-only page.

Back to top
View user's profile Send private message Send e-mail    
Display posts from previous   
    Printer-friendly version
easy-Speak Discussion Index  » System Enhancements
Page 1 of 1
      
 
Jump to  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Board Security

1160791 Attacks blocked, 5197 Spam robots repelled. 1 I.P. Address + 1138 agents banned.
Privacy Policy
The names Toastmasters International and all other Toastmasters International trademarks and copyrights are the sole property of Toastmasters International
This website is developed, supported and financed by Toastmaster members for use in their own clubs and is only available to Toastmaster clubs. It is not financed or supported by Toastmasters International in any way.