Closed (fixed)
Project:
Advanced Forum
Version:
6.x-2.x-dev
Component:
Styles
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2010 at 01:13 UTC
Updated:
18 Oct 2010 at 23:50 UTC
I was validating my xhtml 1.0 strict forum and I came accros some errors.
first, a duplicated id in the topic list in conflict with the id id in the login form (both were taking the edit-submit id)
I modified the code to look like this
$form['inline']['submit'] = array(
'#id' => 'sort-topic-submit',
'#name' => '',
'#type' => 'submit',
'#value' => t('Sort'),
);
in that same form the id of the form it's empty because the variable drop tokens is set to to TRUE in advanced_forum_forum_topic_list_sort and that makes ctools_build_form to empty the id. I don't know how to solve this.
I found this empty id too in the forum topic page
<div id="" class="forum-post clear-block es">
Comments
Comment #1
michelleOk, I consulted with merlinofchaos, who wrote that code, and he said there's no harm in adding the ID so I did. Neither of us know what you're talking about with the drop tokens. If you want something done there, you'll need to be clearer. The other ID is another issue that's already been fixed.
In the future, it would help if you'd be more specific about what code you're changing so the maintainer doesn't have to go spelunking. :)
Michelle