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

Bootstrap Theme selector

$
0
0
Hello,

I was curious if anyone has implemented something like this. I would like to allow users to select there own bootstrap theme. The setting could then be stored in the database. I found a this link that is close to what I want but it does not store settings in database.

Can anyone help on this? Or is Phprunner bringing a setting like this?

Thanks,

Billy

Reuse / download theme + color

$
0
0
Hi,

I modified a theme and a color for our project, it looks cool ;). My question is how i can reuse it for another prj ?
Also, it takes a bit time to modified a theme and color, do u have more theme and color to download .... ?

Posted Image

Back to list button does nothing in edit

$
0
0
In a project migrated from previous version, now in 9.6, button "Back to list" (in every edit page) does nothing when pressed. The same in view pages.
Button "register" on register page does not function, but button back to login functions!!
It only happens in one of my projects, the rest goes ok.
Any idea?

Email to original poster from 'View' page

$
0
0
New User building my first post-demo project.

On the Classified template with Sergy's help I was able to email the original record poster by replacing the original code

$email = $values["Email"];

with

$email=DBLookup("select email from clusers where username='".$_SESSION["userinfo"]."'");

which enabled either a guest or logged in user to send an email without knowing the original posters email address as it was a database lookup.

I have based my new project on the 'Events' template and have created a similar table to contain the required 'message' fields and added the above code and edited the 'before record added events' as per the 'Classified' template.

It doesn't work, I've spent all day trying and dont really know what to try or where to look next.

I 'just' need to be able to have guests and users to email the original listing without his email address being displayed to guests or users

Hope this makes sense, thanks

Need a clear explanation about table events

$
0
0
Perhaps this is a silly question but honest to god i never use the following events in phprunner. I read the phprunner manual but found no clear explanation about the following events:

- Copy page onload in add page event
What exactly is Copy Page ? Is it mean a Custom View?

There are also some events in list page:
Get Row Count
Custom Query
Fetch Record

Anyone can explain these events in real world scenario? Thanks.

Set the focus in edit

$
0
0
Hello everyone,
when I stay on "Edit" in a board with multiple "tabs" (like for example tab1, tab2, tab3), if I'm working on tab2, I remain in the same tab even after save .

Now PHPrunner8.1, on the contrary, when I save the card I always return to the focus tab1

Can anyone suggest me the javascript code?

PHPRunner 10

$
0
0
Has there been any discussion of what PHPRunner 10 will bring?

I am particularly interested in responsive dashboards.

Lookup WHERE:

$
0
0
I am trying to lookup a table and filter on the following:

(com_type = 'Vendor' AND global=1) or (com_type = 'Vendor' AND propertyid = " . $_SESSION[$strTableName."_masterkey1"])

I want to display company names where the com_type = "Vendor" and are either global or specific to the property.

I am able to filter the com_type and global successfully:

  • "((global = '1') and (com_type ='Vendor'))"


I am unable to filter the propertyid and com_type
  • "((com_type = 'Vendor') and (propertyid = " . $_SESSION[$strTableName."_masterkey1"]))"
  • "(( propertyid = " . $_SESSION[$strTableName."_masterkey1"]) and (com_type = 'Vendor'))"


And when I try to put it together I receive "syntax error, unexpected ')' in line 1"

"((global = '1') and (com_type ='Vendor'))" or "((propertyid = " . @$_SESSION[$strTableName."_masterkey1"]) and (com_type = 'Vendor'))"

I can not find my error, any help is very much appreciated.

Thanks,

- Sandy

Show calculated fields on chart page

$
0
0
Hi all,

I'm currently working on a project where I display a chart generated by a search query (which works fine) and below the chart I would like to display some additional fields which I've modified my SQL Query to produce - e.g. avg, top_quartile , minimum.

Can anyone give me an example how to display these fields in the area below the chart? I've tried snippets and "View as custom" with no success :( :( .

Any help would be greatly appreciated!

Need Programming Assistance

$
0
0
Hello Folks,

I have been a avid PHPRunner user for many years and it's an awesome program and Sergey and his team have been awesome as well.

I have an existing database and I am not at the point where we need to have a Point of Sale/Cash Register within the program.

Does anyone out there have any experience in programming such a program within PHPRunner within a current database?

[SOLVED] Copy files error in the Calendar Template

$
0
0
See the screenshot

Solved: I am advised that changing the output folder fixes it, and we are moving on.

PDF Report

$
0
0
Hi!

I want to create a PDF report of one parent table including its child table in one report.
See screenshot below. I tried it doing it in the editor with freeform mode but it breaks and it doesnt work.
Admittedly, my PHP skills not that sharp. Appreciate, a guide or example that will show how its being done.

Thank you all in advance

Best regards,
Pele



Screenshot of the parent-child table
http://imgur.com/a/6Xpwa

Screenshot of the expected PDF Report Format
http://imgur.com/a/mZljp

Upgrading Project

$
0
0
Hi All,
For the past couple of months I have been developing a project using PHPRunner ver 8.1 and now with the advent of PHPRunner ver9.7 being available my question is how do I upgrade the existing project to be run using the functionality of PHPRunner 9.7.
Is it just a case of building it with the new version or is there further steps that need to be taken.
Any Help will be appreciated
Best Regards,
Peterp

Display records that belong to the user

$
0
0
Hi,

In phpRunner, I am trying to show only records that belong to the user based on the dept column when the user login.

I have user_login table with following columns:
eg.
staff_id = A1
dept = deptA,deptB,deptC

I have record table with the following columns:
eg.
record_id = 100
dept = deptA,deptB


In "After Successful login", i have the following code which capture user's dept.
$_SESSION["dept"]=$data['dept'];


In "After table initialized", I used the following code.
$login=explode(",",$_SESSION["dept"]);
$query->addWhere("dept like '". %$login[1]% ."'");


And I received the following error:

Quote

Parse error: syntax error, unexpected '%'



Can someone kindly help how to display the record if the record dept did contain $login[1]?

Thanks.

Unable to display chart in web

$
0
0
Hi,

I am trying to create a chart in PHPRunner but there is no tab of the chart when viewing in the web.

I think the process is simply by using the following:
1. Under "Tables" mode, right click "Charts" and select "Create new chart", then select the respective tables.
2. Under "Chart" mode, select the type of chart.
3. Under "Series" mode, input data series and label.


I can see the chart tab under "Style" and "Editor" mode. But when viewing in web, I cannot see the chart tab. Is there something I missing here?

Login button does not work

$
0
0
Hello,

I just upgraded from PHPRunner 6.2 to 9.6.
I adjusted everything what was needed to fullfil that upgrade, uploaded the version after fresh generation on the WebServer in a test folder and everything worked.
Afterwards I uploaded that in the main productive folder for go-live.
But at this point of time after entering user and password, the login button wont work anymore. Nothing happen if I hit the button.
I reseted already everything to standard, but still not working.
User and password are saved in a user table.
Does anyone have an idea where else I could search?

Any tip is really appreciated.
Thanks Chris

Mobile Template

$
0
0
I want to buy Mobile Template but want to know first if I can use it on existing projects.
Or do I have to build them all over again?

These are build in 8.1

Thanks

John

Security settings for user groups

$
0
0
Hi to all,

thinking on how to solve the following Scenarios:

1. There is one database and several potential customers should have their demo account each. How about tables/fields for settings and value lists? If I set the permissions to "everybody sees and can edit any data" the demo users a) can change my default values and b ) their values vice/versa. If I set the permissions to "see and edit only my data" they don´t get any default values from me and things like US state names have to be added for every user manually. How can I solve this? The demo users should see some common values predefined AND be able to change and add their data without deleting other people´s and the default values.

2. If I have several customers in ONE database and each customer has several users in one group - how can I manage that all people in one group see the group´s data, but not the data of other groups. If I set permissions to "see and edit their own data only" they won´t see the data of their collegues either. If I set permissions to "see and edit all data", they could see and edit the data of other customers too. Is there a permission setting like "see and edit only data of my GROUP" missing or do I get something wrong?

Thanks for any tips.

Customized Report

$
0
0
I want to create a report based a specific format (See second screenshot). Was thinking of using the free form feature in the editor but its disabled in the printer friendly page. My PHP skills is not sharp, appreciate any guidance and examples hows it done.


Screenshot of Original Report
Original Report

Screenshot of Preferred Report Format
Format of a Preferred Report

Best regards,
Pele

display button when either of 2 elements change

$
0
0
Hello,

I am trying to show a button when either one of two inputs are changed using jquery. I have accomplished this outside PHPRUNNER but when I put the code in the javascript onload event it does not work. here is an example of the code




/// this would be possible like this 
$("#input1, #input2").change(function(){


////I have tried several options 
1. $(tm_date.getDispElem().attr("id"),client.getDispElem().attr("id").change(function(){

var ids = '"#'+tm_date.getDispElem().attr("id")+', #'+client.getDispElem().attr("id")+'"';

2. $(ids).change(function(){

3.
$(tm_date.getDispElem(),client.getDispElem()).change(function(){
        
			if(tm_date.getValue() != '' && client.getValue() != ''){
					var url = '<a class="rnr-button" onclick="PopUp(\'check_hours.php?d='+tm_date.getValue()+'&id='+client.getValue()+'\',\'800\',\'650\',\'\',\'Hours Check\')" href="#">Hours Summary</a>';
					$("#check_hours").append("<span>"+url+"</span>");
			}else{
					$("#check_hours span:last").remove();
			}
			

});
Viewing all 2520 articles
Browse latest View live