http://www.vgrealms.com/index.php?module=htmlpages&func=display&pid=7
If you look at the page above, you'll notice that my Main Menu has lost most of its CSS formatting and also there is an extra HR below the block. This happens in a few modules (in fact most non-standard modules). I'm sure this must be a common problem with an easy work around... right? Help would be awesome here.
edited by: norsejeff, Mar 08, 2007 - 09:56 PM
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
All non-core blocks hate my main menu!
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
While this may not be the cause of the problem the first thing you must do is fix the HTML in your site as it's completely messed up - and could well be the cause of the problem.
If you view the source of the page you've linked to there is, amongst other things, no doctype at the top of the page but there is an entire HTML page (including doctype) embedded within the main page.
Once your HTML validates then any remaining issues will be far easier to sort out.
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 26
Oh wow, that's that amazon code I put in the block. Let me edit that nonsense out and see if that does it.
Edit: Okay, I got rid of all those strange tags, but the problem is still there. It only happens on the non-standard modules, so it's gotta be something in my code somewhere, I just don't know where to look.
edited by: norsejeff, Mar 08, 2007 - 11:11 PM -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
Again while it's probably not the cause there are far more issues with the HTML than the added amazon code. But with all these errors it makes locating the real one virtually impossible!
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 26
Hmm.. I just used photoshop to chop up my site design into a layout, then dreamweaver to place the tags in it.. I have no idea what is wrong with the HTML as I'm not a super-savvy HTML coder or anything. Could you probably point out a few of the more obvious errors for me?
Edit: I might be a total idiot, hold on.
Edit2: Ah yes, I'm pretty stupid. mainmenu.htm anyone?
edited by: norsejeff, Mar 08, 2007 - 11:43 PM -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
Looking at the validation report for the linked page some of the most obvious errors are
1) Your page template(s) have two closing head tags
2) If you use an XHTML doctype any meta tags must be closed properly (Note the trailing /
3) Lots of places where the background attribute is used on the td tag - this isn't valid HTML and is down the slicing which, to be blunt, produces crap!
4) Some images missing alt tags
5) Some &'s not encoded at it HTML entity properly (as &)
Of those the closing head tag twice is the one thats the likely spanner in the works. However without looking at 100+ errors individually it's difficult to guess the cause.
-Mark
--
Visit My homepage and Zikula themes.
- Moderated by:
- Support
