Showing 321-340 of 652 items.

How to upload image(photo), and path entry in database with update functionality

Created 14 years ago by kiran sharma kiran sharma, updated 12 years ago by Shahcheraghean Shahcheraghean. 22 comments

I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality)

15 0
39
Viewed: 218 129 times
Version: 1.1
Category: Tips

ACL and RBAC

Created 14 years ago by zeroByte zeroByte, updated 14 years ago by kevinkorb kevinkorb. 0 comments

This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obs...

0 0
3
Viewed: 36 907 times
Version: 1.1
Category: How-tos

Access log output from unit tests

Created 14 years ago by Mike Mike, updated 14 years ago by Mike Mike. 2 comments

Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.

3 0
2
Viewed: 19 000 times
Version: 1.1
Category: Tips

CSV Export

Created 14 years ago by JohnPollard JohnPollard, updated 14 years ago by JohnPollard JohnPollard. 5 comments

I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.

4 0
5
Viewed: 33 963 times
Version: 1.1
Category: How-tos

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Created 14 years ago by pckabeer pckabeer, updated 14 years ago by pckabeer pckabeer. 1 comment

Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue').
We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options.
This is a rewrite of c@cba in the wiki article of [enumDropdownList](http://www...

6 0
3
Viewed: 29 006 times
Version: 1.1
Category: How-tos