Album - need to remove title

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
alfblack

Album - need to remove title

Post by alfblack »

Specs:
CMS Made Simple 1.2.3 "Black Rock"
PHP 5.2.3-4
MySQL 5.0.27-1
Apache 2.0.52-32.3
running on Linux (Centos 4)

CMS Module:
Album 0.9.3
using the tables layout.

Goal: To remove the automatically generated "album title" so I can use my own css formatted title. The album's title is formatted with h3 tag. But the H3 is formatted differently.

Maybe you have an alternative so I can format the album's css tag.


What I DID:

I have edited the file
\modules\Album\templates\db\categories.tpl

But my changes are not taking effect.

ORIGINAL CODE:
{section name=album loop=$categories}

{$categories[album].category->name}
{if !empty($categories[album].category->comment)}{$categories[album].category->comment}{/if}
{$categories[album].albums_content}

{/section}



{/section}


I was thinking it might be smarty caching. so a bit of googling and code this code snippet to clear all smarty tags.



clear_all_cache();
?>




Unfortunatly, that didnt help. I've also used the CMS optoin to clear cache.
Site admin > Global Settings > Clear.

Still no reaction.

Help?
Attachments
Untitled-1.jpg
alby

Re: Album - need to remove title

Post by alby »

alfblack wrote: Specs:
CMS Made Simple 1.2.3 "Black Rock"
PHP 5.2.3-4
MySQL 5.0.27-1
Apache 2.0.52-32.3
running on Linux (Centos 4)

CMS Module:
Album 0.9.3
using the tables layout.

Goal: To remove the automatically generated "album title" so I can use my own css formatted title. The album's title is formatted with h3 tag. But the H3 is formatted differently.

Maybe you have an alternative so I can format the album's css tag.


What I DID:

I have edited the file
\modules\Album\templates\db\categories.tpl

But my changes are not taking effect.
Are you sure that it's your template?
Check in Content > Photo Albums > Templates  for your template

Alby
alfblack

Re: Album - need to remove title

Post by alfblack »

Thx for the reply.

I did try editing Tables.tpl
I put in a little message so I know which file I was editing. tables.tpl was unfortunatly below the title. So it doesnt contain the code that generates the title. :(

I checked the outputed html. As far as I can figure out. It contains the html code



So I searched the source.. only categories.tpl contained the phrase.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Album - need to remove title

Post by Dr.CSS »

If you are calling a set of albums on a page it will use a diff. template than the albums themselves, when you choose a template for the album it is just for the album when you choose that album from the others...

If the h3 that is auto generated and not looking right is under the then you can use your style on it by using this...

.album_content h3 {your styling}
Locked

Return to “Layout and Design (CSS & HTML)”