We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Data Matrix 1.0.0 Works on One MSM Site, Doesn't Work on Another

Development and Programming

kirkaracha's avatar
kirkaracha
273 posts
16 years ago
kirkaracha's avatar kirkaracha

I’m using LG Data Matrix 1.0.0 on one of my MSM sites, but it’s not working when I use it on a different site, it just displays the Data Matrix code from the template without rendering it. The main difference is that the site where it’s not working is pulling entries from a weblog on a another MSM site.

  1. I uploaded a freshly-downloaded copy of version 1.0.0.
  2. The extension is enabled in Admin > Utilities > Extensions Manager
  3. The extension is enabled for each site in Admin > Utilities > Extensions Manager > LG Data Matrix 1.0.0
  4. The paths to both required JavaScripts are correct (the extension works on the Publish/Edit screens, but not in the rendered template).
  5. I updated EE and MSM to the latest builds.

This code works on one of my sites):

{if news_releases_related_links}
{news_releases_related_links disable="headers"}
<h3>Related Links</h3>
<dl>{rows}
    <dt><a href="http://{related_url}">{related_title}</a></dt>
    {if related_note}<dd>{related_note}</dd>{/if}
{/rows}</dl>
{/news_releases_related_links}
{/if}

This code doesn’t work on one of my other sites):

{if internal_comm_related_links}
{internal_comm_related_links disable="headers"}
<h3>Related Links</h3>
<dl>{rows}
    <dt><a href="http://{related_url}">{related_title}</a></dt>
    {if related_note}<dd>{related_note}</dd>{/if}
{/rows}</dl>
{/internal_comm_related_links}
{/if}
  1. internal_comm_related_links is the correct name of the custom field.
  2. related_url, related_tracking, related_title, and related_note are the correct names from the custom field settings.
  3. custom_fields is not disabled in any of the exp:weblog:entries tags.
  4. The weblog entry has content in the Data Matrix custom field

It also doesn’t work in a reduction test with a simpler template):

{exp:weblog:entries site="ucsf_today" weblog="internal_comm_stories" require_entry="yes" limit="1"  disable="member_data|pagination|trackbacks"}

{title}

{if internal_comm_related_links}
{internal_comm_related_links disable="headers"}
<h3>Related Links</h3>
<dl>{rows}
    <dt><a href="http://{related_url}">{related_title}</a></dt>
    {if related_note}<dd>{related_note}</dd>{/if}
{/rows}</dl>
{/internal_comm_related_links}
{/if}

{/exp:weblog:entries}

A further reduction without any conditionals also doesn’t work):

{exp:weblog:entries site="ucsf_today" weblog="internal_comm_stories" require_entry="yes" limit="1"  disable="member_data|pagination|trackbacks"}

{title}

{internal_comm_related_links disable="headers"}
<h2>Related Links</h2>

<dl>{rows}
    <dt><a href="http://{related_url}">{related_title}</a></dt>
{/rows}</dl>
{/internal_comm_related_links}

{/exp:weblog:entries}

ExpressionEngine 1.6.6 Build: 20081212 PHP/5.1.6 MySQL 5.0.45 Apache/2.2.3

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.