Quantcast
Channel: ASPRunner forums
Viewing all 2520 articles
Browse latest View live

Beginner Questions

$
0
0
New user here.

Could someone please give links to instructions on

1)Getting an icon working with a project - ie so it appears in the browser tab in IE / Chrome etc..

2)Creating background pictures behind the sign in box

Many thanks (just getting started but loving it so far)

[SOLVED] Bootstap or non-Boostrap pros and cons?

$
0
0
I would like to know the pros and cons of using Bootstrap or non-Bootstrap, in your experience. Is there a compelling reason(s) to use one over the other?
Thank you
John

phprunner 9.6 project on AWS with PHP7

$
0
0
Hi all ,

Just uploaded my project on a php7 EC2 Amazon instance.
when I try to open the login webpage I get the code uninterpreted as shown below.

version = 3; $layout->bootstrapTheme = "united"; $layout->customCssPageName = "_login"; $layout->blocks["top"] = array(); $layout->containers["page"] = array(); $layout->container_properties["page"] = array( ); $layout->containers["page"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"page_1" ); $layout->containers["page_1"] = array(); $layout->container_properties["page_1"] = array( ); $layout->containers["page_1"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"panel" ); $layout->containers["panel"] = array(); $layout->container_properties["panel"] = array( ); $layout->containers["panel"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"header" ); $layout->containers["header"] = array(); $layout->container_properties["header"] = array( ); $layout->containers["header"][] = array("name"=>"loginheader", "block"=>"loginheader", "substyle"=>1 ); $layout->skins["header"] = ""; $layout->containers["panel"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"body" ); $layout->containers["body"] = array(); $layout->container_properties["body"] = array( ); $layout->containers["body"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"header_1" ); $layout->containers["header_1"] = array(); $layout->container_properties["header_1"] = array( ); $layout->containers["header_1"][] = array("name"=>"message", "block"=>"message_block", "substyle"=>1 ); $layout->skins["header_1"] = ""; $layout->containers["body"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"fields" ); $layout->containers["fields"] = array(); $layout->container_properties["fields"] = array( ); $layout->containers["fields"][] = array("name"=>"loginfields", "block"=>"", "substyle"=>1 ); $layout->skins["fields"] = ""; $layout->containers["body"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"header_2" ); $layout->containers["header_2"] = array(); $layout->container_properties["header_2"] = array( ); $layout->containers["header_2"][] = array("name"=>"loginbuttons", "block"=>"loginbuttons", "substyle"=>1 ); $layout->skins["header_2"] = ""; $layout->skins["body"] = ""; $layout->skins["panel"] = ""; $layout->containers["page_1"][] = array("name"=>"wrapper", "block"=>"", "substyle"=>1 , "container"=>"register" ); $layout->containers["register"] = array(); $layout->container_properties["register"] = array( ); $layout->containers["register"][] = array("name"=>"bsloginregister", "block"=>"", "substyle"=>1 ); $layout->skins["register"] = ""; $layout->skins["page_1"] = ""; $layout->skins["page"] = ""; $layout->blocks["top"][] = "page"; $page_layouts["login"] = $layout; $xt = new Xtempl(); $id = postvalue("id"); $id = $id ? $id : 1; //an array of LoginPage constructor's params $params = array(); $params["id"] = $id; $params["xt"] = &$xt; $params["pageType"] = PAGE_LOGIN; $params["tName"]= NOT_TABLE_BASED_TNAME; $params["templatefile"] = "login.htm"; $params["needSearchClauseObj"] = false; $params["captchaValue"] = postvalue("value_captcha_" . $id); $params["notRedirect"] = postvalue("notRedirect"); $params["rememberPassword"] = postvalue("remember_password"); $params["mode"] = LoginPage::readLoginModeFromRequest(); $params["action"] = LoginPage::readActionFromRequest(); $params["message"] = postvalue("message"); $params["var_pUsername"] = postvalue("username"); $params["var_pPassword"] = postvalue("password"); $params["var_return"] = postvalue("return"); $pageObject = new LoginPage( $params ); $pageObject->init(); $pageObject->process(); ?>

I checked that PHP works by executing the phpinfo(); command through a test php file and it works fine.

Any Ideas why this might be happening?

Report Page not showing results

$
0
0
It shows there are 3 records but does not display them.
If I do a PDF or print view I can see the records.

Am I missing a weird setting or something?

Thanks,

- Sandy

How to add other glyphicon on bootstrap layout

$
0
0
As the title above, how do I add another glyphicon on bootstrap layout?

I've been looking for these tutorials in the forum, but did not find a way.

Thank you.

Wordpress-Phprunner

$
0
0
With the guide here on Wordpress-Phprunner integration(http://www.asprunner.com/forums/topic/23196-wordpress-4-x-and-phprunner-8-x/), I was able to succesfully achieve...

My another problem now that I need help from the community is that is how to make a Dynamic permissions on user group and other custom group?

thanks... :)

Using Wordpress 4.7.2 and Phprunner 9.6

Gmail Single Sign-on?

$
0
0
Is it possible to have a single sign-on with gmail/google with phprunner?

Access attachment image does not show on list page

$
0
0
I have Access database with an attachment field that stores images. (Field1 is the name)

When I choose Field Properties, View As Image, click OK, then build and view on my machine, I get "no_image.gif"
The image is resident in the database, I checked that.
Sergey explained to me how to show image on a remote server, but in this case the image is in the database. What am I doing wrong?

Thank you. John

Posted Image

Save Import Map

$
0
0
I can't find in the Help or in my generated application, any way to save the Import Mapping for incoming data.

Is it possible? How?

Thanks.

[SOLVED] Active Directory - ASPR.net not adding admins to users table

$
0
0
I'm probably doing something wrong as this is the first time I've attempted to use AD security in an ASPR.net application. Here's what I've done and what is happening:
  • I selected Active Directory on the Security module and put in the Domain and Server info
  • Under Permissions, I checked Use Dynamic Permissions and let ASPR.net create the security tables
  • I clicked "Add Admin User", found my AD user account, and clicked to add it to the Project Administrators list box, and clicked "OK"
  • I checked Login automatically and supplied a domain account for accessing AD
  • Built and ran the app

The first thing I notice is that it doesn't log me in automatically, but I assume that is because it is running on IIS express locally. (I assume that will work when I upload it to the server with anonymous access disabled.) So I get the ASPR.net generated login page, on which I enter my domain credentials, and am successfully authenticated. I know it recognizes my account because I see my full name in the user info area. So far so good. However, I am unable to access anything within my app -- the menu is empty and there is no Admin area from which to manage permissions.

When I look at the security tables that ASPR.net created in the database, they are empty. I would have thought it would have created an admin group and added my login to the _ugmembers table, etc. But all three tables are empty.

Did I miss a step?

how do YOU use dynamic permissions so users can edit username?

$
0
0
I'm creating a product for a client where 2,500 clients will login and update their info.

I like using dynamic permissions because it gives me the ability to setup additional levels of access without rebuilding code.

I will set the initial username/password for these 2,500 users and then let them "retrieve password" so they can gain access to the system.

FIRST QUESTION
When dealing with a large group do you prefer to set usernames to something like firstname.lastname or first initial + lastname? This has the possibility of users having duplicate usernames...
or do you go with their email address as the username since it will be unique.

SECOND QUESTION
How do you handle a user who wants to change username - what if you go with email address and then they change their email address. By changing their username they are going to break the user assigned to groups in dynamic permissions since it uses the username to link.

I think the answer to #2 is to set all the permissions for these users as DEFAULT permissions - since I'm pretty sure those users do not have an assignment to group and them changing their username would not break the system?

Auto login from one application to calendar application

$
0
0
Hello,

Does anyone know if there is an easy way to auto login from one application to another? let's say the user logs in in main application, I added another application with just the calendar template I want to have a link from the main application point to the calendar app. But i would like to use the same sessions from main application, so that the user won't have to log in again in the calendar app.

Thank you

How do you design multirow process?

$
0
0
Peace be upon you, fellow scripter.

My table has a counterpart, a void table, which has exact structure,
but only filled by moving un-needed rows from original, whenever its no longer needed.

So, what i wish to do is:
1) replace the menu item 'Delete' with 'Void'
2) replace the deletion subroutines with my routines, which basically move the selected rows from original table into void table

Documentation only explain how to do (1), but not (2).

So, any thoughts will be greatly appreciated.
Thanks.

autifill with Edit box with AJAX popup

$
0
0
PHPRunner 9.6 build 27826 x64

I have table1 with lookup on table2 (Edit box with AJAX popup): in add page when i confirm the link field I see for few seconds the autofill fields with new values, but then the fields are cleared. In edit page all works fine, when i confirm the link file all autofill fields are properly valued.

If in lookup wizard i use Dropdown box it works fine in add page too !!!
Is it a little bug ?

thanks
Fabio

[SOLVED] Popup message boxes

$
0
0
i have a form which allows me to create a new client record and saves fine, when the record saves i have added some php in the 'after record added' event as follows

echo "Reference number allocated is: ".$values['Reference'];

this works fine but just doesn't look the part as the text just shows at the top of the page and is a bit unsightly, i would like this as a popup box so that the person saving the record actually sees the reference number allocated once the record is saved.

i tried adding a script popup but cannot seem to get it to show a variable...

echo "<script>alert('I\'m a popup window')</script>"; (this works fine)

i changed to echo "<script>alert('New record added: "+$values['Reference']+"')</script>"; but it doesn't work

Is there any way i can make this happen?

Store all detail records in another table

$
0
0
Hello,
a newbie needs help on (probably) basic issue:
I have three tables (here an example):

Table_Order (Master)
-id
-Request_Nr (link field)
-Agent
-Status

Table_Hardware (Detail)
-hw_id
-Request_Nr (link field)
-Typ
-Serial

Table_Tracking
-id
-Request_Nr
-Agent
-Status
-hw_id

In the detail table are usually 3 or more records per master record that needs to be stored in the Tracking table after each update. With this code in Edit page - After record updated:

$sql = "INSERT INTO Table_Tracking (Request_Nr, Agent, Status, hw_id) values ('$values[Request_Nr]', '$values[Agent]', '$values[Status]', '$values[hw_id]')";
CustomQuery($sql);


only first record from detail table will be stored into Table_Tracking (of course without hw_id).

Now, I have two questions:
1. how can I get all detail records of the master record into the Table_Tracking?
2. is there any other way to get (and store into tracking) hw_id value of each detail record without using "joined tables"? Because if I use LEFT OUTER JOIN (Table_Order.Request_Nr = Table_Hardware.Request_Nr) I get listed same number of master rows on the list page as detail records exist.

Thanks in advance to the experts.

Grid Font-size has not changed on Yeti Bootstrap layout

Focus on detail table lsot

$
0
0
Hello everyone
I am new here, I have 2 tables order as master table and order details as detail table
in Add page for the master the details table is shown as inline add but i found I loose the focus on the first row of the detail table I mean i can not see the cursor (focus) and i have to put mouse curse one the filed and click on left button and stay clicking on it while entering data otherwise the focus disappear i found also that when i click on Enter the line ( row) disappear like if the focus is on detail table is set to cancel button
this happen only with first row , for the the second and third ... there is no problem , I added some events in both table to calculate quantity and subtotal.

Subversion folder

$
0
0
Hello All
In root folder of projects there's a directory called "subversion", with some sqlite files inside.

Is it only this folder that I need to "protect" via SVN?

Many thanks in advance

Menu based on master record

$
0
0
Hi all

I have a question that I can't seem to find the answer for on the forum but theoretically seems possible.

I have a master table (clients) and around 20 child tables (eg: assessment, progress_notes, questionnaire, diary etc). I would like to be able to call the master table record as a variable, so that the vertical menu items link directly to the child records for the selected record.

eg:

CLIENT (id no, name)
-- assessment link
-- progress notes link
-- diary link
-- questionnaire link

I know I can do this in the list view, but with so many child tables its is slow to load them all when the details button is clicked and I don't like the appearance.

I have made a work around: a custom view of the master table from search with a custom button "open records": --> search for client -> click button -> dashboard view for specific client. This works nicely but it can be slow to load so many child tables on the dashboard and makes for a very big screen. My final solution was to add detail tables in the tabs of the view page - but it is not possible to view details by clicking, or to add/edit if it is not inline.

Is there a way to either:
a) create a vertical menu of child tables based on the master table, or
B) add a menu system to dashboard?

Thanks

Terry
Viewing all 2520 articles
Browse latest View live