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.
RESOLVED: literally in tears
- FandomSavant
- Posts: 205
- Joined: Fri Mar 11, 2016 3:52 pm
- Location: California, USA
- Contact:
RESOLVED: literally in tears
Last edited by FandomSavant on Thu Mar 17, 2016 10:31 pm, edited 1 time in total.
-
- Events Staffer
- Posts: 3072
- Joined: Thu Aug 07, 2014 3:15 pm
- Location: North Carolina, USA
- Contact:
Re: literally in tears
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*
What language are you coding in? I know in PHP the include code format is
Code: Select all
<?php include('include.php'); ?>
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*
- FandomSavant
- Posts: 205
- Joined: Fri Mar 11, 2016 3:52 pm
- Location: California, USA
- Contact:
Re: literally in tears
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.
- FandomSavant
- Posts: 205
- Joined: Fri Mar 11, 2016 3:52 pm
- Location: California, USA
- Contact:
Re: literally in tears
HTML and CSS... I use PHP for contact forms and such, but that's about it. I really should become more familiar with it.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 :/Code: Select all
<?php include('include.php'); ?>
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*
The good part is it's working now. Huzzah!
-
- Communications Staffer
- Posts: 1078
- Joined: Sat Oct 13, 2012 7:55 pm
- Location: Canada
- Contact:
Re: RESOLVED: literally in tears
Hurray for solved problems!
Join in the Tale, in the Blight, of Conquest and Lies
Come the Sun, to Tarnish in the Sky
Vow that we shall Tear the Light - Dark seizes the Throne
Lost in thoughts, all alone
Come the Sun, to Tarnish in the Sky
Vow that we shall Tear the Light - Dark seizes the Throne
Lost in thoughts, all alone
-
- Events Staffer
- Posts: 3072
- Joined: Thu Aug 07, 2014 3:15 pm
- Location: North Carolina, USA
- Contact:
Re: RESOLVED: literally in tears
YAY!!!!! Squashing code bugs = WIN :D
Re: RESOLVED: literally in tears
This is exactly why I'm not a programmer. xD
Glad you got it working though!
Glad you got it working though!
- Laura
Genrou.com, Dramata.org & All-Blue.org
Genrou.com, Dramata.org & All-Blue.org
- FandomSavant
- Posts: 205
- Joined: Fri Mar 11, 2016 3:52 pm
- Location: California, USA
- Contact:
Re: RESOLVED: literally in tears
It was so sad. Thankfully shortly lived sadness.