Developing (v7+)

sql joins model to controller to view

I posted this in someone else's thread - Is there a simple top to bottom demo of joined tables with sql ? I mean top being Model - Controller - View. I can write sql to join tables but to simply executing a view from the 2 joined tables is probably …

show and hide a block by ulr hash? [done]

I need a trick to have two versions of a page in on… I have a page with two page-list-blocks with different settings (and some other blocks…). These two lists can be hard coded. how can I hide the second list when I come on the normal navigation …

Updating theme image requires clearing of c5 cache

Once in a while we'll change an image in our theme (usually around a holiday) and to get the new image to show up, we have to clear the c5 cache. Is this expected behavior?

Attributes, versioning, and page lists - best practice

I am looking for best practice guidelines regarding use of attributes and blocks on pages when used with page list templates overrides. It seems to me that putting content in attributes is a bit of double edged sword/ flaw and potential confusion for a…

How to pass single page value to controller through script

Hi In my application list out the employee role by using for each single page: [code]foreach($rd as $data){ echo "".$data[role_name]."".$data[role_description]."Edit".$ih->button_js(t('Delete'), "deleteRole()", 'left', 'error').""; }[/code]…

hard coded autonav, missing nested lists

I have two parts of a hard coated autonav. It works well but the subpages dosen’t wrap in an own (nested) list (ul) This is what I have: [code] [/code] can anyone help me? thanks in advance!

Setting up composer for different categories

Is it possible to setup the Composer as a blog for different categories? Step-by-step how would I do this? Also I am having an issue putting the Date Navigation block on my homepage. When I try to navigate to under the Blog page, I don't get a dialo…

How to display page permission expire time?

I would like to output the End Date/Time from the page permissions scheduler so the user can see when the page will expire. Anyone know how to achieve that?

create a searchable database of past golf tournaments

I am creating a website of a annual golf tournament that I play in. I have many years of scores from past tournaments. I would like to add a database of all the players and the scores they shot. I would like a search block to look up a player name and d…

Filter Posts