Developing (v7+)

Single Pages + Page Types

I have a nice single page which does a whole bunch of work... seems to work nicely. However... I want that page to use a different page type (i.e. other than my view.php in the theme directory) Is there any way to create a new page type and set it w…

Strange problem when enabling pretty URLs

I have done dozens of sites with Concrete5 but have just come across a strange problem. The site works fine until I enable Pretty URLs, once enabled when you navigate to another page all I get is a repeat of the home page but all messed up. I have attache…

missing "Loader::element('footer_required')" ??

Tried creating a theme following the "'concrete-ize' a basic HTML theme in 8 minutes" tutorial (http://www.concrete5.org/documentation/how-tos/designers/make-a-theme/) and kept getting javascript error: [code]ccm_menuInit is not defined[/code] Took a w…

Relating pages to one or more users

A while back I tried to do this, but set it aside. I thought I'd take another stab at it. I have a site with about a dozen users. The site also has content that I would like to somehow relate to various users. For instance, if I add a page that discus…

Custom page type not loading header or footer

*Update - deleting the page and re-creating from scratch ( i.e. re-placing the existing blocks ) seems to fix this issue. --- Working on a custom page type which was working in (site/page_types/custom_page_type.php), I then copied it to my themes di…

Double scroll bars on page after editing a block ( c5.5 )

I don't think this is a bug, but I felt like putting something here in case anyone else comes across this issue ... When editing a page in Concrete 5.5 double scroll bars appear on the page when the html element has it's overflow-y set to scroll ( se…

Page within modal panel

Is there a way to pull in a page into a modal panel from a different page?

echo image

Could someone please help me with the following. I have a certain piece of code in a view.php of a block that say's [code]$picture = $this->controller->getPicture(); echo "{$title}"; if ($picture) { echo $html->image($picture->getURL()); } [/co…

Confusion: p-tags in blocks become div style=margin:0

Something very odd happens here in my code :-D I have a custom block type where I can add content via the TinyMCE editor. When I look at blocks I've created with this block type directly they all display fine. But when I grab one of the blocks somew…

Filter Posts