Logged Out
Create an Account
Login:
Password:

Forgot your password?
I tried to create a new menu item and it is all messed up now


Back to the Tickets List

I tried to create a new menu item and it is all messed up now
Creator Veilbrock
Public or Private Public
Private tickets are only accessible to you and to DKPSystem.com staff
Public Tickets are visible to everyone)
Status Open
Type Support
Section of the Site Advanced Layout Options and CSS
Urgency (1 votes)
Rating (0 votes)
Description:
OK so i tried to add a new menu item i pasted my own code and then hit save and the page is all messed up now lol OOPS please help. The menu i added was WOW Search not sure if that may help...
Official DKPSystem.com Comments
No official comments yet

User-Submitted Comments
These posts are also available on the forum with more features. This page is intentional simplified

View this info on the forum
[You must be logged in to post comments]
5511 days ago
Chops Said:
Hmm..I'm not seeing anything busted on your site. Did you fix it?
[You must be logged in to reply]
5510 days ago
Veilbrock Said:
haha yeah i was up till late last night and i figured it out kinda, I was able to remove the menu. but i still have the html i want to pase but i do nto know whats wrong with it...
[You must be logged in to reply]
5510 days ago
Chops Said:
IF you head to Admin > Menus > Menu Administration, then click "Add new Item to this menu", you can make an HTML page to test the code with. That way, you don't have to test it on the menu itself, and if you break it, you just change pages and it goes away.

Otherwise, you could post the HTML here (perhaps paste it into a text file and upload it here, and I'll have a look).
[You must be logged in to reply]
5510 days ago
Veilbrock Said:
that is how i created it yesterday and that is when it messed up my page lol. I just did it again here is what i cut and pasted in the box

<tr>
<td align='center'><a title='WoWhead' href='http://www.wowhead.com/'><img src='http://dkpfiles.com/theorderofcatharsis/files/whlogo.gif' border='0'></a></td>
<td align='center'><a title='Thottbot' href='http://www.thottbot.com/'><img src='http://dkpfiles.com/theorderofcatharsis/files/tblogo.gif' border='0'></a></td>

<td align='center'><a title='Allakhazam' href='http://wow.allakhazam.com/'><img src='http://dkpfiles.com/theorderofcatharsis/files/alalogo.gif' border='0'></a></td>
</tr>
<tr>
<td align='center'><input title='WoWhead' type='radio' name='engine' value='http://www.wowhead.com/?search=' checked></td>
<td align='center'><input title='Thottbot' type='radio' name='engine' value='http://thottbot.com/?s='></td>
<td align='center'><input title='Allakhazam' type='radio' name='engine' value='http://wow.allakhazam.com/search.html?q='></td>
</tr>
<tr><td height='8'></td></tr>
<tr>
<td align='center' colspan='3'><img src='http://dkpfiles.com/theorderofcatharsis/files/bullet.gif'>&nbsp;<input title='Enter some text to search' class='textbox' name='search_for' style='width: 140px;' onfocus='this.select()' type='text'>&nbsp;<img src='http://dkpfiles.com/theorderofcatharsis/files/bulletb.gif'></td>
</tr>
</table>

I did this here Admin > Menus > Menu Administration, then click "Add new Item to this menu" and if you look at the site now it is all messed up

PS i know i can fix this of i go to views in firefox and choose no style i can see the menu to remove the menu item...

Update: i figured it out i added <html></html> to the beginning and then end and then deleted the </table> at the end lol i could not figure it out
[You must be logged in to reply]
5510 days ago
Chops Said:
Also bear in mind, you are opening with <tr>, which you should be opening with <table>. That's the big problem there.

When you were opening with TR, you were adding a row to table in the layout, and then when you did </table>, you were closing a layout table (that is, a table that's used in the layout of your site), causing the remaining menus to freak out.

But if you open with <table> and close with </table>, you should be good to go. In your case, because you're opening with <tr> and closing with </tr>, it's just adding a row to an existing table, which happens to work alright for your current template, but if you were to change templates, it's not guaranteed to work.
[You must be logged in to reply]
5510 days ago
Veilbrock Said:
Great thanks for all your help I added <table></table>
[You must be logged in to reply]