Welcome to Geeklog, Anonymous Tuesday, December 24 2024 @ 08:18 pm EST

Geeklog Forums

Static Page "Title" Font Color


Status: offline

affero

Forum User
Junior
Registered: 06/15/04
Posts: 25
Hi. I'm trying to locate where the static page title fon't color is. I would like to either change it or make the text in my static page the same. I found the "story" title fon't color in the css file but that isn't it.
I looked in the index file within the staticpages folder but didn't see anything. Any help would be greatly appreciated.

affero

rate me

http://rate.affero.net/creed/FSF/
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
try blockheader.thtml in your theme folder. you can put your color there or note the class name if any, and edit your css to match.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Also, in Geeklog 1.3.11 / Static Pages 1.4.1, you can use the "template override" via the theme's functions.php file and give static pages their own block header / footer file.

bye, Dirk
 Quote

Status: offline

affero

Forum User
Junior
Registered: 06/15/04
Posts: 25
machinari,

thanks for the suggestion, I found it in blockheader.thtml and changed it in css. On another subject do you know why can't you place html links within a signature file within this forum or can you? Thanks - Affero

If I've helped please let me know about it here
http://rate.affero.net/creed/FSF/
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Quote by Dirk: Also, in Geeklog 1.3.11 / Static Pages 1.4.1, you can use the "template override" via the theme's functions.php file and give static pages their own block header / footer file.


Hi, it´s exactly what I want to do but I can´t seem to get it to work.

As far as I understand it you can assign a custom .thtml file based on the blockfeader and footer to a single static page.

So I did the following, but it doesn´t work.

I adapted the functions.php so it contains an entry like this:

Text Formatted Code
$_BLOCK_TEMPLATE['language'] = 'language-header.thtml,language-footer.thtml';


 


In the language-header.thtml file I removed the {block_title} variable as I don´t want this to show up.

However, it ignores it and still shows the block-title.

The static page has for sp_id, sp_label and sp_title language

Anyone a clue what I am doing wrong Mr. Green

And yes, I am using Geeklog 1.3.11 / Static Pages 1.4.1.

Thanks,
Boris
Vanrillaer.com - our Family Portal
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You can only override the block templates for all of the static pages by setting $_BLOCK_TEMPLATE['_staticpages_block'].

Or, you could check that you are about to display a static page entitled "language" and only override the $_BLOCK_TEMPLATE['_staticpages_block'] in that case.

bye, Dirk
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Thanks Dirk,

Worked like a charm. I knew I must be doing something wrong Mr. Green

Best Regards,
Boris
Vanrillaer.com - our Family Portal
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
If you put the static page in a centerblock you can use this:
$_BLOCK_TEMPLATE['_staticpages_centerblock'] = 'blockheader-XXXX.thtml,blockfooter-XXXX.thtml';

Replace the XXXX with your template name.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

All times are EST. The time is now 08:18 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content