243 questions
0
votes
0
answers
61
views
Issues while trying to replace iron:router with FlowRouter (used the meteor package ostrio:flow-router-extra)
Since I want to upgrade my meteor application from meteor 2.16 to 3.0.4, I am replacing the iron:router with ostrio:flow-router-extra. But I dont see the templates rendering properly with flow:router. ...
0
votes
1
answer
26
views
How to render to not found templte in meteor js if the requested path is not there
I have a meteor website
I want to render to the not found template if user enters the url which is not the part of my website or I have not configured.
I have used flow router for the routing process.
...
-1
votes
1
answer
2k
views
Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null. But app still renders
Hi im fairly new to Meteor and react and am working on a customer portal. I have adapted the meteor react tutorial to work how i need it to work and am using Flow Router for routing. Everything ...
0
votes
1
answer
101
views
Can't mount react component in react template with flowrouter
I.m trying to change react component with meteor flow router, the route is correctly created but I can't change the component, the console log is displayed correctly but the component is not changed. ...
0
votes
0
answers
54
views
FlowRouter not redirecting calling its action in onLogout
On the client side, when I implement Accounts.onLogout I say that it should redirect to the root directory using FlowRouter.go('root'); and also tried with FlowRouter.go('/');. However it seems that ...
0
votes
1
answer
101
views
Javascript function only starts when page is reloaded manually
I have a function that works as it should, but only if the page is reloaded after landing on the specific page.
The function is a timer function that starts to tic down from 10 to 0 when the page ...
0
votes
0
answers
172
views
Redirect user to the previous route after a successful login - Flow-Router
Using Meteor and FlowRouter for my website, I'm trying to get the following result.
A user receive a mail containing a link to a specific page of our website.
if the user is already logged on the ...
0
votes
1
answer
170
views
How to use FlowRouter to parse any given url?
I want to parse an iframe URL using FlowRouter.getQueryparams() instead of using window.location.href.split(). I have tried looking into documents, but all it talks about is passing parameters and in-...
0
votes
1
answer
21
views
Exchange from FlowRouter to IronRouter
I have a little problem. Need help to exchange code fragment from FlowRouter to IronRouter.
Fragment to exchange:
FlowRouter.getParam("appId");
I need this to take a id from this url make my project ...
4
votes
1
answer
148
views
Template won't be rendered in Meteor FlowRouter
I need your help to figure out what's wrong with my code.
I have a HomeLayout devided to 3 sections;
header
side
main
I have a conversation list ; it will be rendered in the main section and it ...
0
votes
0
answers
101
views
Mongo Document.find({}) returning undefined in router.js (using Meteor with React, FlowRouter and React-Mounter)
I'm building a blog as a personal project, and currently I'm trying to set up RESTful routes, more or less. Specifically, I am trying to render a full Blog in a new route (after a user clicks on it in ...
1
vote
1
answer
106
views
Meteor links based on reactive var not working
I try to create some links which adapt to the current url, so when my current url is "object/layout1....", my link should also be like that and when the url is like "object/layout2", it should be "...
0
votes
1
answer
32
views
Meteor, define "standard route" for each user
I'm currently working on some kind of todo app. I can easily navigate to any list by accessing the id parameter in the url and then pass this to flowrouter, no problem. But now I want a default list ...
1
vote
0
answers
182
views
PixiJS on Meteor with router
I am working on a project using Meteor with Pixi.js,
and I'm facing a very strange problem when I try to use a router
(I tried both IronRouter and FlowRouter), and a pixi canvas.
The canvas is built,...
0
votes
0
answers
73
views
Routes not working correctly in Internet Explorer
I'm using a flowrouter for routing(with blaze layout), when route didn't contain a variable, then it's work fine in Internet Explorer, but when I've trying to go to routes with variables then ...
0
votes
1
answer
79
views
Accounts.onLogin throws session not found error
The LoggedInUser works well as it is suppose but whenever the app starts and the URL is queried like trying to login or navigate to any other URL, the Accounts.onLogin throws the below error. I don't ...
0
votes
0
answers
135
views
Pass data between Meteor pages
I have a Meteor application which is a POS system. Once a transaction has been completed a receipt is populated on screen, giving the user the option to print. As the receipt is an entire page in ...
1
vote
1
answer
291
views
Fast-render not working with Flow-router
I'm trying to add fast-rendering into my current app, which uses flow-router.
I've imported the router.js in both client as well as server, and added the subscriptions() function to my route ...
1
vote
2
answers
369
views
Flowrouter - have to reload whole page for route to be recognised
Quite basic setup - user submits a post, it's inserted by a method, then user should be routed to a confirm page with the _id of the newly created post:
const onSubmitPost = (post) => {
...
1
vote
0
answers
182
views
Impersonate a user in a new tab in Meteor
I have one big application, with an admin side and a end-user side. I've had the ability for the admins to impersonate a user within the same broswer/tab for a long time now.
I'd now like to ...
0
votes
1
answer
151
views
Meteor - React - FlowRouter how to redirect correctly based on device (PC or mobile)
I'm using Meteor, React and FlowRouter for my project, which will display differently based on PC or mobile.
Currently, my Router.js looks something like:
FlowRouter.route("/login", {
name: "login"...
0
votes
3
answers
759
views
Call not audible via flowroute with asterisk
I have configured asterisk with flowroute. The registration is successful and outbound call connects but i am unable to hear any sound. My configurations are as follow
sip.conf
[general]
register =&...
0
votes
1
answer
105
views
need to display Loader Div on before pagerender in meteor/blaze/Flowrouter
i have started using meteor/blaze/FlowRouter recently and stuck on one issue
i need to display my custom loader div which will be shown whenever page template is in transition mode like loading ...
0
votes
1
answer
53
views
Meteor exception in template handler
This problem resembles the one found here, specifically, my Meteor application does what it's supposed to but dumps an ugly error into the console along these lines:
[Log] Exception in template ...
1
vote
1
answer
243
views
Flowrouter Subscriptions
This is how my flowrouter looks like,
I tried all three options shown below: but unable to subscribe
import {CompanySettings} from '../imports/api/companysettingsMaster.js';
// And imported the api ...