I'm seeing strange behavior when trying to add pdf file generation.  The following code, on the if statement, throws: both\routes.js  Router.onBeforeAction(function () {   if (!Meteor.user() || Meteor.loggingIn()) {     this.redirect('welcome...
In my Meteor app I have some complex page animations that require a few seconds to complete (instructive animations take priority over page transition speed).   There's an out state and an in state in the animation. For simplicity's sake, let...
One of the challenges of using a framework that is newish and under development is that the advice you find on the web is often outdated. This applies doubly to Meteor where the SO answers and web articles are often for a pre 1.0.x or an early 1.0.x...
i am trying to show the user a payment popup as soon as he clicks on a payed object. But after he pays he should directly enter the content he clicked on.  Therefore i think its a good solution to solve this with the router, because i want every link...
Iam setting up a basic structure of my future meteor app, Iam using meteor and angular. Wanted to combine iron router with ui router but it got pretty bad. So now Iam back on vanilla meteor for routing issue and the task is have standard multipage si...
When I click on user's name, I want the link to go to their profile page. I am using Meteor with iron router. Here are the defined routes:  Router.route('/', { name: 'JobsList'}); //homepage with all users  //this is where the use...
I'm trying to implement a sidebar (leveraging the sidebar from sb-admin-2When I use the side bar as part of main.html, the toggles work perfectly fine. However, when I implement the same via iron:router and set the sidebar to be persistent, the s...
Is there a way to change the path before the page is routed based on some logic, such as a Session variable? For example:  // Before routing Router.onBeforeAction(function () {     if(Session.get('key') === true) {         prependToPath('...
Right now I have two routes in my application. There's the main page route that has a list of Ideas (just text items) and then there's a route for showing and editing Ideas.  My problem is with editing ideas... I'm not sure how to actuall...
I am trying to add a profile page to the microscope app. Thanks to help I got here I was able to get most of it working but I can't get the route to another users profile to work. This is the code for the route. Thanks  in comment.html template...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.