Developing (v7+)

for the LOVE of !!! :)

Hello All! I've gotten single pages added into my dashboard sucesfully - my problem is, I can't figure out for the life of me why they're not showing up on the NAV BAR. They do appear in the site map on the dashboard, but not anywhere else. I've made…

Beginner's Advice Request

New to C5 and would like some input regarding perhaps the best approach to take on building a site given a particular scenario so that I can have some mental guidance in the way of an overview before I just jump in. It seems that it would be good to have…

List pages by type / adding filter?

Hi I am doing filtering for pages by type/ctHandle. How I can add TYPE filter to this code? $pageBT = BlockType::getByHandle('page_list'); $pageBT->controller->ctHandle = 'news'; $pageBT->controller->orderBy = 'display_asc'; $pageBT->rend…

Relative Path of File in HTML block

Hi, I'm building a site that I'm going to move later. I have a ton of audio files uploaded to the file manager, and I want to code some of them into the HTML block audio tags directly, as they will play inline. Problem is my site name will change w…

Remove element by value from array

Hello everyone, I want to remove an element by value from the $blockTypes array. The block_area_add_new.php is containing this code: [code] if (count($blockTypes) > 0) { foreach($blockTypes as $bt) { $btIcon = $ci->getBlockTypeIconURL($…

Private Profile pages

I have a membership site and want to allow users to view and edit their own profile pages, but I do not want those profile pages to be accessible to the public as they have private information. I know I can remove links to those pages, but one can still …

Attribute won't accept http://

Hi Ok I've been trying to solve this all day and now my head is fried. I'm using ChadStrats ProNews module, in it there is a news_url attribute, this worked fine until we had a server upgrade the other day. Now if you put any value that is prefixed…

Where do I find meta keywords in the database?

My client cannot update keywords for the home page and so I need to change them manually in the database. Where could I find this please? When saving new keywords we get an error saying "unable to load sitemap data". Thanks

Very strange problem with view.php

Hi Can't work out whats happening here but I have set up the page not found single page to use my site template. I know this page uses the view.php page type but the strange thing is it seems to loose some of its styling. Heres what happens... The sli…

Filter Posts