Footer bei Static Pages verhindern

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Footer bei Static Pages verhindern

Post by ocj »

Gibt es eine Möglichkeit, zu verhindern, daß auf Static Pages unten das Datum und der Autor, auf meinem Blog also etwa
ocj
2006-11-10
angezeigt werden?

ocj
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

ja naturlich, aus plugin_staticpage.tpl und plugin-staticpage_aboutpage.tpl umwandeln

Code: Select all

{if $staticpage_author}
    <div class="staticpage_author">
{$staticpage_author|@escape}</div>
{/if}

    <div class="staticpage_metainfo">
{if $staticpage_lastchange}
    <span class="staticpage_metainfo_lastchange">
{$staticpage_lastchange|date_format:"%Y-%m-%d"}</span>
{/if}

{if $staticpage_adminlink AND $staticpage_adminlink.page_user}
    | <a class="staticpage_metainfo_editlink" href="{$staticpage_adminlink.link_edit}">{$staticpage_adminlink.link_name|@escape}</a>
{/if}
    </div>
zu

Code: Select all

    <div class="staticpage_metainfo">
{if $staticpage_adminlink AND $staticpage_adminlink.page_user}
    | <a class="staticpage_metainfo_editlink" href="{$staticpage_adminlink.link_edit}">
{$staticpage_adminlink.link_name|@escape}</a>
{/if}
    </div>
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Post by ocj »

Vielen Dank!

Das wird dann aber bei jedem Update des Plugins überschrieben, oder?

ocj
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

ja, sondern sie kannst abschreiben jene files zu dieser templaten Inhatlsverzeichnis
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Post by ocj »

Just to make sure that I understand that electronic translation (which I think it was) as you meant it:

If I copied those files to my template directory they would be read from there and, therefore, would not be overwritten by future plugin updates?

Thank you very much, Carl!
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

I actually hate using babelfish, and I must apologise, I am using a dictionary and my trusty phrasebooks. Normally I wouldn't have the courage to answer the german forums but Garvin, yellowled and a few of the other german speakers who usually answer these threads seem to be doing other things and haven't been so active this weekend, I wanted to help. I hope my bad German hasn't offended anyone, and if you can forgive my attempts with a dictionary...

And yes, copying them into the template folder prevents them being overwritten when a plugin is updated
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Post by ocj »

Carl, your help is very much appreciated. I don't care whether you reply in German (by using Babelfish) or English. I don't think that others could feel offended in any way either.
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Post by ocj »

Amended it and it works.

May be seen here:
http://www.yadayada.de/blogroll.html

Thank you very much, Carl!
Post Reply