Home > Forum

Support Forum

Google Calendar Embed Code Broken by Shortcoder

Google Calendar Embed Code Broken by Shortcoder

Postby inhouse » Mon Jun 11, 2012 9:23 pm

Hello, I tried to use Shortcoder to with the Google Calendar embed code (iframe) but Shortcoder is breaking the code anytime it sees a "%" in the URL. Is there any way to disable the Custom Parameter feature on some shortcodes? As you can see Google uses many percentage characters in their URLs. I have verified that the calendar shows up if I do not use Shortcoder. I see using inspector that the shortcode has content but the iframe code is incomplete. Also, when I input the shortcode to a page, Shortcoder asks me if I want to use 2 parameters which I have not used intentionally. It is simply the URL Google generates. Thanks for any help.

Code: Select all
<iframe src="https://www.google.com/calendar/embed?showTitle=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=388&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=XXXXX%40group.calendar.google.com&amp;color=%xxxxxxxx&amp;ctz=America%2FNew_York" style=" border-width:0 " width="388" height="388" frameborder="0" scrolling="no"></iframe>


Available parameters:
23FFFFFF&src=xxxxxxxx:
xxxxxxxx&ctz=America:
inhouse
 
Posts: 5
Joined: Mon Apr 25, 2011 12:24 pm

Re: Google Calendar Embed Code Broken by Shortcoder

Postby vaakash » Sun Jun 24, 2012 6:15 am

Unnoticed bug !!! Thanks for reporting it. Ill make an option to disable the custom parameter feature in the required shortcode.
User avatar
vaakash
Site Admin
 
Posts: 704
Joined: Sun Jan 17, 2010 11:15 am
Location: India

Re: Google Calendar Embed Code Broken by Shortcoder

Postby inhouse » Mon Jun 25, 2012 12:19 pm

Great news, thanks a lot!
inhouse
 
Posts: 5
Joined: Mon Apr 25, 2011 12:24 pm


 


  • Related topics
    Replies
    Views
    Last post


Return to Shortcoder

cron


phpBB SEO