1
Show Posts
This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.
Messages - Ross T.
2
General Discussion / Re: Upload image with camera device
3
General Discussion / Show/Hide Menu items conditionally.
I've three User Roles in my application and I want to hide certain Menu items based on the role of current logged in User. In order to achieve this, I've two How-To questions...
- How to get the Role of currently logged-in user?
- How to hide/show menu items dynamically?
I'm trying it in PHPRad Classic (Laravel + Bootstrap) v5.1.4 of Radsystems.
Awaiting your valuable reply...
Thanks!
R.
4
Questions / Re: (ASK)make accounting applications
Suppose you're developing HR application and you've following Account Types...
Office Head
-- Office Manager 1
---- Employee 1.1
---- Employee 1.2
---- Employee 1.3
--Office Manager 2
---- Employee 2.1
---- Employee 2.2
---- Employee 2.3
Now, the current User Role based listing of Records in PHPRad will allow you to show records per User. So, Employee 1.1 will see only his records, Employee 2.2 will see only his records. Similarly, Office Manager 1 will see only his records, Office Manager 2 will see only his records; and here is the problem.
In most cases, client will demand to have Office Manager 1 to have access to all records generated by the Users "under" him. Here, although the records belong to Employee 1.1, those records should be visible to Office Manager 1 since Employee 1.1 is under Office Manager 1. However, the records of Employee 2.1 should not be visible to Office Manager 1 because Employee 2.1 is NOT under Office Manager 1.
Current Authentication scheme of PHPRad does not allow us to set the penetration of Authentication; and this can pose a serious issues later while dealing with real life applications.
@Emman Correct me if the above mentioned scenario is possible with PHPRad...
5
Questions / Re: (ASK)make accounting applications
I just used a trial from Phprad, what I want to ask is whether phprad can be used to make accounting applications?
Like corporate financial management?
Is there a tutorial?
I am not sure if PHPRad is flexible enough to make such applications. You will need to have some areas for code customization. PHPRad is not an Event Driven environment where you can grab an event and then write certain code to make customize the default behavior of the generated scripts.
Give a thought before you commit yourself to PHPRad; have some test projects covering the functionalities which you will need your application before you finalize.
6
Questions / Re: how can i see entire query ?
I did this
$records = $db->get($tablename, $limit, $fields);
echo $db->getLastQuery();
But doesnt show anything for me besides the standard error.
try to add Try Catch and add echo $db->getLastQuery in Catch. The error in $records line is not allowing the code to move on to the next line.
try {
$records = $db->get($tablename, $limit, $fields);
}
catch(\Exception $e) {
echo $db->getLastQuery();
}
7
Video Tutorials / Re: I need a good tutorial
I can help you out with that, just started a youtube channel for that, but no uploads yet but I will be uploading in a few, you can reach me via jaymoorestah@gmail.com
Please share your YouTube Channel link. Have you made some videos? I also can contribute to your channel.
8
Suggestions / Better field lookup for Master - Detail (List Page)
I wish the JOIN interface allows me to select the field I want there itself or allows me to edit the SQL statement so only the required fields are selected from master table.
See the screenshot below for illustration of what I mean to say here...
9
General Discussion / Re: PHPRAD still exist or dying ?
10
General Discussion / Re: Custom Item
For example, there is a Sales table with Item ID. The Item Names are in another table. So, how to show the Item Name in Sales table instead of Item ID which is the value of the field in table?
11
General Discussion / Re: how to create blog comments
Inner Join on Article ID between Blog Article and Blog Comments with one to many relation. You may then use Page Parts to show the comments for a Article, tied over :id.
I hope this helps.
12
General Discussion / Re: PHPRAD still exist or dying ?
Maybe you should put the announcement up for 2.5.7, and a date so that people will know the timing of the last release.
13
General Discussion / Re: PHPRAD still exist or dying ?
14
Bugs / Re: Error trying to display sql joined fields...
P.S. I'm using PHP Rad Classic 2.0 that emman gave me some days ago... I also found that the property ExportButton=False do not work, I still have the button on the pages...
PHPRad Classic 2.0?! We are having 2.5.7 with us right? Why using the old version?
15
Questions / Re: Data access by users company, rather than by userid?
How about making Company name as Login and let the Users set their own Passwords. This way, you may tie up the Login to the Company ID and that will serve as current logged in User's ID. Just a thought...