meteor-blaze Questions

2

Solved

I have a number of posts that I want to display inside of a carousel. For the carousel, I use OwlCarousel . <div class="owl-carousel" id="featured-carousel"> {{#each featuredPosts}} <d...
Livery asked 17/8, 2014 at 22:2

2

In Meteor, I'm sending two objects from my db to a template: Template.myTemplate.helpers({ helper1: function() { var object1 = this; // data context set in iron:router...path is context dependen...
Tartarus asked 15/1, 2015 at 11:36

3

Solved

I have homepage, contact page, and several other product related pages in my app. The goal is to apply a background image to ONLY specifc routes: /homepage and /contact. If user navigates away fro...
Intramundane asked 22/8, 2014 at 22:14

1

Solved

The meteor-react tutorial instructs you to create your Meteor login buttons by calling Blaze.render: this.view = Blaze.render(Template.loginButtons, React.findDOMNode(this.refs.container)); The...
Mountbatten asked 1/8, 2015 at 17:21

3

I'm iterating through a collection in Meteor using {{#each}} and I would like to know if I'm in the last element, as I can do in AngularJS while using ngRepeat with $last. It could be used, for ex...
Outofdoor asked 11/11, 2014 at 10:9

2

Solved

Say I have a helper that looks like this: Template.profile.helpers({ info: { Name: 'Bob Dinkleberg', Age: 45, Location: 'Earth, Milky Way' } }); I want to put this info in a <ul>. Her...
Wiredraw asked 4/7, 2015 at 12:28

3

Solved

After upgrading to Polymer 1.0, default iron-icons set is not working. I am trying to use home icon from the default icon set. HTML code fragment: <link rel="import" href="/components/iron-fl...
Arda asked 2/6, 2015 at 23:19

2

I have really weird problem and totally no clue how to solve it. I am trying to build very simple fullpage.js and meteor.js implementation. The code below works, but after a few minutes, it breaks...
Ramonramona asked 27/2, 2015 at 22:43

5

Solved

2 Technologies: Meteor with the blaze templating engine Famo.us with their awesome gui framework I come from the meteor side, I personally like using {{mustache}} (handlebars) to drive the gui ...
Cioffred asked 15/4, 2014 at 12:15

2

Solved

How can one use each input values in events? Hope my below code will explain you well. HTML: <template name="UpdateAge"> {{#each Name}} <div data-action="showPrompt"> <div> ...
Pangenesis asked 20/5, 2015 at 7:20

1

Solved

I'm using Meteor's accounts-ui. Is there a way to check if the user is logged in on the template without writing custom helper code? Pseudo code: {{#if userIsLoggedIn }} You're logged in {{/if}}...
Christensen asked 29/4, 2015 at 13:22

5

Solved

I am inserting templates using UI.render() and UI.insert(). When I tried to remove the template I inserted, it seems to stay in memory and the destroyed method is not called. According to the doc...
Lore asked 7/4, 2014 at 8:52

1

Solved

I'm aware of Template.onRendered, however I have the need to destroy and setup some plugins that act on the dom when the actual context is updated. So saying I have content template, I'd need some...
Vookles asked 2/4, 2015 at 17:1

1

Solved

How to pass values to template events Html <template name="Header"> <div class="testClass">Text1</div> // pass a = 1 <div class="testClass">Text2</div> // pass a =...
Worth asked 2/4, 2015 at 11:15

1

Solved

Is it possible to have pass a parameter from my template to a .helpers function parameter? I am trying the code below but I am always getting the error shown below. Thanks Template.documentUpdate....
Tighe asked 2/4, 2015 at 11:1

1

Solved

For example I have an array: var arr = ['a', 'b'] and want to get only first element in template
Faller asked 20/2, 2015 at 13:38

2

Solved

I have a meteor template rendering some html that I need to perform a jquery function on. Right now, I've set up a dependency so that every time the data (a list of objects) tied to that template c...
Haste asked 19/2, 2015 at 19:35

2

Solved

What is the best way to get and select values from a dropdown list (and also in radio) in Meteor. I have created a helper: Template.categories.helpers({ categories: ["facebook", "news", "tv", "...
Sherrisherrie asked 15/2, 2015 at 17:7

2

Solved

Is there a way to shorten {{#if arg1}} {{#if arg2}} //stuff {{/if}} {{/if}} to just a single if? {{#if arg1 arg2}} {{#if arg1 && arg2}} Both of the above don't seem to work.
Worden asked 4/11, 2014 at 21:17

2

Solved

I've a few code that I want to run only when there's noUser and a few when there's a currentUser. All these are inside the navigation template. Like so... {{#if currentUser}} <li class="nav...
Heathcote asked 26/10, 2014 at 17:2

2

Solved

I have an array of usernames that I am rendering in a list like so: {{#each contacts}} <div class="name">{{this}}</div> {{/each}} This works just fine, but then I try to get the user...
Vizard asked 1/10, 2014 at 18:3

1

Solved

I have one general {{>yield}} for iron-router in a layout file which renders my pages, which are templates. In one of my pages, I have a side menu and according to the selection in this menu, I w...
Mcgruter asked 27/8, 2014 at 11:54

1

I am trying to get the meteor leaderboard app to run on Node-Webkit. I have demeteorized it and compressed it to a .nw file but when I drop it in. I get errors: Invalid Package There is no 'pack...
Keverne asked 22/8, 2014 at 6:52

2

Solved

In particular, I'd like to add <meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1, minimum-scale=1"> and when I insert it into the head ...
Reticulation asked 24/6, 2014 at 18:53

1

Solved

My question is how to get 1 event or rendered callback when a group of elements are updated in the DOM? If I follow the link in the Blaze wiki https://github.com/avital/meteor-ui-new-rendered-callb...
Toplevel asked 1/4, 2014 at 15:6

© 2022 - 2024 — McMap. All rights reserved.