Author Topic: How to Add New Field, Site Slogan in Admin?  (Read 4741 times)

0 Members and 1 Guest are viewing this topic.

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
How to Add New Field, Site Slogan in Admin?
« on: February 21, 2009, 07:58:57 AM »
Hi,

May I know, how to add new field which a Site Slogan in Admin Settings?

I have tried to create new field but it is not fully working as it wont appeared using {site_slogan} code.

Hope somebody can help me with this.

Thank you.
Love 4images! @--^-----

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: How to Add New Field, Site Slogan in Admin?
« Reply #1 on: February 21, 2009, 01:30:31 PM »
try explain little more detailed, what is "site slogan", how should it work, etc.
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)

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: How to Add New Field, Site Slogan in Admin?
« Reply #2 on: February 21, 2009, 05:26:38 PM »
Okay,

In ACP > Settings, I planned to have one field for website slogan. Perhaps, under the Site Name field there was a Site Slogan to fill up optionally.

I want to put it in <title>{site_name} {site_slogan}</title>

Thats all.

Thank you.
Love 4images! @--^-----

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: How to Add New Field, Site Slogan in Admin?
« Reply #3 on: February 21, 2009, 10:44:20 PM »
IMO it's much easier just go to ACP -> edit templates -> edit header.html

it is one extra click, but it less server load, since no additional information is stored in the database.
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)

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: How to Add New Field, Site Slogan in Admin?
« Reply #4 on: February 22, 2009, 09:13:23 AM »
I have also think like that. But last night, I have discovered the problem on why my new field in settings is not fully function. It is because I do not put the new codes in page_header.php

Btw, thanks for your advise.
Love 4images! @--^-----