ma77th3gr34t
|
Page titlesI saw a thing to change page titles in the howtoforum for more incoming links. Do I just cut and paste that after where it says {PAGE_TITLE}?
Or is there more to it than that.
the link is:
http://howtodoit.myfastforum.org/Page_Titles_about144.html
thanks
Matt
|
CodyT07
|
You delete the {PAGE_TITLE} and in its place you put the code listed in how to do it instead.
|
ma77th3gr34t
|
ok so this is what i currently have:
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="templates/myfs_78offsuit1/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">
i delete starting at {PAGE_TITLE} to 78offsuit1/ and copy and paste what that code is there which is this:
<!-- BEGIN switch_user_logged_out -->
<title>{PAGE_TITLE}</title>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<title>{SITE_NAME}: {PAGE_TITLE}</title>
<!-- END switch_user_logged_in -->
i dont need to change anything here do I?
|
admin (no pm's please)
|
If you are using the editor account to test, then you can see for yourself the results without messing up the template the users are seeing.
Repeating the instructions back at us, does not really tell us what you will actually do. I think with a bit of reading what is being done is very apparent and logical and thus easy to understand and get right.
Read the lines of code and think about what they are about!
|
davecov
|
I think you should know that the Howtodoit article is wrong.
It should read
<title>{SITENAME}: {PAGE_TITLE}</title>
and NOT
<title>{SITE_NAME}: {PAGE_TITLE}</title>
Dave
|
ma77th3gr34t
|
so there is an error in the code? Admin can you confirm this for me that there is the error that dave said and then i just copy and paste it in place of the current code? or do i make any changes to the code? This is my first code where i have to replace some text and i want to make sure that i understand correctly what i am doing. like in my previous post i delete from {page_title to the end of that sequence or just delete {page_title} and thats it?
|
davecov
|
You should only be changing what is between the
<title></title> tags, nothing else.
i.e.
<title>{PAGE_TITLE}</title>
becomes
<title>{SITENAME}: {PAGE_TITLE}</title>
You do not touch anything else!
Dave
|
admin (no pm's please)
|
thanks davecov.
Will see if I can change howtodoit.
|
ma77th3gr34t
|
thank you.
this is what it now looks like:
{NAV_LINKS}
<title>{SITENAME}: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="templates/myfs_78offsuit1/
I am sorry for all the silly questions i just didnt think that the begin and end and all that stuff went. But now i understand alot better on how to change these things....I think.
Thank you for all your help
Matt
ps. if it looks wrong let me know....lol
|
admin (no pm's please)
|
The BEGIN/END stuff of it is the whole point of the exercise, davecov simply reported an extra underscore that should not have been there.
You replace the existing page title line with the BEGIN.... END lines.
|
Symon
|
Sorry about that i see it has been changed already
|
ma77th3gr34t
|
ok so this is what iu now have is this right?
<title><!-- BEGIN switch_user_logged_out -->
<title>{PAGE_TITLE}</title>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<title>{SITE_NAME}: {PAGE_TITLE}</title>
<!-- END switch_user_logged_in --></title>
<!-- link rel="stylesheet" href="templates/myfs_78offsuit1/
|
Nick(NR)
|
| ma77th3gr34t wrote: | ok so this is what iu now have is this right?
<title><!-- BEGIN switch_user_logged_out -->
<title>{PAGE_TITLE}</title>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<title>{SITE_NAME}: {PAGE_TITLE}</title>
<!-- END switch_user_logged_in --></title>
<!-- link rel="stylesheet" href="templates/myfs_78offsuit1/ |
use this, you don't need to tag the switches:
| Code: | <!-- BEGIN switch_user_logged_out -->
<title>{PAGE_TITLE}</title>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<title>{SITE_NAME}: {PAGE_TITLE}</title>
<!-- END switch_user_logged_in -->
<!-- link rel="stylesheet" href="templates/myfs_78offsuit1/ |
|
admin (no pm's please)
|
But what is that link bit? Which looks broken?
All that needs to be done is to replace the existing title line with a bit of code that is inherently quite understandable if you read the code.
|
ma77th3gr34t
|
Thanks nick.
Its working now cause it took me right out of the header saying you have successfully upgraded or something like that. Thank you everyone for all your help. I am going to read alot more cause i am still not quite understanding this stuff.
Matt
|
|
|