Using <!-- fbml --> isn't working.
Is there some special way to comment out FBML?
The mistake was mine. No special way to do this, just the normal way.
Related
I'm trying to enable dynamic remarketing tags, Fooman dynamic remarketing is installed. Google's Tag assistant reports that the script should be immediately before the closing tag, the Google api seems to add twice after
The data is all good, it's simply not working because of these extra s from what I can see. How can I locate and remove these? I've done some investigation in the relevant files but can't find anything likely to cause the problem.
The issue may be part of the Google api, if I disable this then the additional tags disappear.
My other option is to manually add the remarketing snippet, I've tried this through Design -> Footer -> Miscellaneous html, whilst this is correctly placed before the and has no extra tags the dynamic data fields are not populated. Am I missing something? Is it being treated as flat html rather than dynamic?
Magento 1.9.0
Hoping someone can help.
Thanks
Rob
Want to try this one? Also regarding script should be immediately before the closing tag, this is not a big issue. http://ecommppc.com/2014/09/05/setting-up-dynamic-remarketing-on-your-magento-webstore-using-google-tag-manager/
I use exist-db with betterFORM to change xforms to HTML but betterFORM made a lot of javascript that I don't need it. Please help me to disable generate javascript in betterFORM.
This is a misunderstanding i think. The script is needed for betterFORM to work as all interaction is based upon AJAX requests happening under the hood. Therefore the script cannot be disabled.
I searched web for few hours but did not find anything so far. So just putting it out here, is there a way that using a link i can create a digg style story? With image, headline and story preview? Is there any api in which can be used in mvc3 or any code out there which does this already? Would appreciate any help in this!
I am putting a bounty on this question. Anyone who can provide me simple asp.net code to get a story from news site using a link, will get the bounty. Thanks!
Altough i'm not familliar with this functionallity in Digg, it sounds a lot like what Facebook also does. As far as I could find their is no pre made code available nor services available, but it shoudn't be that hard to implement yourself:
Download the page source
Search for the following tags:
<meta name="title"
<meta name="discription"
<link rel="image_src"
Use the values of those elements to build your preview
Because not every website uses these tags, you can, for example, do the following subsitiutions:
No meta title tag? --> Use the <title> element content.
No meta description tag? --> Use the, or a part of, the first nicely filled paragraph
No link image_src? --> Use any of the images on the page
Be creative with the method of substitution to see which method yields the best results.
For a bit more detailt about the tags: http://umairj.com/29/modify-how-the-shared-item-appears-on-facebook/ (It talks about facebook, but is applicable for anyone wanting to implement this kind of functionallity)
You can try using YQL with jQuery to achieve that.
See this link for more info.
I'm trying to make a BEA Portal website XHTML compliant, because this has been written in the contract with the client, and I'm stuck on this problem: BEA renders <meta> and <link> tags without the closing slash, i.e. <link/> and <meta/> as it is required by XHTML.
When I look at the documentation from BEA it seems that it should be possible to make it render the tags with a closing slash: The skin.properties file (edocs.bea.com).
Is it possible to change the redering with a configuration directive? Or perhaps, to hook into the underlying redering method so that I can fix it?
Try a tag-rewriting filter implemented either as a rewrite rule in a reverse proxy or as a filter servlet. Wouldn't suggest looking for the answer in the portal itself...
For software that doesn't use XML serializer, XHTML is pointless (see numerous other questions on SO about XHTML).
If you want to make page more standards-compliant, I suggest aiming for HTML4.01 Strict or HTML5 (with CSS for layout of course – it's not XHTML-specific thing).
I researched this a while ago and can't remember how to do it. I want to be able to prevent Firefox from running it's spell-checking functionality on certain input fields from within the page. I know it's possible but can't remember how to set it up.
Talk about having a big "duh" moment! I found the answer after some trial & error:
<textarea spellcheck="false"></textarea>
The "spellcheck" attribute is currently an extra feature available only in Firefox, but it is being considered for inclusion in HTML5.
add the attribute using JQuery $('.textarea_className').attr('spellcheck',false);
This will allow you to return a valid XHTML mark up. =)
The downside of this is that the W3 strict validator gives - Attribute "spellcheck" is not a valid attribute. Bad news for those of us with OCD that love to see 0 errors in validating our sites.