Search found 18 matches

Go to advanced search

by Matthew Pickard
Tue Jul 08, 2014 4:40 pm
Forum: Issues
Topic: Adjust max-width of the "fieldcontain" of in Input Component
Replies: 5
Views: 714
 
Jump to post

Adjust max-width of the "fieldcontain" of in Input Component

Perfect, now just to get it to always be center I tried: Apperyio('userNameInput').parents().find("[data-role=fieldcontain]").css("align","center"); but that is not working. I even tried the simplified version: Appery('userNameInput').css("align","center&...
by Matthew Pickard
Tue Jul 08, 2014 2:10 am
Forum: Issues
Topic: Adjust max-width of the "fieldcontain" of in Input Component
Replies: 5
Views: 714
 
Jump to post

Adjust max-width of the "fieldcontain" of in Input Component

This is the error I get in the console:

"Uncaught Error: Syntax error, unrecognized expression: data-role=fieldcontain"

by Matthew Pickard
Mon Jul 07, 2014 6:01 am
Forum: Issues
Topic: Adjust max-width of the "fieldcontain" of in Input Component
Replies: 5
Views: 714
 
Jump to post

Adjust max-width of the "fieldcontain" of in Input Component

What is the easiest way to adjust max-width of the "fieldcontain" of in Input Component. Ive tried the following in "Run JavaScript" on a page load.: Appery('userNameInput').css("max-width","300px"); but it's not working with the "fieldcontain" just ...
by Matthew Pickard
Mon Jul 07, 2014 3:52 am
Forum: Issues
Topic: get data from user collection
Replies: 21
Views: 5296
 
Jump to post

get data from user collection

This is what happens by default: {"*":{"read":true},"53aceac0e4b07420882b3f10":{"read":true,"write":true}} I have "users" then I have "managers." The users will never have access to the user database because I have not added compo...
by Matthew Pickard
Sat Jul 05, 2014 4:07 am
Forum: Issues
Topic: get data from user collection
Replies: 21
Views: 5296
 
Jump to post

get data from user collection

One more question on this topic. How can I pull a user's information different from the active user? I have the service with "{database_url}/users/{_id}" as the URL, I tried "{database_url}/users/{username}" and that didn't seem to work.

by Matthew Pickard
Mon Jun 30, 2014 5:15 am
Forum: Issues
Topic: Login navigation to separate pages.
Replies: 3
Views: 812
 
Jump to post

Login navigation to separate pages.

This is the final code and it works like a charm!! if(localStorage.getItem('currentPerm') == "mngr"){Apperyio.navigateTo("ManagerPage");} else{ if(localStorage.getItem('currentPerm') == "admin"){Apperyio.navigateTo("AdminPage");} else{ {Apperyio.navigateTo(&qu...
by Matthew Pickard
Mon Jun 30, 2014 4:51 am
Forum: Issues
Topic: Login navigation to separate pages.
Replies: 3
Views: 812
 
Jump to post

Login navigation to separate pages.

Awesome, I was hoping there was an "Apperyio" I could use. I was looking into something along the lines of: $("#nav").keydown(function (e) { if (e.keyCode !== 13) { // 13 = Enter return; } switch ($(this).val()) { case "admin": location.href = "admin.html"; br...
by Matthew Pickard
Mon Jun 30, 2014 4:26 am
Forum: Issues
Topic: Login navigation to separate pages.
Replies: 3
Views: 812
 
Jump to post

Login navigation to separate pages.

Is there a simple way to have a user navigated to a certain page based of certain criteria? (ie: a basic user ends up on the "User Page" and a manager will end up on the "Manager Page".) So far, I have the login information stored locally, so I am hoping to just use a simple scri...
by Matthew Pickard
Mon Jun 30, 2014 4:23 am
Forum: Issues
Topic: Query Vs Get/Local storage
Replies: 4
Views: 658
 
Jump to post

Query Vs Get/Local storage

Thank you.

by Matthew Pickard
Mon Jun 30, 2014 3:05 am
Forum: Issues
Topic: Query Vs Get/Local storage
Replies: 4
Views: 658
 
Jump to post

Query Vs Get/Local storage

And to make it show again would be:

Apperyio("component_name").show();

Is that correct?

Go to advanced search