Help remove unwanted div classes

Permalink
I am doing a webpage and i want the top of the page to look like a tab screen but the cms adds <div class="ccm-spacer">&nbsp;</div> in between the include and the code on the page.
Anyone able to help me?

chattojimnow
 
ScottC replied on at Permalink Reply
ScottC
to remove, you basically copy the folder structure your "offending" file which is:

siteroot/concrete/blocks/autonav/view.php

and copy the folder and paste it in:

siteroot/blocks/autonav/view.php and remove the offending spacer in your template.

The loader will always generally look local (outside concrete directory using a file exists) before loading up a core folder(one inside of concrete directory).
chattojimnow replied on at Permalink Reply
chattojimnow
So is it the same with customising the look of the breadcrumb?
ScottC replied on at Permalink Reply
ScottC
that is under the templates of the autonav folder, so replicating that under the same structure mentioned above should be fine :)

Glad to see I could help.
chattojimnow replied on at Permalink Reply
chattojimnow
Scott do you know of a way to make a news system in the cms. I know the description of the created page is used when you select page list then Truncate descriptions, is there a way in which it uses a default tag in the page ie set it to use the content on the page isntead of the page description. If not is there a way in which to fool the system to put the content into the page header
ScottC replied on at Permalink Reply
ScottC
I did a page-list to calendar sort of thing a while ago, so you essentially just grab whatever you want assuming it is an attribute that is valid and display that using $c or maybe $_c->getAttribute['yourkey'] depending on if you are doing this in a nav or a page-list.

I hope to help everyone realize that there is nothing specifically in concrete5 that won't allow you to something due to limitations in the cms, but sometimes a nice tidy method won't necessarily exist for what you are trying to accomplish.
chattojimnow replied on at Permalink Reply
chattojimnow
Is an attribute the edited area in the template? If not what is... the calendar thing sounds useful any chance of letting me have a look see
ScottC replied on at Permalink Reply
ScottC
and you add the property there you are looking for.

Calendar thing was based on the premium calendar here and was 1099'd contract work from my devilishly handsome boss...so I couldn't possibly share the code. Sorry :)