We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11121
    • 79 Posts
    Hi I am using bookmarkthis inside a getresource tpl chunk as follow:

    <div class="box-arthro">
    <div id="time"><span class="date-arthro">[[*createdon:strtotime:date=`%A, %e %b, %Y - %R`]]</span> </div>
    <div id="arthro_content">
    <div id="arthro_title"><span class="arthro_title">[[*pagetitle]]</span></div>
    <div id="social">
    [[!BookmarkThis?
        &use=`facebook,twitter,email`
        &type=`circle`
        &size=`36`
    ]]
    </div>
    <div id="arthro_figure"><figure><a href="[[*ARTICLE_PHOTO:phpthumbof=`w=900`]]" rel="lightbox"><img src="[[*ARTICLE_PHOTO:phpthumbof=`w=610&h=350&zc=0`]]"></a></figure></div>
    <div id="arthro_content_text"><span class="grey-14">[[*content]]</span></div>
    </div>
    </div>


    Icons are showing perfect as expected etc. The problem is that when you press facebook icon and the facebook popup window shows, it gets image, title and descriptin from the homepage!

    Any ideas why is that happening?

    Thank you in advance.
      • 3749
      • 24,544 Posts
      You can email the author. There's a link on the bottom of this page.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 33238
        • 388 Posts
        Just guessing, it is not taking the data from the facebook meta properties in the head of your html?

        <meta property="fb:app_id" content="" />
        <meta property="og:url" content="" />
        <meta property="og:title" content="" />
        <meta property="og:image" content="" />
        <meta property="og:description" content="" />
        <meta property="og:site_name" content="" />
        <meta property="og:type" content="website" />

        If not, try this ones.
          --
          ysanmiguel.com