• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS made Simple Czech Site Zur deutschsprachigen Supportseite Site francophone Sitio en Castellano CMSMS - Magyarország CMSMS -  ???????
Pages: 1 [2]
  Print  
Author Topic: Cached Youtube API Client (CaYAC)  (Read 1464 times)
0 Members and 1 Guest are viewing this topic.
nhaack
Translator
Power Poster
***

Karma: 15
Offline Offline

Posts: 612



WWW
« Reply #15 on: 19 Feb 2010, 14:59 »

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

Code:

{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



Logged

Profiles:
# Twitter profile: http://twitter.com/opticalvalve

Tools:
# Content Dump Plug-In - The multi-tool for site-internal content distribution.
# API Plug-in Collection  - Include data from web 2.0 sites into your pages.

Sites:
# Current CMSMS Project: http://www.tripmondo.com
mww
Beta Tester
Forum Members
*

Karma: 3
Offline Offline

Posts: 191



WWW
« Reply #16 on: 01 Mar 2010, 15:46 »

Sorry for the long delay  - foreach works and there are enough videos.  I haven't had a chance to work with it recently though Sad
Logged

----------------------------------------------------------------------------
Building quality websites using the best CMS available, CMS Made Simple!
I'm always using the latest CMSMS version available.

John D. Beatrice
http://www.linkedin.com/in/johnbeatrice

"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
sirphuzz
Forum Members
**

Karma: 0
Offline Offline

Posts: 18


« Reply #17 on: 10 Mar 2010, 10:17 »

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
Logged
nhaack
Translator
Power Poster
***

Karma: 15
Offline Offline

Posts: 612



WWW
« Reply #18 on: 10 Mar 2010, 14:17 »

Sorry Carl,

I've obviously made a mistake in the sample embedding  Embarrassed.

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
Logged

Profiles:
# Twitter profile: http://twitter.com/opticalvalve

Tools:
# Content Dump Plug-In - The multi-tool for site-internal content distribution.
# API Plug-in Collection  - Include data from web 2.0 sites into your pages.

Sites:
# Current CMSMS Project: http://www.tripmondo.com
Pages: 1 [2]
  Print  
 
Jump to: