default userpic

strange ["If" custom field] publish error

Vote 0 Votes

I'm trying to improve upon a custom rotating image carousel I inherited. Currently the items within the carousel are limited to entries categorized with a specific category from specific blogs. Its proven quite limiting and have frequently found myself hacking custom items into the list. (I can post code if necessary)

I've been playing around with adding a system wide custom single-line-text value, that can be used to identify and order any type of entry - article, blog, photo from a gallery). I've figured out the new template code (which I can post if requested) ,however, I am getting a bizarre publishing error:

"Publish error in template 'DL': Error in tag: Error in tag: Invalid tag entrydatadl_carousel specified."

What is bizarre is this only occurs if you publish the entire blog containing this custom template. If you publish the single file, it works fine. Has anyone experienced something like this before?

Reported on Movable Type 4.25

4 Replies

| Add a Reply
  • Sorry for asking the dumb question, but does the custom field "entrydatadl_carousel" actually exist? Is that the system-wide custom text value you mention?

  • Of course... As I said, it works fine when publishing the single file, just not the blog as a whole. This is where the problem exists, as our load-balanced sync process is tied to entry and blog publishing.

  • Let me reason this out at length, in case I'm still missing something. I'm afraid your details are a little brief. Bear with me.

    When you save your single file, your custom template, you're not publishing it. Just saving it.

    When you use the Publish command, you have the option to publish All Files, Only Indexes, etc ... but not just that one template. Because, of course, publishing pushes out the static output, not the template itself.

    So I think that's why you're seeing this error only when publishing the entire blog.

    So can you please post a block of code that contains this entrydatadl_carousel tag? And just in case, double-check the custom field's Template Tag box to make sure it exactly matches that name?

    Sorry if that seems pedantic, but it'll help look into this.

    • user-pic

      Meh, having revisited an archive template today, I take back what I said -- yeah, you can edit the archive template and publish, but you're still publishing any static file that used that template.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012