Developing (v7+)

User attribute not comparing to string successfully.

I am having users store data on sign up. Later, I am putting that data using: [code] use Concrete\Core\User\UserInfo; $u = new User(); $ui = UserInfo::getByID($u->getUserID()); $testtype = $ui->getAttribute('TestType','display'); [/code] When I co…

8.4+ How to add/remove group permissions to Files programmatically?

Hello. How can I add group permissions to the File Manager programmatically, that is equivalent to adding group permissions in the Dashboard -> System & Settings -> Files -> File Manager Permissions -> Add File? I can add group permissions to a fold…

Can't enter backend after editing pages on Sitemap

I am having trouble developing Concrete5 Website. I was editing pages on Sitemap menu like moving pages, making external links changing orders of the pages. After that, I found I cannot enter the dashboard of Concrete5. Website is still showing norma…

Large File Upload Issues

I use Bluehost and have a large video file I am trying to upload that will be a downloadable file eventually... not to stream. That said, I've modified the php.ini file and verified that the website is picking up on the new PHP settings, which it is as se…

Integrating PayPal using Forms and generating a unique ID

I have been using Foarms and PayPal for submitting payments, however I have not found a way to associate a unique ID with the transaction. This makes it difficult to associate PayPals invoices with the Forms report. Does anyone have experience in this a…

Area inside custom block

Hey, I'm trying to do this and it worked: [code] Тезисы к обсуждению: [/code] Area is there (see screenshot 1). But, if I output area like this, then I can't edit parrent block. There's no JS event on a block that is used for …

Redirecting multiple pages to one c5 page - can it be done?

Hi Im new to concrete5 but not to php or linux. We are updating our current site to use c5. Our current site has htaccess rewrite urls which allow multiple pages to go to the same source code file and that file then picks data up from the url, such as …

8.4+ How to assign user attributes only to users in certain groups

I have 2 sets of user attributes: Set1 and Set2, each having various attributes. I have 2 user groups: Group1 and Group2. I don't want ALL attributes to be displayed and required for all users. How can I programmatically set/assign attributes of Set…

8.4+ How to remove guest permissions for page?

I need to set permissions to view a page only by a certain group. I guess I have to remove guest permissions from that page and add group permissions: [code] $page = Page::getByPath('/account/my_page'); if (is_object($page) && !$page->isError()) { …

Filter Posts