Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
We are trying to make an advanced layout, for our website, however the logo link keeps breaking.
To see how it is broken, you can generate a layout file from the options, then reupload without editing and the logo breaks.
I think this is related to resetting and changing the domain name of the website when I swapped guilds.
blacktemple.dkpsystem.com
Thanks in advance
|
Saudorun
V.I.P.
Posts:
1252( 1.20%) Threads: 172( 0.20%) Private Posts: 55
Guild(s):Mandalorian Ghosts
|
This user's posts are being ignored. Show Post?
We are trying to make an advanced layout, for our website, however the logo link keeps breaking.
To see how it is broken, you can generate a layout file from the options, then reupload without editing and the logo breaks.
I think this is related to resetting and changing the domain name of the website when I swapped guilds.
blacktemple.dkpsystem.com
Thanks in advance Can you attach a copy of your layout.html file here? -- Six Demon BagJack Burton: Hey, what more can a guy ask for? Egg Shen: Oh, a six-demon bag! Jack Burton: Terrific, a six-demon bag. Sensational. What's in it, Egg? Egg Shen: Wind, fire, all that kind of thing!
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
We are trying to make an advanced layout, for our website, however the logo link keeps breaking.
To see how it is broken, you can generate a layout file from the options, then reupload without editing and the logo breaks.
I think this is related to resetting and changing the domain name of the website when I swapped guilds.
blacktemple.dkpsystem.com
Thanks in advance Can you attach a copy of your layout.html file here? Here
|
Saudorun
V.I.P.
Posts:
1252( 1.20%) Threads: 172( 0.20%) Private Posts: 55
Guild(s):Mandalorian Ghosts
|
This user's posts are being ignored. Show Post?
This line needs to be replaced with: <a href="http://blacktemple.dkpsystem.com"><img border=0 src="settings/blacktemple/logo" alt="Blacktemple knights"></a> <a href="http://blacktemple.dkpsystem.com"><img border=0 src="http://dkpfiles.com/blacktemple/files/logo" alt="Blacktemple knights"></a> Also your logo doesn't point to a file with an extension. And you will want to make sure you upload it to your site with the Administrative File Uploader. -- Six Demon BagJack Burton: Hey, what more can a guy ask for? Egg Shen: Oh, a six-demon bag! Jack Burton: Terrific, a six-demon bag. Sensational. What's in it, Egg? Egg Shen: Wind, fire, all that kind of thing!
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
This line needs to be replaced with: <a href="http://blacktemple.dkpsystem.com"><img border=0 src="settings/blacktemple/logo" alt="Blacktemple knights"></a>
<a href="http://blacktemple.dkpsystem.com"><img border=0 src="http://dkpfiles.com/blacktemple/files/logo" alt="Blacktemple knights"></a>
Also your logo doesn't point to a file with an extension. And you will want to make sure you upload it to your site with the Administrative File Uploader. That was the first thing I tried but that does not work either as it refuses to look in that directory
|
Saudorun
V.I.P.
Posts:
1252( 1.20%) Threads: 172( 0.20%) Private Posts: 55
Guild(s):Mandalorian Ghosts
|
This user's posts are being ignored. Show Post?
I don't know what format your logo is in so lets just say its a jpg. rename the file to blacktemple.jpg (if its not a jpg just retain whatever file extenion it is. Goto Admin > Administrative File UploadUpload blacktemple.jpg Then if you look at the administrative file upload page you should see a file blacktemple.jpg with a path of dkpfiles.com/blacktemple/files/blacktemple.jpg If you use that path in your html image tag it should work. I could be wrong but I know that setting/sitename/logo was the old default before the dkpfiles server was implemented. I also believe that this isn't he correct path to just link the file from. In order to be completely certain your referring to the correct file is why I suggested to manually upload it to that path also. Hence you would have a logo line in your file that looked like <a href="http://blacktemple.dkpsystem.com"><img border=0 src="http://dkpfiles.com/blacktemple/files/blacktemple.jpg" alt="Blacktemple knights"></a> -- Six Demon BagJack Burton: Hey, what more can a guy ask for? Egg Shen: Oh, a six-demon bag! Jack Burton: Terrific, a six-demon bag. Sensational. What's in it, Egg? Egg Shen: Wind, fire, all that kind of thing!
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
I don't know what format your logo is in so lets just say its a jpg.
rename the file to blacktemple.jpg (if its not a jpg just retain whatever file extenion it is.
Goto Admin > Administrative File Upload Upload blacktemple.jpg
Then if you look at the administrative file upload page you should see a file blacktemple.jpg with a path of dkpfiles.com/blacktemple/files/blacktemple.jpg
If you use that path in your html image tag it should work.
I could be wrong but I know that setting/sitename/logo was the old default before the dkpfiles server was implemented. I also believe that this isn't he correct path to just link the file from. In order to be completely certain your referring to the correct file is why I suggested to manually upload it to that path also.
Hence you would have a logo line in your file that looked like <a href="http://blacktemple.dkpsystem.com"><img border=0 src="http://dkpfiles.com/blacktemple/files/blacktemple.jpg" alt="Blacktemple knights"></a> I also tried that, I reapplied it so you can see what it generates. Thanks for the ideas though
|
Kriknosnah
General Public
Posts:
109( 0.10%) Threads: 20( 0.02%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Posted: 6365 days ago
|
Edited: 6365 days ago
|
|
Well Saudorun was trying to explain how to solve the problem but you didn't understand file extentions are needed (further addressed below).
But, anyway I was just tinkering around to try and find your file and found it. You have to put the file extention on any image you wish to call (ie .png) Here is what the code is to get it to work.
<img border="0" src="http://dkpfiles.com/blacktemple/files/logo.png">
Side note: I would lean away from using a .png there is inconsistent support for them across different browsers.
Now for my rant against Microsoft. I suspect that this problem is a direct result of idiot proofing windows. By default windows does not show file extentions on file names and people don't know what a file extension even is. If you want to call a file in a web site for dynamic includes, images, script pages, or styles sheets you have to have the file extention on the file.
.php .htm .css .js .gif .jpg .png .html .asp .cgi
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Posted: 6365 days ago
|
Edited: 6365 days ago
|
|
Well Saudorun was trying to explain how to solve the problem but you didn't understand file extentions are needed (further addressed below).
But, anyway I was just tinkering around to try and find your file and found it. You have to put the file extention on any image you wish to call (ie .png) Here is what the code is to get it to work.
<img border="0" src="http://dkpfiles.com/blacktemple/files/logo.png">
Side note: I would lean away from using a .png there is inconsistent support for them across different browsers.
Now for my rant against Microsoft. I suspect that this problem is a direct result of idiot proofing windows. By default windows does not show file extentions on file names and people don't know what a file extension even is. If you want to call a file in a web site for dynamic includes, images, script pages, or styles sheets you have to have the file extention on the file.
.php .htm .css .js .gif .jpg .png .html .asp .cgi Again thank you for the research. I do understand these concepts, I applied the code you supplied this time and applied it to my site and this still does not work. I have also attached the layout file as proof that I have placed that text in. You will notice that the website does not display the picture. I still believe this error is due to the recent resetting and changing the domain of the site and that maybe Chops will need to look at it. I am trying everything suggested, so please continue to make suggestions, my thought processes for this so far has been along the same line. Thanks in advance **edit** Just to further clarify the first post and the file supplied from the first post... This file was generated by using the default layout as supplied when not using advanced layouts and exporting the file, by default the file extension is not there, even uploading the default layout back into a working website without edits and switching to advanced layout instead of the default breaks the logo image. This is why I believe that the problem is deeper than just the code in the layout file
|
Kriknosnah
General Public
Posts:
109( 0.10%) Threads: 20( 0.02%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Posted: 6365 days ago
|
Edited: 6365 days ago
|
|
If you click the file you attached it does work but when I go to your site it doesn't.
So I checked your code.
The <img> link on your site is
<img border="0" scr="http://dkpfiles.com/blacktemple/logo.png">
The <img> link in the file above is
<img border="0" scr="http://dkpfiles.com/blacktemple/files/logo.png">
Sorry, about the rant just had a few people hit me with that problem this week as it was the obvious first error I saw.
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
If you click the file you attached it does work but when I go to your site it doesn't.
So I checked your code.
The <img> link on your site is
<img border="0" scr="http://dkpfiles.com/blacktemple/logo.png">
The <img> link in the file above is
<img border="0" scr="http://dkpfiles.com/blacktemple/files/logo.png">
Sorry, about the rant just had a few people hit me with that problem this week at it was the obvious first error I saw. You hit the nail on the head with your last example, the file is not stored at <img border="0" scr="http://dkpfiles.com/blacktemple/logo.png">but is stored <img border="0" scr="http://dkpfiles.com/blacktemple/files/logo.png">and no matter how I word the link it will not go to the second option, on top of that I do not have access to upload to the first example to put the file where it wants to look naturally. Just for paranoia's sake I changed the code again to fit the other link, as attached and as you can see, no luck
|
Kriknosnah
General Public
Posts:
109( 0.10%) Threads: 20( 0.02%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Just though I should add a couple thing, to make sure basics weren't being overlooked.
1. I assume you are uploading the layout.htm in the "Advance Layouts Options" page and not uploading it in the "Administrative File Uploader" page.
2. And then you are using the [Test It] option to see if it works.
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Just though I should add a couple thing, to make sure basics weren't being overlooked.
1. I assume you are uploading the layout.htm in the "Advance Layouts Options" page and not uploading it in the "Administrative File Uploader" page.
2. And then you are using the [Test It] option to see if it works. No 1. I am definitley doing. No 2. I skip to just click go live as I can always go back to the default be reverting to original. This is a headache because I have lots more advanced stuff to eventually put in but if I cant even manage the basics...
|
Kriknosnah
General Public
Posts:
109( 0.10%) Threads: 20( 0.02%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Well I guess chops will have to take a look at it as that are all of my best guesses. This is a headache because I have lots more advanced stuff to eventually put in but if I cant even manage the basics...
You think you have headachs check out my more recent posts (in the Advanced Layout forums). I am basically having to grabing the code with javascript and based on serveral factors changing and/or moving things to make my layout look the way I want it to. I have added alot of dynamic dispaly abilities which were not easy. I am sure whatever you want your site to look like is possible and I am sure at least Chops, and Saudorun, and maybe even myself, can help you get it there.
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Well I guess chops will have to take a look at it as that are all of my best guesses. This is a headache because I have lots more advanced stuff to eventually put in but if I cant even manage the basics...
You think you have headachs check out my more recent posts (in the Advanced Layout forums). I am basically having to grabing the code with javascript and based on serveral factors changing and/or moving things to make my layout look the way I want it to. I have added alot of dynamic dispaly abilities which were not easy. I am sure whatever you want your site to look like is possible and I am sure at least Chops, and Saudorun, and maybe even myself, can help you get it there. Thanks for the help though, I will go to bed now and wait for chops to see Thanks for the support I am hoping that if I can get past this hurdle it will be plain sailing from here. Here's to hoping
|
Chops
Administrator
Posts:
7607( 7.27%) Threads: 218( 0.25%) Private Posts: 1160
Guild(s):PiaS
|
This user's posts are being ignored. Show Post?
Posted: 6365 days ago
|
Edited: 6365 days ago
|
|
I got it working and all I did was change the address from
"http://dkpfiles.com/blacktemple/logo.png"
to
"http://dkpfiles.com/blacktemple/files/logo.png"
and it worked just fine.
Admittedly, when clicking "Go Live" it took about a minute for the files to be deployed to live, but it worked. Clicking "Test" always worked appropriately.
-- It's all in the reflexes.
|
Fireweaver
Guild Operator
Posts:
9( 0.01%) Threads: 1( 0.00%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
I got it working and all I did was change the address from
"http://dkpfiles.com/blacktemple/logo.png"
to
"http://dkpfiles.com/blacktemple/files/logo.png"
and it worked just fine.
Admittedly, when clicking "Go Live" it took about a minute for the files to be deployed to live, but it worked. Clicking "Test" always worked appropriately. Thats really odd as one of the files I attached earlier has that in place and it was not working. Never mind at least it is good now, thanks
|
Kriknosnah
General Public
Posts:
109( 0.10%) Threads: 20( 0.02%) Private Posts: 0
|
This user's posts are being ignored. Show Post?
Hmm,
Chops, this is just a suggestion, based on the above problem, and as there has been questions and problem that are similar to this in the forums before.
I am almost certain when we upload the layout and menupage files you are storing them in a database. And I know for certian that with PHP you could easily find all files (image, css, javascript) that are being used in those pages and just replace the file name with the correct location and file name which would over come most of these headachs. I know you already have the code in place to the add things into the middle of the layout page so I suspect it would almost be no effort on your part to make this change.
I think this would make your life easier and would help those that are less familiar with web design get their custom layouts to work.
|