Building with concrete5

AJAX call keeps giving internal server errors

Hi all, I'm trying to get data from /packages/example/elements/forms/fileManager.php with an ajax call, but even if the file is empty, it returns a 500 error. But when I include the file with View::element('url-to-file'); it works... any rules for this…

setting te css for C5 ecommerce add-on

Hi guys, I am using the Featurist theme with its interesting page layout. I am using the C5 ecommerce add-on to display and sell my services on buzzmasters.net now i find with the fixed display page layout for featurist theme that part of my product …

How does one "set" the page wrapper class?

In our themes we have "c->getPageWrapperClass()". my question is, how can I either set this or add additional classes to the output class (for the use in page templates).

Composer fields empty when revisiting it

I'm having an issue with Composer. Whenever I fill in fields in Composer, I am able to save the data and publish a page. However, if the Composer page is returned to, it will be empty. For example, if I open Composer on an already published page…

Issue with creating and editing users after upgrade to 5.6.3.4

Hi Community, any insight you can give into this would be very helpful! Note to keep our client anonymous I have replaced the domain with "[site]" in the code below. Thanks in advance!! We have upgraded several site to 5.6.3.4 and it seems to have wor…

Method problem within 'Single Page' controller

Hi all, I'm messing around with single pages and controllers and I got the following problem: I want to create an edit page and an add page with just one file instead of multiple files. So I read the documentation and it says when I use methods like a…

Remove "Posted By" from Blog Entries

I need to remove the "posted by" line from the blog_entry view. I cannot find where it is output in the elemental theme. I have found this same question in older posts but things seem to have changed in the newer version(s) of Concrete5. Thanks in adva…

Creating values for site attributes/keys

Hi, During the installation of my package I create a few Sets in the 'site' category in those sets I create some attributes (SiteKey) so people can edit some basic settings in their website (stuff like company logo, company name). [code] $key = array…

OpenID Connect and C5

Hi folks ) I use 8.0.3 I have been looking for a suitable module to implement OpenID connect. One of our client uses self hosted "OpenID connect" server. I would prefer set clientID, secret, endpoints what required and get it done. But surpri…

Check if Page is Public

I am programmatically displaying a list of child pages, but I need to not show pages that haven't been published. [code] foreach($children as $child){ if(Page::getByID($child)->SOMESORTOFCODEHERETOCHECKIFITSPUBLISHED){ //DO STUFF } }…

Filter Posts