Developing (v7+)

get themepath in a single page controller

I cannot figure out to save my life how the hell to get the themepath of a view object from within a controller. Anyone know? Tried literally everything. Could it be a weird config in my system?

Urgent - core_commerce issue saving to DB

Hi all, I'm currently working on my second Concrete 5 site. I'm a seasoned PHP developer, but a Concrete 5 n00b. The first project was writing a custom payment integration / payment mmethod for core_commerce. This is working well on site 1. So we…

set permissions programatically

Anyone know how to set a pages permissions programmatically? Specifically, how to set a page to be accessible only to one user, and all its subpages inherit those permissions... Thanks in advance

Customising Blog Add On

Hey Guys, I been trying to combine the full blog (blog_post) and blog list (blog_summary) into the one page. Would any1 know if this is possible? Thanks in advance. Ritch

Add a link to the slideshow

Hey Has anyone tried to add links to the slideshow? I would like to use the slideshow block as a banner block - each image linking somewhere else. Is this doable with attributes perhaps? I would rather try to mod the slideshow block than to try and …

Ajax Package Help

Hello All, Im creating a package and i have the following structure, controllers->mypage.php, models->mypage.php and i have a single page called mypage.php that is using the on view function. I can load content into mypage.php just fine from within…

username urls?

This seems like it should be pretty easy, but I'm wondering what the best approach would be to having simplified URLs for member profiles. e.g. domain.com/users/USERNAME Right now profiles are viewed with the usual action urls... domain.com/prof…

Adding JavaScript file to package install - Best way?

I'm trying to determine the best way to distribute a Javascript file with an addon package (happens to be a jQuery plugin). I know I can add the file as a single page; however, that doesn't seem consistent with the HTML helper method, e.g.: $html->ja…

Package Install Single Page Permissions

During installation of a package I'm installing a single page underneath the dashboard, but I want to give Guest read permissions so it can be accessed/included from the public site. Is there a way to programmatically change a single pages permission…

Filter Posts