Support Center

Knowledgebase
View categorized listing of all common frequently asked questions.
Video Tutorials
Create a Movie & TV Show review website.
Customize the jReviews themes.
Review user profiles with the Everywhere addon.
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 09:34:10 PM
22868 Posts in 5233 Topics by 2978 Members
Latest Member: mini_me
News: Use your client area email when you sign up to the forum so we can identify you as a trial or licensed user. Otherwise we may not answer your questions.
 
jReviews Support Forum  |  jReviews 1.x  |  Tips & tricks  |  youtube + jreviews « previous next »
Pages: [1]
Author Topic: youtube + jreviews  (Read 822 times)
kaveo
Newbie
*
Offline Offline

Posts: 10



« on: November 16, 2007, 11:45:01 PM »

who here has been successful incorporating youtube in their jreviews?  you should share here so that other community members won't have to ask alejandro...

thanks and god bless
Logged
mercuryyy
Newbie
*
Offline Offline

Posts: 11


« Reply #1 on: November 18, 2007, 02:08:14 PM »

Open a new filed called youtube (filed should be "Code")
In com/com_jreview/tmp/shop      open com_content.html
and add the following code (for it to wwork 100% you should add the code to the second to the last line.

Code:
<br />
<patTemplate:tmpl name="jr_youtube" type="simplecondition" requiredvars="jr_youtube">
<object width="675" height="355"><param name="movie" value="{JR_YOUTUBE}&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=1"></param><param name="wmode" value="transparent"></param><embed src="{JR_YOUTUBE}&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=1" type="application/x-shockwave-flash" wmode="transparent" width="675" height="355"></embed></object>
</patTemplate:tmpl>
<br />

For thouse of you that get confused here how the orignail should look like:
Code:
<patTemplate:tmpl name="com_content" visibility="show" varscope="jreviewcontent" unusedvars="strip">
<!-- com_content.html store template -->

<div id="jr_com_content">

<patTemplate:link src="user_reviews_header" />

<div id="content_images" style="float:left;">
<patTemplate:link src="com_content_introimage" />
<div class="image_zoom">Click to see larger images</div>
<patTemplate:link src="com_content_images" />
</div>

<div class="content_fields">

<div>
{CUSTOMFIELDS}
</div>

<div class="clear"></div>

<div class="content_affiliate">
<a rel="nofollow" href="http://www.amazon.com/gp/product/<patTemplate:var name="jr_asin" modifier="strip_tags" modifierType="php" />?ie=UTF8&amp;tag=findnow-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=<patTemplate:var name="jr_asin" modifier="strip_tags" modifierType="php"/>">
<img border="0" alt="buy now" src="{TEMPLATE}/custom_images/buy-from-tan.gif" />
</a>
</div>

</div>

<div style="clear:both;"><br /></div>

{INTROTEXT}<div style="clear:both;"><br />{FULLTEXT}</div>

</div>
</patTemplate:tmpl>

and this is how the moded should look like:

Code:
<patTemplate:tmpl name="com_content" visibility="show" varscope="jreviewcontent" unusedvars="strip">
<!-- com_content.html store template -->

<div id="jr_com_content">

<patTemplate:link src="user_reviews_header" />

<div id="content_images" style="float:left;">
<patTemplate:link src="com_content_introimage" />
<div class="image_zoom">Click to see larger images</div>
<patTemplate:link src="com_content_images" />
</div>

<div class="content_fields">

<div>
{CUSTOMFIELDS}
</div>

<div class="clear"></div>

<div class="content_affiliate">
<a rel="nofollow" href="http://www.amazon.com/gp/product/<patTemplate:var name="jr_asin" modifier="strip_tags" modifierType="php" />?ie=UTF8&amp;tag=findnow-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=<patTemplate:var name="jr_asin" modifier="strip_tags" modifierType="php"/>">
<img border="0" alt="buy now" src="{TEMPLATE}/custom_images/buy-from-tan.gif" />
</a>
</div>

</div>

<div style="clear:both;"><br /></div>

{INTROTEXT}<div style="clear:both;"><br />{FULLTEXT}</div>

</div>
<br />
<patTemplate:tmpl name="jr_youtube" type="simplecondition" requiredvars="jr_youtube">
<object width="675" height="355"><param name="movie" value="{JR_YOUTUBE}&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=1"></param><param name="wmode" value="transparent"></param><embed src="{JR_YOUTUBE}&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=1" type="application/x-shockwave-flash" wmode="transparent" width="675" height="355"></embed></object>
</patTemplate:tmpl>
<br />
</patTemplate:tmpl>

remmeber when you add the filed "youtube" it should be posted as a "CODE filed

HF
Logged
Pages: [1]
« previous next »
    Jump to: