Developing (v7+)

Forms in 5.7

Hello everyone, Well 5.7 is winning me over. However, with so few addons, I'm in need of improving the standard form. I'd like to build a form that has a "quantity" field for numbers. As in, I would like to order 26 widgets. The form would say "Quantit…

Exclude Subpages from Nav

I've been working with 5.7 after spending a lot of time with 5.6. One thing that seems to be missing is the 'exclude_subpages_from_nav' page attribute. I've put it into my site using the attribute settings interface but it doesn't seem to be doing any…

API insert Content block in page clears newlines

Hi all, A shout in the dark from here, as I think it's quite a niche problem... I am exporting one website, page by page, and each page content goes in JSON. Then, I am importing the JSON contents in Concrete5.7.4.1 using API calls. Here's a fully f…

5.7+ no longer has blocks edit feature?

Hello, I hired a developer for a project, the client had used C5 for their last site, so it was important to have the same environment. When I went into the dev testing dashboard to test, I was unable to "Edit Area Design" and the error “Open # on this …

Storing optional registration fields on login.php - SOLVED

Hi! I've been struggling with this problem and hoping someone here can point out what I'm doing wrong. Basically the code below executes when the user has not populated mandatory registration fields. The ultimate aim is that when a user populates a…

v.5.7 - Block: call JS-Function in view from controller

Hi there, i am trying to call a JS Function in the view.php from the controller.php. I am really not familiar with php ... so i tried the following (warning - ugly workaround) [code] public function view() { $this->set('doTheJS', "yes"); } […

How do I get value of File custom attribute?

In eCommerce I am using some custom product attributes. I've been using echo to print out values of text, but one attribute is an image/file. How can I get the path to the file added in my event_logo attribute? Thanks

Filter Posts