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

  • Home
  • SEARCH
  • 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 9032047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:53:05+00:00 2026-06-16T07:53:05+00:00

I have installed meteorite, and router package Now I have a main page app.html

  • 0

I have installed meteorite, and router package

Now I have a main page app.html

<body>
  <div class="container">
    <div class="page-header">
      <a href="/">
        <h1>Mi page</h1>
      </a>
    </div>
    <div class="content">
      {{renderPage}}
    </div>
  </div>
</body>

Ok, now all the pages are rendered inside {{renderPage}}.

Now users go to /panel and the users panel its rendered, here is the tricky part

This section have a cpanel_nav_div and a cpanel_body, and I think its more efficient that when the user remains in the panel section the cpanel_nav_div dont renders each time the user clicks on one of panel options links, so just the cpanel_body changes.

How is the best way to do this ??

Its there a way to do other router and filter routes, so when a route matches /panel/… all the content goes inside cpanel_body instead of go inside {{renderPage}} ????

Set a Session.get and Session.set and render content inside cpanel_body depending on session (with this we miss routes)

Use routes and render cpanel_nav and cpanel_body each time ?

thx for the help

  • 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-16T07:53:06+00:00Added an answer on June 16, 2026 at 7:53 am

    You can tell Meteor not to re-render part of your template with preserve:

    You can "preserve" a DOM element during re-rendering, leaving the existing element in place in the document while replacing the surrounding HTML. This means that re-rendering a template need not disturb text fields, iframes, and other sensitive elements it contains. The elements to preserve must be present both as nodes in the old DOM and as tags in the new HTML. Meteor will patch the DOM around the preserved elements.

    For example, to preserve all elements with ids in template ‘foo’, use:

     Template.foo.preserve({
       'input[id]': function (node) { return node.id; }
     });
    

    So you would probably want to use the preserve method to tell Meteor not to re-render your cpanel_nav_div element.

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

Sidebar

Related Questions

I have installed my dependencies using bundle package Then transferred them to the offline
I have installed a C# windows forms app on a client machine which does
I have installed Xcode 4.5 to my mac system. Now I need to uninstall
I have installed Debian as a VirtualBox guest on Windows XP. Now I have
i have installed many third party plugin add-ins in my visual studio. now i
I have installed rubycas-server on my server. I have a ruby app that supports
I have installed my app in a real phone, and even though in the
I have installed PHP 5.3.3 on my machine without pear. But now i want
I have installed Python 2.7 for Windows, and downloaded Django-1.2.3. Now, I want to
I have installed python and django in my system that uses win vista. Now

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.