Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How change position of Title on MiniCMS ?  (Read 2530 times)

0 Members and 1 Guest are viewing this topic.

vesodimov

  • Coppermine novice
  • *
  • Country: bg
  • Offline Offline
  • Posts: 34
How change position of Title on MiniCMS ?
« on: May 22, 2013, 02:53:41 pm »

Hi.
I use MiniCMS. How change position of Title on MiniCMS ?
Regards
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: How change position of Title on MiniCMS ?
« Reply #1 on: May 22, 2013, 03:18:42 pm »

Please explain more detailed how it should be changed.
Logged

vesodimov

  • Coppermine novice
  • *
  • Country: bg
  • Offline Offline
  • Posts: 34
Re: How change position of Title on MiniCMS ?
« Reply #2 on: May 22, 2013, 10:37:31 pm »

See attachment.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: How change position of Title on MiniCMS ?
« Reply #3 on: May 23, 2013, 10:20:47 am »

Open plugins/minicms/include/themes.inc.php, find
Code: [Select]
$title_bar = $cms['title'];and replace with
Code: [Select]
$title_bar = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center">'.$cms['title'].'</td></tr></table>';
find
Code: [Select]
<td width="100%">and replace with
Code: [Select]
<td width="100%" align="center">at both places.
Logged

vesodimov

  • Coppermine novice
  • *
  • Country: bg
  • Offline Offline
  • Posts: 34
Re: How change position of Title on MiniCMS ?
« Reply #4 on: May 28, 2013, 10:10:59 am »

All work perfect !
Thank you, Andre.
Logged

vesodimov

  • Coppermine novice
  • *
  • Country: bg
  • Offline Offline
  • Posts: 34
Re: How change position of Title on MiniCMS ?
« Reply #5 on: May 28, 2013, 11:03:33 am »

Any way to make title "bold" and change font ?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: How change position of Title on MiniCMS ?
« Reply #6 on: May 28, 2013, 11:06:04 am »

Sure. Just add your desired code between
Code: [Select]
<td align="center">and
Code: [Select]
</td>to the affected code parts of the above mod.
Logged

vesodimov

  • Coppermine novice
  • *
  • Country: bg
  • Offline Offline
  • Posts: 34
Re: How change position of Title on MiniCMS ?
« Reply #7 on: May 28, 2013, 12:39:18 pm »

My code is:
Code: [Select]
$title_bar = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center"><b>SOME TEXT HERE.</b>'.$cms['title'].'</td></tr></table>';This code add "SOME TEXT HERE" in front of page but when I'm login I can't see that. When I'm logout I see the text.
Somewere I make a mistake. Andre, please tell me right code to make title "bold".
Regards
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: How change position of Title on MiniCMS ?
« Reply #8 on: May 28, 2013, 01:16:25 pm »

Of course you need to add it to both affected code parts of the above mod, not just to the first one.
Logged

vesodimov

  • Coppermine novice
  • *
  • Country: bg
  • Offline Offline
  • Posts: 34
Re: How change position of Title on MiniCMS ?
« Reply #9 on: May 28, 2013, 02:14:29 pm »

I add this everywhere but not work for me. Any way ...
Maybe author of MiniCMS will make update with this ...
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.