Author Topic: greeting text in index.php  (Read 8544 times)

0 Members and 1 Guest are viewing this topic.

Offline anderitor

  • Newbie
  • *
  • Posts: 18
    • View Profile
greeting text in index.php
« 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.

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: greeting text in index.php
« Reply #1 on: January 23, 2006, 11:32:29 PM »
hi, you can edit the home.html. you can use html code for this ;)

Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: greeting text in index.php
« Reply #2 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
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: greeting text in index.php
« Reply #3 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. ;)

Offline anderitor

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: greeting text in index.php
« Reply #4 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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: greeting text in index.php
« Reply #5 on: February 18, 2006, 08:50:24 PM »
Did you apply ALL bug fixes?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)