Content Magic 2 Specific Article Display
Posted in reference, scripts with tags article, article display, cm2, content magic, content magic 2 on December 15, 2009 by joevanceThe code below will establish a link to a specific article in Content Magic 2 (change the text in red to match the needed customer, category, and article IDs from CM2):
<!–#if expr=”${QUERY_STRING} ~= /article\=/” –>
<!–#include virtual=”/cm2/articleDisplay.do?${QUERY_STRING}” –>
<!–#else –>
<!–#include virtual=”/cm2/articleDisplay.do?customer=177&cat=1749&label=0&article=MTAzMDlzdXBlcjEwMzA2c2VjcmV0MTAzMTM=” –>
<!–#endif –>
My WordPress Cheat Sheet
Posted in Uncategorized on July 23, 2009 by toddbudnikasspellr.us – Website Spell Checker
Posted in software with tags spell, spelling on June 30, 2009 by toddbudnikasHTML email inline styler
Posted in software with tags converter, CSS, email, html on June 29, 2009 by toddbudnikasjQuery target=”_blank” replacement
Posted in scripts with tags jquery on June 12, 2009 by toddbudnikas$("a").each(
function ()
{
if(this.rel=="external")
{
this.target="blank";
}
}
);
Deploy* Beta 1.4 | Choose, Bookmark, Deploy
Posted in software with tags CSS, generator, javascript, site, xhtml on May 23, 2009 by toddbudnikasUpdate: jQuery UI 1.7 Slider from a Select Element | Filament Group, Inc., Boston, MA
Posted in scripts with tags CSS, forms, jquery, wiser on May 21, 2009 by toddbudnikasContentMagic2 Meta-Tags/Keywords Include
Posted in articles, reference with tags cm2, contentmagic, contentmagic2 on May 14, 2009 by joevance
<!–#if expr=”${QUERY_STRING} ~= /article\=/” –>
<!–#include virtual=”/cm2/articleHeadDisplay.do?${QUERY_STRING}” –>
<!–#else –>
<!–#include virtual=”/cm2/categoryHeadDisplay.do?customer=177&cat=1742″ –>
<!–#endif –>
<!–#if expr=”${QUERY_STRING} ~= /article\=/” –>
<!–#include virtual=”/cm2/articleHeadDisplay.do?${QUERY_STRING}” –>
<!–#else –>
<!–#include virtual=”/cm2/categoryHeadDisplay.do?customer=#&cat=#” –>
<!–#endif –>
For CM2 sites needing the proper include to display the meta tags and keywords in the <head> tag, use the above, replacing the red “#” with the proper customer/category IDs.