Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7977317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:09:45+00:00 2026-06-04T09:09:45+00:00

I downloaded the latest version of jsRender and I saw that the layout templates

  • 0

I downloaded the latest version of jsRender and I saw that the layout templates doesn’t “supported”. I used to use

{{for ListData  tmpl="#LayoutTmpl" ~variable=value Layout=true  /}}

but after a quick view in jsRender js code I saw that in the latest version the “Layout” variable renamed to “isLayout”. I tried this

 {{for ListData  tmpl="#LayoutTmpl" ~variable=value isLayout=true  /}}


<script id="LayoutTmpl" type="text/x-jsrender">
 {{:#parent.parent.data.propertyName}}
   {{if #data.length > 0}}
     {{for #data}}
       {{:propertyName}}
     {{/for}}
   {{else}}
       do something
   {{/if}}
</script>

but with no luck. The nested layout template is rendered as a normal template and since the data object isn’t recognized as a type of list, I am getting the “do something”.

Does anyone know how could I fix this? of course I want to avoid rollback to the previous version.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:09:47+00:00Added an answer on June 4, 2026 at 9:09 am

    There is a sample showing how to achieve that scenario, in the new design here: headers and footers sample.

    Also, see the reply to your issue on GitHub here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I downloaded the latest version of JQM and saw jquery.mobile.structure-1.1.0-rc.1.css. Q: What's that used
Like most, I recently downloaded the latest version of XCode (4.3.1). I've noticed that
i've downloaded the latest version of Boost Package (1.45) and I would use only
I have downloaded the latest RestKit version 0.9.3 from github and noticed that the
I downloaded the latest open source version of QT4-and its installed in c:\qt\2009.04. I've
I downloaded the latest version of Boost and I'm trying to get the Boost.python
I downloaded the latest version of eclipse (3.5.SR2) and get m2eclipse installed on. Instead
I just downloaded the latest version of SQL Express 2012 but I cannot connect
I just downloaded the latest version of Opera. Is there a way to make
A while ago I downloaded the latest version (3.1) of the CKEditor text editor.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.