Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 12:02 am EST
Geeklog Forums
How To Edit Style Sheet Page
MeToo
Anonymous
Greetings. I really don't know what to call the page I'm trying to edit so I named it the style sheet page...What I want to edit is the same page that houses the words "Get Published", "Links", "Stats", and "Welcome to United States-America.net.
My site was developed for me and finally after much time, I am getting familiar with how to do different things. Whew... I am a no brainer but getting better as I've been determined to stick with it and I love GL.
Now I want to:
1. Change the name of the site which the web developer wrote on the front page.. Welcome to Unitedstates-america.net
So... My question is.. What page do I edit TO CHANGE THE WORDS "WELCOME TO UNITEDSTATES-AMERICA.NET? It appears on the front page and on every page that I click on my site so it seems that would be a style sheet page of some kind???
I looked under search but those answers dealt mostly with changing story information.. So please advise and as always... I will be so grateful and thanks.
Me Too
My site was developed for me and finally after much time, I am getting familiar with how to do different things. Whew... I am a no brainer but getting better as I've been determined to stick with it and I love GL.
Now I want to:
1. Change the name of the site which the web developer wrote on the front page.. Welcome to Unitedstates-america.net
So... My question is.. What page do I edit TO CHANGE THE WORDS "WELCOME TO UNITEDSTATES-AMERICA.NET? It appears on the front page and on every page that I click on my site so it seems that would be a style sheet page of some kind???
I looked under search but those answers dealt mostly with changing story information.. So please advise and as always... I will be so grateful and thanks.
Me Too
4
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The actual name of your site is defined in config.php:
$_CONF['site_name'] = 'Geeklog Site';
The text "Welcome to" is pulled from the language file, and, together with the site name, put into the header.thtml template file instead of {welcome_msg}.
We call the words in curly brackets "variables".
So, depending on what you want to do, you could remove the {welcome_msg} variable entirely or you could replace it with another one (e.g. {site_name} would give you only the site name, without the "welcome"), etc.
bye, Dirk
$_CONF['site_name'] = 'Geeklog Site';
The text "Welcome to" is pulled from the language file, and, together with the site name, put into the header.thtml template file instead of {welcome_msg}.
We call the words in curly brackets "variables".
So, depending on what you want to do, you could remove the {welcome_msg} variable entirely or you could replace it with another one (e.g. {site_name} would give you only the site name, without the "welcome"), etc.
bye, Dirk
4
5
Quote
me too
Anonymous
Well, WAHOO! I got the words on the front header changed which I'm tickled to pieces about!
BUT PROBLEM EXISTS NOW...
Here goes...
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:278) in /home/unitedst/public_html/system/lib-sessions.php on line 150
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:278) in /home/unitedst/public_html/system/lib-sessions.php on line 162
What in the world happened? I don't know what I did???
Please advise. thanks
me too!
BUT PROBLEM EXISTS NOW...
Here goes...
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:278) in /home/unitedst/public_html/system/lib-sessions.php on line 150
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:278) in /home/unitedst/public_html/system/lib-sessions.php on line 162
What in the world happened? I don't know what I did???
Please advise. thanks
me too!
6
4
Quote
Me to0!
Anonymous
As far as I know, I did not change anything to cause this.
So here's what I did not try to overcome my situation...
I had a copy of the config.php from before the site move... (I had the site moved from one server to another. I have not backed it up since the move(fairly recently) So....I changed the config information to match the new server and then copied it and pasted it to overwrite the OLD config but I got a blank page.
I may be getting too brazen with my trial and error. I am going to stop until further direction from someone (Dirk so far! YAY) in the geeklog community.
Please recommend what to do with the following
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:281) in /home/unitedst/public_html/system/lib-sessions.php on line 150
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:281) in /home/unitedst/public_html/system/lib-sessions.php on line 162
So here's what I did not try to overcome my situation...
I had a copy of the config.php from before the site move... (I had the site moved from one server to another. I have not backed it up since the move(fairly recently) So....I changed the config information to match the new server and then copied it and pasted it to overwrite the OLD config but I got a blank page.
I may be getting too brazen with my trial and error. I am going to stop until further direction from someone (Dirk so far! YAY) in the geeklog community.
Please recommend what to do with the following
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:281) in /home/unitedst/public_html/system/lib-sessions.php on line 150
Warning: Cannot modify header information - headers already sent by (output started at /home/unitedst/public_html/config.php:281) in /home/unitedst/public_html/system/lib-sessions.php on line 162
5
5
Quote
me too!
Anonymous
One More Question
Is there a way to determine line number.. eg.. line 278? I know I may need to literally count but I was thinking there may be a system? Please advise.
thanks...
Is there a way to determine line number.. eg.. line 278? I know I may need to literally count but I was thinking there may be a system? Please advise.
thanks...
5
4
Quote
Status: offline
Chalkhillian
Forum User
Chatty
Registered: 09/23/02
Posts: 67
Which editor did you use to change the file?
5
4
Quote
Me too!
Anonymous
I used textedit to make changes with this file. I am working on a MAC (YAY, by the way!).
This has not been a problem before.
Question:
Could I do to the documentation, download a NEW config.php page, change the code and paste it in for a change?
Please advise.
This has not been a problem before.
Question:
Could I do to the documentation, download a NEW config.php page, change the code and paste it in for a change?
Please advise.
6
6
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
Hmm, try downloading a new config.php and editing with a different text editor. Open up a terminal window and use vi or emacs (if you don't know what those are, use pico.)
To do this type "cd " (yes, cd [space]).
Then drag the folder where the config file is located to the terminal window.
Hit enter.
Type "pico config.php"
Edit the file
CTRL-O saves the file
To do this type "cd " (yes, cd [space]).
Then drag the folder where the config file is located to the terminal window.
Hit enter.
Type "pico config.php"
Edit the file
CTRL-O saves the file
6
5
Quote
All times are EST. The time is now 12:02 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content