• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Facebook like mygtukas
PostPosted: Tue Jan 24, 2012 3:27 pm 
Offline
Forum Members
Forum Members

Joined: Sat Jun 28, 2008 8:35 am
Posts: 10
Truiu problemu su facebook integracija. Įdedu like mygtuka su CGFBApp moduliu į Calguys Blog modulį.
Code:
{* set a canonical variable that can be used in the head section if process_whole_template is false in the config.php *}
{if isset($entry->canonical)}
  {assign var='canonical' value=$entry->canonical}
{/if}

{if $entry->postdate}
   <div id="CGBlogPostDetailDate">
      <h1 id="CGBlogPostDetailTitle">{$entry->title|escape} <span style="font-size:11pt">{$entry->postdate|cms_date_format}</span></h1>{cms_module module='ShareItPop'}
   </div>
{/if}
{if $entry->categories}
<div class="CGBlogSummaryCategory">
{if $entry->author}

      {$author_label} {$entry->author};

{/if}
{strip}{$category_label}
 {foreach from=$entry->categories item='category'}
    {$category.name}
 {/foreach}
{/strip}
</div>
{/if}

     <div style="float:left; margin-right: 10px">
{if isset($entry->fields)}
  {foreach from=$entry->fields item='field'}
     {* this template assumes that every file uploaded is an image of some sort, because CGBlog doesn't distinguish *}
<div class="img">
      <a class="group" href="{$entry->file_location}/{$field->value}" title="{$field->value}" rel="gallery-1"><img width="200px" src="{$entry->file_location}/{$field->value}" alt="{$field->value}" /></a>
      </div>
  {/foreach}
{/if}
</div>
 <div class="CGBlogPostDetailSummary">
{if $entry->summary}
         {eval var=$entry->summary}
   
{/if}
   {eval var=$entry->content}
</div>

{if $entry->extra}
   <div id="CGBlogPostDetailExtra">
      {$extra_label} {$entry->extra}
   </div>
{/if}

{cgfb_like}
<p> </p>
{cgfb_comments width="600"}

Tačiau facebook mygtukas neatpažysta paveiksliuko, esančio įraše. Taip pat ir nesuteikia nuorodai pavadinima, o tik rodo ilga ir baisia nuorodą. Gal galit padėti?


Last edited by prey on Wed Jan 25, 2012 3:08 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Facebook like mygtukas
PostPosted: Wed Jan 25, 2012 7:26 am 
Offline
Beta Tester
Beta Tester
User avatar

Joined: Fri May 09, 2008 11:20 am
Posts: 695
Location: Lithuania
Nelabai suprantu kas tau nesigauna.
Gal kur internete prieinamas tavo puslapis?

vilkis

PS Aš nesinaudoju jokiais moduliais facebook like mygtukui - įdedu tiesiogiai kodą sugeneruotą Facebook'e.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner