Thank you for your time Bob.
(FWIW, it’s STILL raining regularly on us webfoots, you’re probably best off wherever you are for a while yet... you might want to stock up on Vit. D while you can.)
OK... sent the page through the validator. Most of the errors came from the 1040px boilerplate head and the EZFAQ code. I need to locate the extra body tag and find out why I styled an image outside of the CSS but it doesn’t seem to show much else is funky that I’d know how to fix. I’ve attached the results for interested parties.
I have the header and footer in chunks, although I hadn’t inserted my html into the footer till after I posted yesterday (it did have the default from the boilerplate download which had a closing </div> tag at the top as a "just in case something didn’t get closed" which hasn’t shown in the validator so it does seem possible one of the divs didn’t get closed). Since the template calls the header and footer chunks, wouldn’t that mean that the entire <head></head> and <body></body>
is in the template? I placed the [*content] within the bg image expecting the FAQ to show on top of the image, which it did nicely apart from the separation issue.
I don’t understand this part. Stuff got switched out in the resulting code. Originally this line in the header read as follows:
<meta name="description" content="[[*introtext:empty=`[[*content:strip_tags:strip]]`:limit=`200`]]">
(for reference if needed, surrounding code)
<base href="[[++site_url]]" />
<meta charset="[[++modx_charset:lcase]]" />
<title>[[++site_name]] - [[*pagetitle]]</title>
<!-- change RSS ID or remove next line -->
<link rel="alternate" type="application/rss+xml" title="[[++site_name]] RSS Feed" href="[[~1]]">
<meta name="description" content="[[*introtext:empty=`[[*content:strip_tags:strip]]`:limit=`200`]]">
<meta name="author" content="[[If? &subject=`[[*publishedby]]` &operator=`>` &operand=`0` &then=`[[*publishedby:userinfo=`fullname`]]` &else=`[[*createdby:userinfo=`fullname`]]`]]" />
<meta name="keywords" content="" />
<!-- Specify URL to favicon and Apple touch icon if not located in root directory ELSE delete this tags -->
<link rel="shortcut icon" href="[[++site_url]]favicon.ico">
<link rel="apple-touch-icon" href="[[++site_url]]apple-touch-icon.png">
Yet the resulting output from MODx is this:
<base href="http://localhost/adjuster/" />
<meta charset="utf-8" />
<title>The Compass Adjuster - FAQ</title>
<!-- change RSS ID or remove next line -->
<link rel="alternate" type="application/rss+xml" title="The Compass Adjuster RSS Feed" href="index.php?id=1">
<meta name="description" content="<div class="faqExpand"><p>Click on a question to expand the answer</p><a href="javascript:faq.sweepToggle('expand')"> Show All </a> <a href="javascript:faq.sweepToggle('contract')"> Hide All </a></div><div class="faqContainer">
<p id="faq0-title" class="handcursor"><span class="faqQuestion">does this work?
</span></p><div id="faq0" class="switchgroup1">probably not
</div></div>
<script type="text/javascript">;
var faq=new switchcontent("switchgroup1", "div");
faq.setStatus('[-] ','[+] ');
faq.setColor("red", "black");
faq.setPersist(true);
faq.collapsePrevious(true);
faq.defaultExpanded("");
faq.init();
</script>
">
<meta name="author" content="" />
<meta name="keywords" content="" />
<!-- Specify URL to favicon and Apple touch icon if not located in root directory ELSE delete this tags -->
<link rel="shortcut icon" href="http://localhost/adjuster/favicon.ico">
<link rel="apple-touch-icon" href="http://localhost/adjuster/apple-touch-icon.png">
To this untrained eye, it’s this line that isn’t rendering properly. Correct? The strip tag portion stripped the closing "> right out and it looks like EZFAQ found a place to begin nesting in the head itself...
<meta name="description" content="<div class="faqExpand">
Being still unfamiliar with MODx, I wouldn’t begin to know how to fix it. My studies haven’t ventured into strip tags just yet.
Am I on the right track here?
Thank you again,
Kori
Moderators may notice I’ve managed to log in with my original/preferred registration and I apologize for the double accounts but when I first subbed, this account would not log in so I created another so I could post. I hope for forgiveness, and I will use this one exclusively now that I have successfully logged in with it. Flog me if you must but I am, have been, and always will be frogabog (without a 2). Frogabog shudders at being forced to be anything but, especially a number...