Building with concrete5

Code reuse for own template

Hi all, I have built a custom template for the AutoNav block which is recycling some of the original's view.php code. I would like to make that template available via the marketplace so other users may participate. My question is if it's okay in terms …

Requiring a php-script with custom functions before any block-call

So I've installed ProBlog and I'm customizing it to do some fancy tricks, displaying colors for each category etc. But I've run into an issue I don't know how to fix. I have a php script located in the following folder: themes/[my-theme]/php/functions…

jQuery nav-tree menu with li hover highlighting

Following on this (http://www.packtpub.com/article/concrete5-mastering-autonav-for-advanced-navigation) excerpt from Remo's excellent looking book, I was inspired to develop the block further. The idea of the template is to allow a different background…

Writing table from SQL-command

Hi! Sorry for my 'noob' question - i have done a lot of reading with no result. Thanks for any helpful suggestions! I need to run a simple 'select * from TABLE' an then write the results into a table. I have tried to create a simple function (run…

Tiny fix for Slideshow block

When viewing a page with a Slideshow block on it, I was seeing a tiny horizontal line (like a hyphen) appearing to the left of the image, near the top corner. I use Chrome for most browsing. A tiny thing, but it annoyed me no end. It turned out to be …

File Manager and Dashboard help

Hello, I am developing a package for a client (first time in C5) and i have a dashboard single page system, my first question is how to make it OOP as in using a controller to controll which php file to render depending on the page the user clicks all thi…

Block Popup Menu Won't Stay On Screen

I am having trouble with the popup menu that appears when clicking on a block not remaining on the screen after I release the mouse. When I release, the popup goes away. The behavior is erratic. Sometimes it works for a while, then it starts acting up. Wh…

Programatically add a new page without publishing a version

When I use $newPage = $parentPage->add($pt,$data); to create a new page, a version of the page is published immediately. Is there a method to create/add a new page so that the new page is not published? Thanks, Marcus.

Installing on WAMP - any issues?

My client is keen on hosting his own site on a WAMP server. I have only ever used Linux servers. So I need to know is there any things that need to be done differently in order to install C5? Or is the process the same as described in the documentation…

Filter Posts