User Feedback Archive : April 2017

Posted by Michele
2017-04-29

Hello Tom, sorry but in what file I must enter the code:

<?php if ( $sys->IsAdmin() ) {
//code to hide from non-admin
} ?>

Thanks for your info.
Posted by Tom
2017-04-30

It all depends on what you would like to modify. You most likely use it in templates or backend code files. For example, if you want to hide some buttons from non-admins, then use it in ... Read More
Posted by Michele
2017-04-28

Thank you Tom for your info. Now I'm wondering if it's possible to limit add/ delete only to administrator. Staff can only see and do research. Thank you
Posted by Tom
2017-04-29

You can make code effective only to admins by enclosing the code with if ( $sys->IsAdmin() ) { like this
<?php if ( $sys->IsAdmin() ) {
//code to hide from non-admin
} ?>
If you want to show it to ... Read More
Posted by Jason Dion
2017-04-25

Hi, I understand that you can specify the code that you want to disable in the templates. Can you tell me specificaly what code I would disable to turn off editing, deleting and adding new entries? ... Read More
Posted by Tom
2017-04-26

First off, open web/staff/app/cls_ps_(table-name).inc.php
To disable editing records, find the line
case 'edit_init':
and add "return;" to the end like
case 'edit_init': return;
Do the ... Read More
Posted by Michele
2017-04-24

Hi Tom, how can i insert a date field eg. dd / mm / yy. Thank you
Posted by Tom
2017-04-26

If you mean you want to change the output foramt of a date fileld, you can do so by editing web/staff/codelib/df.fl.(table-name).inc.php. Open the file and find the date field you want the change the ... Read More
Posted by Arun
2017-04-20

After setup in web/install, when we try to access web/staff it shows unable to display pages
Posted by Tom
2017-04-20

Hi Arun,

It is likely that the problem resides outside of the script. If this is the first time you install any php script, chances are the website is not configured properly. You should install ... Read More
Posted by Aryan!
2017-04-19

Hello again
thanks for the reply, you are amazing!

**excuse me. I can't speak English well.

I have two questions:
1. How can display the user's date of create in the Search Results table?
2. How do ... Read More
Posted by Tom
2017-04-20

Hi,

>How can display the user's date of create in the Search Results table?

Please read the article below:
Adding a Field to Search Results table ... Read More
Posted by luyanda
2017-04-18

hi when i fill the form on a mobile phone i get an error saying "this form has already been submitted"
Posted by Tom
2017-04-19

> i get an error saying "this form has already been submitted"
I think cookies are disabled in your browser. It happens whether it's mobile or desktop if cookies are not available.
Posted by aryan
2017-04-18

Hi Tom!
The script is excellent.
How do I store dropdown list values in the table . I do not want to store the keys in the table.
Posted by Tom
2017-04-19

Hi, if you remove a key then it will use the value as a key. Open web/config/config.selection.inc.php. You will find something like
... Read More
Posted by Michael
2017-04-06

Hi Tom. I have been using your software for almost three years now. I'm totally happy with it. However the machine that i was running on crashed and i had to take my original re-programming and ... Read More
Posted by Tom
2017-04-07

Hi, You generally experience error 501 when the recipient email address has incorrect format. Try other recipients email address and see if it works.