Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Blog: change width Facebook like button

$
0
0
The code i try to fix:
<!-- AddThis Button BEGIN -->
            <div class="addthis_toolbox addthis_default_style" addthis:url="{be:GetFullBlogUrl(@Date, @Title)}" addthis:title="{@Title}" xmlns:addthis="http://www.addthis.com">
                <a class="addthis_button_facebook_like"></a> 
        <!--    
            <![CDATA[
                <a class="addthis_button_facebook_like" fb:like:width="115" ></a> 
            ]]>
        -->
                <a class="addthis_button_tweet"></a>
                <a class="addthis_counter addthis_pill_style addthis_nonzero"></a>
            </div>
            <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-519b5eda6126be47"></script>
            
            <!-- AddThis Button END -->
The CDATA is not working (I hide it), the output HTML is now converted to htmlencoded like this:
&lt;a class="addthis_button_facebook_like" fb:like:width="115" &gt;&lt;/a&gt;
The suggestion is also not working:
http://stackoverflow.com/questions/16690185/using-colon-in-attribute-names-in-xsl-transformations/16691803?noredirect=1#16691803
I didnt manage to get it working, but try to keep an eye out for that also.
The site is now on Composite 4 Beta 2.

Thanks for your help so far!

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>