 | Re: [Solved] Can't find where to add ico fav icon |  |
Posted: 02/17/2007 6:05 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 10:50 PM
|

|
|
|
|
 |
That seems a strange thing it couldn't open...I've had a go doing it manually so will wait with baited breath to see if I did it right  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Can't find where to add ico fav icon |  |
Posted: 02/17/2007 10:52 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:50 PM
Location: St Pete, FL
|

|
|
|
|
 |
| Karen wrote:
|
I just tried this, but I got an error
Critical Error
Function Trace: open_files[1]->modio_open[3]
Could not open [./mods/favicon/processed/templates/subSilver/overall_header.tpl.txt] for writing.
MOD script line #41 :: FAQ :: Report
Is it to do with folder permissions? Because a couple of them got changed when we changed servers.
|
I'm really not sure what causes this error. If the permissions are set correctly, this error really doesn't make much sense...
| Karen wrote:
|
|
Also do I need to do this to my Diddle template too?
|
Yes, you would want to apply this to all of your templates if you have to do it manually...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Can't find where to add ico fav icon |  |
Posted: 02/17/2007 10:55 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:50 PM
Location: St Pete, FL
|

|
|
|
|
 |
| Karen wrote:
|
That seems a strange thing it couldn't open...I've had a go doing it manually so will wait with baited breath to see if I did it right
|
Yep, it seems to be working correctly:
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can't find where to add ico fav icon |  |
Posted: 02/18/2007 1:43 AM |
|
|
|
|
|
| Site Admin |
| Posts |
49593 |
| Word Cnt. |
2,756,445 |
| BDay |
Apr 22 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:50 PM
Location: Texas
|

|
|
|
|
 |
Not sure about that Nightrider, that's the default FavIcon she already had.
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Can't find where to add ico fav icon |  |
Posted: 02/18/2007 4:56 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 10:50 PM
|

|
|
|
|
 |
Yeah that one we got when we changed servers
I added the code after the <head> I know in your mod you said <title but in mine it finds <title> and I wasn't sure if it was the right bit and whether it went inside or outside the closing >
Will give it a few days and see if anything changes. BTW what should the folder permissions be? Both overall_headers are 664. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can't find where to add ico fav icon |  |
Posted: 02/18/2007 2:31 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:50 PM
Location: St Pete, FL
|

|
|
|
|
 |
If you're using EM to install the MOD, it knows to add the code on the next line when it encounters an AFTER, ADD statement. Since you couldn't get EM to work correctly, I can understand the confusion. The new code DOES NOT belong inside of the title tag. The code should be inserted on the next line, all by itself...
For most servers, file permissions should be 644. There are some exceptions though, such as Awardspace and Lycos sites, to name a few. For those sites, the file permissions should be set to 755. Your FTP Server software should correctly set the file permissions when you upload the files, so you shouldn't have to worry about it...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Can't find where to add ico fav icon |  |
Posted: 02/18/2007 2:40 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 10:50 PM
|

|
|
|
|
 |
Cool thanks!
Is the code OK where I added it then or shall I change it to where you said?
Here's where it is in my shortened Diddle file (after <head>) its the same in my subSilver file too.
| Code:
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<link rel="shortcut icon" href="/favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/Diddle/{T_HEAD_STYLESHEET}" type="text/css">
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can't find where to add ico fav icon |  |
Posted: 02/18/2007 3:44 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:50 PM
Location: St Pete, FL
|

|
|
|
|
 |
I really don't know if it will work or not where you placed it. I imagine that it will. You can always upload it and find out. Why didn't you add the code after the <title> line???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Can't find where to add ico fav icon |  |
Posted: 02/18/2007 4:06 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 10:50 PM
|

|
|
|
|
 |
Because I wasn't sure if it was supposed to go inside the closing > or not..lol
I'll change it to where you said above and see what happens  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Can't find where to add ico fav icon |  |
Posted: 02/18/2007 5:22 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:50 PM
Location: St Pete, FL
|

|
|
|
|
 |
It probably won't matter. You might have to correct the path to the file though...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|