4images Forum & Community

General / Allgemeines => Chit Chat => Topic started by: anderitor on January 23, 2006, 09:52:28 PM

Title: greeting text in index.php
Post by: anderitor on January 23, 2006, 09:52:28 PM
Hello,
I would like gladly in the index.php a small greeting text bring in. If I this with HTML make however always upward slide for this. Also with echo it does not fold. Unfortunately I have also no notion of PHP. (only HTML of knowledge).
Please help me.
Title: Re: greeting text in index.php
Post by: JensF on January 23, 2006, 11:32:29 PM
hi, you can edit the home.html. you can use html code for this ;)

Title: Re: greeting text in index.php
Post by: mawenzi on January 23, 2006, 11:36:28 PM
... with your knowledge of HTML you can edit the /templates/<your_template>/home.html ...
... above the table with the {new_images}-tag you can insert your small greeting text ...
... only with HTML-Tags ... or ...
... e.g. ... for guests
Code: [Select]
{if user_loggedout}your small greeting text for guests{if user_loggedout}

... e.g. ... only for members
Code: [Select]
{if user_loggedin}your small greeting text for members{if user_loggedin}

edit : JensF was faster ...  :wink:

mawenzi
Title: Re: greeting text in index.php
Post by: TheOracle on January 24, 2006, 12:10:26 AM
@mawenzi:

Theoricly, he was - technicly you were. ;)

In addition, I'd like to recommend implementing the Multilang MOD since it could really be practical for presentations like this. ;)
Title: Re: greeting text in index.php
Post by: anderitor on February 18, 2006, 06:13:20 PM
If I insert the two lines, become these however in such a way in the index.php indicated like I typed it. Thus with {if user_loggedout}. Do I have to enter still further?
Thank you
Title: Re: greeting text in index.php
Post by: V@no on February 18, 2006, 08:50:24 PM
Did you apply ALL bug fixes?