RESOLVED: literally in tears

Everything related to the visual and coding aspects of websites.
User avatar
FandomSavant
Posts: 205
Joined: Fri Mar 11, 2016 3:52 pm
Location: California, USA
Contact:

RESOLVED: literally in tears

Post 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 :sad: 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.
Last edited by FandomSavant on Thu Mar 17, 2016 10:31 pm, edited 1 time in total.

Hi! I'm Patricia.

FandomSavant.com - home of my stuff
Twitter: @FandomSavant
Robin
Events Staffer
Posts: 3072
Joined: Thu Aug 07, 2014 3:15 pm
Location: North Carolina, USA
Contact:

Re: literally in tears

Post by Robin »

I know these feels!! *HUGS*

What language are you coding in? I know in PHP the include code format is

Code: Select all

<?php include('include.php'); ?>
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*
~ a dream is a wish your heart makes ~
withinmyworld.org
User avatar
FandomSavant
Posts: 205
Joined: Fri Mar 11, 2016 3:52 pm
Location: California, USA
Contact:

Re: literally in tears

Post 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.

Hi! I'm Patricia.

FandomSavant.com - home of my stuff
Twitter: @FandomSavant
User avatar
FandomSavant
Posts: 205
Joined: Fri Mar 11, 2016 3:52 pm
Location: California, USA
Contact:

Re: literally in tears

Post by FandomSavant »

Robin wrote:I know these feels!! *HUGS*

What language are you coding in? I know in PHP the include code format is

Code: Select all

<?php include('include.php'); ?>
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!

Hi! I'm Patricia.

FandomSavant.com - home of my stuff
Twitter: @FandomSavant
nyxmidnight
Communications Staffer
Posts: 1078
Joined: Sat Oct 13, 2012 7:55 pm
Location: Canada
Contact:

Re: RESOLVED: literally in tears

Post by nyxmidnight »

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
Robin
Events Staffer
Posts: 3072
Joined: Thu Aug 07, 2014 3:15 pm
Location: North Carolina, USA
Contact:

Re: RESOLVED: literally in tears

Post by Robin »

YAY!!!!! Squashing code bugs = WIN :D
~ a dream is a wish your heart makes ~
withinmyworld.org
Laura
Posts: 499
Joined: Sun Apr 27, 2014 2:10 am
Location: Ontario, Canada
Contact:

Re: RESOLVED: literally in tears

Post by Laura »

This is exactly why I'm not a programmer. xD

Glad you got it working though!
User avatar
FandomSavant
Posts: 205
Joined: Fri Mar 11, 2016 3:52 pm
Location: California, USA
Contact:

Re: RESOLVED: literally in tears

Post by FandomSavant »

It was so sad. Thankfully shortly lived sadness.

Hi! I'm Patricia.

FandomSavant.com - home of my stuff
Twitter: @FandomSavant
Post Reply