Developing (v7+)

Adding SELECT attribute options for a page

I have created the SELECT attribute as follows [code] CollectionAttributeKey::add('tab_attr', t('Tab Attribute'), false, null, 'SELECT'); [/code] Now I want to add the values (options) per page level [code] $ak=CollectionAttributeKey::getByHandle(…

Certain groups of customers see a certain payment method?

Hi, Is it possible with advanced permissions that a certain group of users could see the default payment type? So normal users would see the standard type but if a certain user logs in they see the default one too? If so how can this be done? tha…

Group Attributes

Is it possible to assign an attribute to a group? I have some mailing lists which are essentially groups. I want to identify some of them as SMS groups and some as Email groups. I need an attribute so I can code my single pages to pull the attribute of…

change page type layout

As a newbie to C5 and building website in general I am struggling to understand how to change the page type layout - if anyone could point me in the right direction I would really appreciate it. Is there an easy way to add a new page type with differe…

What is $c

Morning all, Am just getting to grips with C5 (it's brilliant). I have a question about the variable $c. Is $c a predefined variable used by concrete5? What does $c stand for- 'content' maybe? I just like to be able to read the code and understand …

Querystrings

I'm trying to link to different pages, passing data through a querystring such as: Add product This is all database-driven so the passed data will always be different. How do I do this through concrete5 since everything is through index.php? T…

Help! Error in scrapbook after moving site!

Hi, I moved my site from a subdirectory to the root (from www.example.com/c5 to www.example.com). I changed the config/site file to reflect the new directory, and cleared cache. Everything is working fine, EXCEPT: When I go to the Scrapbook optio…

External forms runTask fatal error

Fatal error: Call to a member function runTask() on a non-object in /home/jborn/pricechecker.danandjenborn.com/concrete/blocks/external_form/controller.php on line 67 The page that I was recently modifying won't load unless I comment out line 67 in con…

Is there a way to cross-sell related products?

Hello- I'm looking for a way to offer related products for a customer to buy in the checkout process -- or some way for the customer to choose multiple products at once to add to their cart. First, we have a complex product that requires the purchas…

Filter Posts