Developing (v7+)

Looking for help forcing SSL on a website

Hey all, I'm having 'trouble' forcing SSL onto a C5 site. In all honesty, I'm pretty lost... The main site is https://www.spinfarming.com (which returns the legit SSL certificate). C5 is installed in a sub-directory /buy2 (which will replace /buy …

[INVALID] Update 2nd block table after adding block (bID)

!!! This question is invalid. After extensive debugging, $this->bID got populated (I guess due to naming convention violation in the blocks' db.xml file). Guys, I might be missing something, but I lost the trail somewhere... I'm trying to figure out…

5.6.0.1 Caching?

I'm just guessing that this is a caching issue. But, when I go to add a block to a page the page just stalls with the loading gif. The page doesn't reload at all. After manually reloading the page the block shows up properly. This is a easy work aroun…

Multi-open accordion navigation menu

I am unable to find multi-open accordion menu in the add-on section. Does anyone know of this kind of menu or can I use some other block and tweak the code to achieve this functionality?

Server error (www.senate-group.co.uk)

When we try to load our site we get this error (Google Chrome) Server error The website encountered an error while retrieving http://www.senate-group.co.uk/. It may be down for maintenance or configured incorrectly. we checked with our hosts 1&1 …

Locking down a user profile in your theme using custom attribute

It is assumed you have worked with themes or single_pages and know how to override stock files by placing them into your single_pages or theme directory. It is assumed that you have enabled public profiles and kept them open to the public. 1) First gr…

How do I inject PHP variables into external JavaScript files.

I'm building a block that relies on a jQuery plugin script that adds elements to the DOM. I'm good until I want to add multiple instances of the block to a page. For elements that already exist in the DOM (i.e. I put them there) I can make them unique by …

Determining the form action

Hello, I am very new to Concrete5 and have created a package with a block within it. From within my block's view.php, I can direct a form's action to my blocks' controller.php "action_something" function by calling $this->action('something'). However, …

Filter Posts