Can I use this to add a User Attribute which is a Page?

Permalink Browser Info Environment
Can I use this to add a User Attribute which is a Page on my site?

Do I need to extend the User Attributes page somehow or should it just work?


Type: Discussion
Status: New
View Replies:
Guido replied on at Permalink Reply
Add the following code to the install() function in controller.php:

$col = AttributeKeyCategory::getByHandle('user');
$pageselector = AttributeType::add('page_selector', t('Page Selector'), $pkgh);

Now reinstall the package.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.