Developing (v7+)

Confused over Page Types

I have been working on understanding Page Types and need some assistance. I have a left_sidebar.php file in my theme which looks like this: [code] [/code] The problem is when I look at the defa…

Trying to display a thumbnail on search results

Hi There, I have a recipe search engine and need to display a page thumbnail as part of the search results - the thumbnail is a page attribute. I looked at a page_list custom template and tried to transfer the code but get php error when trying to s…

Dashboard helper questions...

I am trying to build a sing page for the dashboard, I can't figure out how to enable MCE on a text area. I am also trying to figure out the proper way to open a page as a popup.

Difference between include() and $this->inc();

Hey all, can anyone explain what the difference between using [code]include('path/to/file.php');[/code] and using [code] $this->inc('path/to/file.php');[/code] I thought I read in the docs that $this->inc(); is the preferred way to include files in c5…

Different user attributes based on user's group?

Is there a way to set up different user attributes based on the group that the user is in? I'm working through a situation here where there are a number of different types of users who are interacting with the system, however not all user attributes are r…

AttributeKey::getList('Collection') now erroring

Weirdest thing, I created a package and, on an identical installation it is not working. Trying to figure the problem, the code starting the error is this [code]$keyslist = AttributeKey::getList('Collection');[/code] this is supposed to return a…

Quick way to change area names

I have created area names that don't follow the guidelines and it is breaking a few add ons. When i change my default.php the layouts break as the blocks I've set up are obviously related to areas. Is there a quick way to change the area names, even…

Form Reports | Sort by

Hi, I would like sort form reports by a question value. Example, I have a form with a question "Country". I would like sort form reports by country. How can i do this ? Thanks

Filter Posts