Comic Fury Webcomic Hosting - Avatars for ye but not for me

You are not logged in. Log in, Register, More info
Forum > Layouts, HTML, CSS & Javascript > Avatars for ye but not for me
Pages: [1]

"Avatars for ye but not for me", One week ago, 2:05 AM #1
Morgenstern
Fun-sized
User avatar
Posts: 429
Registration date: 17th Jun 2010
hello I could probably figure this out myself but I'm lazy and wanna ask first

on my new layout I want regular comments to have avatars and names and dates, but for author's notes to not have those things. I want author notes to just be the text of the note itself.

Is this doable? Is it actually really easy and I'm just that lazy? Did I ask before and forget? I'm becoming an old man and I was never much of a CSSthetician
_______________________
image
image
One week ago, 8:42 AM #2
Kyo
🐊
User avatar
Posts: 18251
Registration date: 6th Jul 2008
Location: the swamp
author notes are a separate loop from comments, so just look for [l:authornotes] and start chopping stuff within that loop
_______________________
hello
6 days ago, 3:06 AM #3
Morgenstern
Fun-sized
User avatar
Posts: 429
Registration date: 17th Jun 2010
so you're right and I did this and it worked, however

and this is what I was afraid of

I have a unique gift for fucking things up in an immense and often unusual fashion, and somehow while butchering the code up I hit some big support code that totally obliterated the archives page

but as far as I can tell, only the archive page: http://mda.thecomicseries.com/

everything else works fine...? But the archive page's html is the same as it was at the beginning when it worked perfectly fine, which means I goofed something in the main / other code that kind of trickled down to break the archive tables

I don't know if I need to like, post code to get help with this or what, I thought everything was cool until I clicked archive and it was like the ark of the covenant opening in there
_______________________
image
image
6 days ago, 9:02 AM #4
Kyo
🐊
User avatar
Posts: 18251
Registration date: 6th Jul 2008
Location: the swamp
the archive page doesn't have your layout CSS on it, so I would say somehow it gets eaten by a condition most likely. Can you post your overall code?

And a tip for next time, besides or below the layout editor (depending on your screen width), you will find a box labeled "useful" - it contains a link titled "Download Layout Backup" - it's a good idea to download a backup before making changes, especially if you're not sure if you're gonna break something.
_______________________
hello
6 days ago, 9:33 AM #5
Morgenstern
Fun-sized
User avatar
Posts: 429
Registration date: 17th Jun 2010
I swear to god I'm normally better about making back ups, but by the time I even thought to click Archives I had already gotten way, way too much progress done. It all looked fine from the front! Thank you


Overall Top Half:


Overall Bottom Half:



I have dicked with a lot of stuff and am very bad at code. It looks great, though.
_______________________
image
image
6 days ago, 9:47 AM #6
Kyo
🐊
User avatar
Posts: 18251
Registration date: 6th Jul 2008
Location: the swamp
looks like you chopped off a closing tag from a condition. It should actually warn you about this on the layout editor (though it does not prevent saving), unless you had a surplus closing tag somewhere else later on.

So this block of code is the problem:

        [c:iscomicpage]
            [c:!isfirstcomic]
                <link rel="prev" href="[v:prevcomic]" />
            [/]
            [c:!islastcomic]
                <link rel="next" href="[v:nextcomic]" />
            [/]
            <meta property="og:type" content="website" />
            <meta property="og:title" content="[v:webcomicname]" />
            <meta property="og:description" content="[v:pagetitle]" />
            <meta property="og:url" content="[v:permalink]" />
            <meta name="twitter:card" content="summary_large_image" />
            <meta name="twitter:title" content="[v:webcomicname]" />
            <meta name="twitter:description" content="[v:pagetitle]" />
            [c:comicimagetype=image]
                <meta property="og:image" content="[v:comicimageurl]" />
                <meta property="og:image:width" content="[v:comicwidth]" />
                <meta property="og:image:height" content="[v:comicheight]" />
                <meta name="twitter:image" content="[v:comicimageurl]" />
            [/]
        


it's missing a closing tag, so at the end of it, just pop a
        [/]
        


and you should be good to go


e: I went and checked and you do actually also have a surplus closing tag later on, surpressing the warning (since everything seems balanced)


                    <!-- Replace the link in <img> tag below with your custom picture link. The default image is 200x200px -->
                    
                    [/]


get rid of that one as well and it will warn you in the future if you mess up. Plus it might otherwise show up in your layout.


When editing/adding/removing conditions, make sure to always get rid of the start [c:blahblah] and the end tag [/] in even numbers - otherwise wild stuff can start to happen to your layout, as whole blocks of code get hidden by unclosed conditions
_______________________
hello
6 days ago, 10:15 AM #7
Morgenstern
Fun-sized
User avatar
Posts: 429
Registration date: 17th Jun 2010
you are my hero, kyo
_______________________
image
image
Forum > Layouts, HTML, CSS & Javascript > Avatars for ye but not for me
Pages: [1]