Cached Youtube API Client (CaYAC)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
nhaack

Re: Cached Youtube API Client (CaYAC)

Post by nhaack »

I just thought, you could also go for a foreach loop... something like

Code: Select all


{foreach from=$videos item=video name=vid}
{if $smarty.foreach.vid.first}
... do something for first video
{else}
... do something for the other videos
{/if}
{/foreach}

Could you post your template code again? Do you get any error messages or what do and don't you see? With a very simple foreach loop... do you see all the videos? Is the video feed actually providing enough videos?

Just some questions that popped into my mind ...

Hope it helps

Best
Nils
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: Cached Youtube API Client (CaYAC)

Post by JohnnyB »

Sorry for the long delay  - foreach works and there are enough videos.  I haven't had a chance to work with it recently though :(
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
sirphuzz
Forum Members
Forum Members
Posts: 18
Joined: Thu Aug 07, 2008 1:07 pm

Re: Cached Youtube API Client (CaYAC)

Post by sirphuzz »

Hi!

This tag seems to do exactly what I need, but I can't make it work. I'm using CMSMS 1.4.1, is that too old? I can't find any minimum required version in the help section. I put the tag in, but nothing shows on the page, whether I use the "name" parameter or not.

What is the connection between api_youtube and api_twitterfeed (The help section for CaYaC states to use the api_twitterfeed in the template, why is this needed?)

Thanks,

Carl
nhaack

Re: Cached Youtube API Client (CaYAC)

Post by nhaack »

Sorry Carl,

I've obviously made a mistake in the sample embedding  :-[.

Please call the plug-in as follows (and drop that twitter reference):

{api_youtubefeed name="some_youtube_user"}

This should do the trick. Please let me know if that worked.

Best
Nils
Locked

Return to “Modules/Add-Ons”