Page 1 of 2
RESOLVED: literally in tears
Posted: Thu Mar 17, 2016 8:55 pm
by FandomSavant
So... I finally got my shrine layout looking exactly how I wanted it. It was working fine...
Then, I go to split the coding into text files for the old <!--#include trick. Guess what? It isn't working right. The odd part is the colors are right, the size and centering is right... fonts are wrong and there's no header/navigation. What. In. The. World?
You'd think if it was to not work, it would... not work. How is PART of it okay, then part of it goes screwy??
I can't figure it out and I am currently

heartbroken. Normally, if it was, say, a fanlisting, I could just cut and paste the coding into each page and it wouldn't be a big deal. But I'm making a shrine, here. It's going to be an insane amount of pages someday soon and I need to be able to just edit those .txt files and have it change when needed.
Re: literally in tears
Posted: Thu Mar 17, 2016 10:11 pm
by Robin
I know these feels!! *HUGS*
What language are you coding in? I know in PHP the include code format is
but I don't know about any others :/
Sounds like one of your files isn't including correctly, in any case. Is there a comma where there's supposed to be a semicolon, etc.? Sometimes the tiniest things can throw off code >_< *has learned from hours of screaming at the computer xD*
Re: literally in tears
Posted: Thu Mar 17, 2016 10:21 pm
by FandomSavant
AdriCULOUS wrote:Can you paste your code(s) here? Or if you can provide a zip file of sample files including your includes, that'd be helpful too. ^^
OMG! It just started working! I had been trying to include the style sheet as part of the .txt file. Once I put it in its own .css file, then referenced it in the .txt, it worked! WOOO!!!!
I SWEAR I tried that earlier and it didn't work.
Re: literally in tears
Posted: Thu Mar 17, 2016 10:23 pm
by FandomSavant
Robin wrote:I know these feels!! *HUGS*
What language are you coding in? I know in PHP the include code format is
but I don't know about any others :/
Sounds like one of your files isn't including correctly, in any case. Is there a comma where there's supposed to be a semicolon, etc.? Sometimes the tiniest things can throw off code >_< *has learned from hours of screaming at the computer xD*
HTML and CSS... I use PHP for contact forms and such, but that's about it. I really should become more familiar with it.
The good part is it's working now. Huzzah!
Re: RESOLVED: literally in tears
Posted: Fri Mar 18, 2016 8:04 am
by nyxmidnight
Hurray for solved problems!
Re: RESOLVED: literally in tears
Posted: Fri Mar 18, 2016 10:26 am
by Robin
YAY!!!!! Squashing code bugs = WIN :D
Re: RESOLVED: literally in tears
Posted: Sun Mar 20, 2016 5:58 am
by Laura
This is exactly why I'm not a programmer. xD
Glad you got it working though!
Re: RESOLVED: literally in tears
Posted: Sun Mar 20, 2016 9:42 pm
by FandomSavant
It was so sad. Thankfully shortly lived sadness.