Developing (v7+)

language check

Hi I have a shared include file in my templates for the header area and want to do some if else statement to check what language the site is currently in (using the internationlization module) and then display the right stack with the right main nav o…

Controller for Login.php?

Where is the controller for login.php located? /concrete/controllers/login.php only contains the following: [code]

Checking Permissions in Tool for a Block Type? (Technical)

I have hit a bit of a stumbling block whilst developing a new block (sorry, couldn't resist). Basically I want to create a block that makes some database changes (using AJAX), but want to keep the site secure. I am currently doing this with a c5 tools…

Cascading DropDownList

Hi All I need a cascading dropwdownlist to display hierarchical information. Similar to the type you see on AutoTrader websites. The user typically selects a "make" of car and the "models" dropdownlist populates with appropriate data. Whats the best…

We Need Communication With OthersHi guys!

Glad to know about you, as a social guy, I need a lot of knowledge about people,society, events, views and so on. In a word, we need communication with the others, that will enrich our life, don't you think so?

Add images into C5 before installation

Hello I have a requirement to add some images before installing the C5. Like the duck images uploaded automatically while installing the E-commerce. How could I do that? Please help me. Rony

Responsive vs mobile site

I am developing a small 3 page website for a client. I am keen to make the website as friendly as possible for mobile browsing but do I create a separate mobile site with browser detection script or an HTML5 responsive site? And if I have a separate mo…

Blocks in Package not installing in 5.6

I have a package with 3 blocks. When installing this package on 5.5.2.1, everything works fine. But when installing it on 5.6, the blocks don't install. What is going on? Here is the install code for the blocks: [code] $pkg = parent::install(); …

$this->getThemePath()

HI Not sure why the following does not work, please can anyone help [code] global $c; if (!$c->isEditMode()) { echo '

How to make search filter strictly?

I'm running into a problem on a client site where a search for "Men's Health" will also return results for "Women's Health." These are both values for a select attribute that is searchable. What I'm seeing from the query is that it outputs this: …

Filter Posts