Totally messed up the main menu Posted by BoliaKukur 27 Dec 2007 14:57 UTC I totally messed up my main menu, the menu with the 42 id I mean 😡. Sob!! Sob!! 😑 Any way go revert back to the old structure???? TIA.
Posted by George Greene 27 Dec 2007 18:07 UTC When I enter the land of boneheadedness (and I often do!) I replace the altered file with a clean copy of the original (or the last working copy of the altered file) via ftp, to the appropriate directory at my host. You will need to download your current version of Tiki to your desktop, unzip it, open a beer and spend time figuring out exactly which file/template defines Menu 42. Maybe someone here could point you to it. Another thing I usually do, again by ftp, is to download to my local computer an original copy of any file I plan to change before I change it. I also then download the changed version and keep them all in a Tiki-Changes folder with some notes about what I did/intended to do and noting line #s. This way I can restore files I've screwed up with an original or the last good working version. Also, if I upgrade Tiki to a new version I can look at my changes and replicate them in the new version of the file if necessary (sometimes things I changed are "fixed" in later versions).
Posted by BoliaKukur 28 Dec 2007 02:16 UTC Thank u indeed Mr. Unclegeo. But I do not think the menus are stored in some files. To the best of my scanty knowledge, the menu structures r hidden in the database. I can hunt down the menu structure in the database, but the boneheadness in me allowed me to mess up the menu in a live site!! So no more tinkering; Otherwise I might mess up some permissions, dependencies etc. Anyway thanks 4 ur suggestions; I will acquaint myself with the menu in a offline site n then proceed to doing the operation in the live site. Thanks again. TC.
Posted by Rick Sapir / Tiki for Smarties 29 Dec 2007 13:50 UTC > I totally messed up my main menu, the menu with the 42 id I mean 😡. Sob!! Sob!! 😑 > > Any way go revert back to the old structure???? > You need to re-create the tiki_menu_options table in the database. Look at the install SQL script that you ran originally. You should be able to simply re-run the CREATE statement for the table. HTH, -Rick Need more help? Try TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.