Twitter Feed Block Not Displaying 7.0.2
We just upgraded to 7.0.2 and I have created a Twitter Feed Block - when viewing the block itself, I see the twitter feed. When I add that block to a page, I no longer see the feed. It also does not display when the page is published.
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Graham Lewis closed this discussion on 27 Jul, 2012 02:49 PM.
Graham Lewis re-opened this discussion on 27 Jul, 2012 02:49 PM
1 Posted by Graham Lewis on 27 Jul, 2012 02:56 PM
Didn't mean to close it
2 Posted by Ryan Griffith on 30 Jul, 2012 04:11 PM
Hi glewis,
Just a few questions to see if we can narrow things down a bit:
<div id="twitter-feed-block_....">
<ul>
list?Please let us know if you have any questions.
Thanks.
3 Posted by Graham Lewis on 30 Jul, 2012 04:55 PM
Ryan,
Looking at the published page, http://www.jsu.edu/sandbox/test2.html , there doesn't seem to be any errors on it. Also there is nothing in the source showing any <div> - also there shouldn't be anything in the CSS messing it up (that I am aware of)
Graham Lewis
Webmaster
Jacksonville State University
256.782.5331
www.jsu.edu
4 Posted by Ryan Griffith on 30 Jul, 2012 05:36 PM
Hi Graham,
It looks as though the Twitter block content or JavaScript is not being included on the page. Can you confirm the block has been added to the one of the page's Configuration Set or Template Regions?
This may also explain the cause of the feed not appearing when viewing the page within Cascade.
5 Posted by Graham Lewis on 30 Jul, 2012 05:38 PM
I added it in the block chooser in the Data Definition - do I need to add it a different way?
Graham Lewis
Webmaster
Jacksonville State University
256.782.5331
www.jsu.edu
6 Posted by Ryan Griffith on 30 Jul, 2012 06:04 PM
From what I am seeing, there's no way to access the actual data of a Twitter Block, so I believe the Twitter Block is a special case where you would want to apply the block at the Region level. This can be done by adding it to a region's Block field within a Template's Configuration or Configuration Set.
The following screenshots demonstrate how you can apply the Twitter Block to a region and preview it's output.
Please let me know if you have any questions.
Thanks.
7 Posted by Graham Lewis on 30 Jul, 2012 06:09 PM
Oh ok - so there is now way to have both the Twitter Feed Block and the WYSIWYG content in the same area? I was wanting to include it on a departmental page, but keep what they have. I can modify the template to add a region, under the WYSIWYG, but I wanted to be able to customize a bit more of where I wanted it to go without have to do a lot of template modifications. Does it say anywhere in the documentation that it has to be done in the config set or template? I didn't see it if it was - I could have over looked it though.
What makes that the block chooser in the config set and the block chooser in the data definition different?
Graham Lewis
Webmaster
Jacksonville State University
256.782.5331
www.jsu.edu
8 Posted by Ryan Griffith on 30 Jul, 2012 06:13 PM
Let me ask around to confirm, but I believe the Twitter Blocks are special blocks that are rendered dynamically within a region, as apposed to being transformed using a Format.
9 Posted by Graham Lewis on 30 Jul, 2012 06:16 PM
Ok - thanks for asking around for me.
Graham Lewis
Webmaster
Jacksonville State University
256.782.5331
www.jsu.edu
10 Posted by Ryan Griffith on 30 Jul, 2012 07:44 PM
Graham,
I have confirmed that the Twitter Block is a special case in which the Twitter data is only outputted when the block is applied to a region, and the tweet data is not stored within Cascade. When using the block in a Data Definition chooser, you will only have access to the block's metadata such as name, path, etc.
Depending on your template, the most minimal change would be to add an additional region directly above/below the region that transforms the WYSIWYG content. This of course assumes your template has a container that surrounds the content. Something like the following:
Another option could be to use an XML Feed Block of the account's tweets using the Twitter API. The URL would be something like
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name={SCREEN NAME}
. This would allow you to transform the RSS feed along with the WYSIWYG content using a Format.Please let me know if you have any questions.
Thanks.
11 Posted by Graham Lewis on 30 Jul, 2012 07:55 PM
Ryan - thanks! That is exactly what I did - I just added a system region to my template and added it in and the configuration set.
Thanks for all the help!
Graham Lewis
Webmaster
Jacksonville State University
256.782.5331
www.jsu.edu
12 Posted by Ryan Griffith on 30 Jul, 2012 08:01 PM
Hey Graham, not a problem glad to hear you got things working!
I'm going to go ahead and close this discussion, but feel free to reply or comment to re-open this discussion if you have any additional questions.
Thanks.
Ryan Griffith closed this discussion on 30 Jul, 2012 08:01 PM.