Created By: | the7thGhost (http://www.simplemachines.org/community/index.php?action=profile;u=232950) (View my other mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=232950)) |
Latest Version: | 0.2.6 |
Languages: | (http://www.simplemachines.org/site_images/lang/english.gif) (http://www.simplemachines.org/site_images/lang/english_british.gif) (http://www.simplemachines.org/site_images/lang/arabic.gif) (http://www.simplemachines.org/site_images/lang/danish.gif) (http://www.simplemachines.org/site_images/lang/german.gif) (http://www.simplemachines.org/site_images/lang/italian.gif) (http://www.simplemachines.org/site_images/lang/romanian.gif) (http://www.simplemachines.org/site_images/lang/spanish.gif) (http://www.simplemachines.org/site_images/lang/russian.gif) (http://www.simplemachines.org/site_images/lang/turkish.gif) |
$txt['menu_order'] = 'Menu Order';
$txt['menuorder_howsort?'] = 'How do you want to sort menu items?';
$txt['menuorder_sortbybuttons'] = 'Up/Down Buttons';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'hide';
$txt['menuorder_show'] = 'show';
$txt['menuorder_edit'] = 'edit';
$txt['menuorder_up'] = 'up';
$txt['menuorder_down'] = 'down';
$txt['menuorder_save'] = 'Save';
$txt['menuorder_saveorder'] = 'Save Order';
$txt['menuorder_sortchanged'] = 'Menu sort method has been changed to "%s".';
$txt['menuorder_jssortsuccess'] = 'Menu item order has been saved.';
$txt['menuorder_hidesuccess'] = '"%s" has been hidden.';
$txt['menuorder_showsuccess'] = '"%s" is now visible.';
$txt['menuorder_renamesuccess'] = '"%s" has been renamed to "%s".';
$txt['menuorder_upsuccess'] = '"%s" has been moved up.';
$txt['menuorder_downsuccess'] = '"%s" has been moved down.';
// begin "Menu Order" edit //
$txt['menu_order'] = 'Ordonare Meniu';
$txt['menuorder_edit'] = 'modifica';
$txt['menuorder_up'] = 'sus';
$txt['menuorder_down'] = 'jos';
$txt['menuorder_save'] = 'Salveaza';
$txt['menuorder_renamesuccess'] = '"%s" a fost redenumit in "%s".';
$txt['menuorder_upsuccess'] = '"%s" a fost mutat sus.';
$txt['menuorder_downsuccess'] = '"%s" a fost mutat jos.';
Quote from: Kcmartz on January 16, 2010, 11:43:06 PMAdmin section > Configuration > Menu Order
I can't find the option to edit them.
Quote from: Dismal Shadow on January 17, 2010, 03:19:59 AM1) I thought about doing it that way, but it would take slightly longer to code, and personally, I don't really like that way. Perhaps in the future it will have both ways of moving.
1) Slow but can be better, similar the way you can move the boards in SMF.
2) Have the option the hide them.
What happen if I uninstall it? Will it restore the order?
Quote from: -=[Vyorel]=- on January 17, 2010, 04:55:54 AMThanks for the translation, it will appear in the very next release.
Romanian
Quote from: ABCDiamond on January 19, 2010, 08:09:30 AMNot that I know of. I don't have plans to make a 1.1.x version unless a lot of people request it. Then I would have to spend time finding out how 1.1 works...
Is there anything like this for v1.1.11 ?
Quote from: the7thGhost on January 19, 2010, 07:07:52 PMPity. Maybe I will have to look at v2...
Not that I know of. I don't have plans to make a 1.1.x version unless a lot of people request it. Then I would have to spend time finding out how 1.1 works...
Quote from: kingkingston on January 20, 2010, 03:17:53 AM
This mod is pretty good,just a suggestion for future realeases,maybe add the ability to create tabs and rearange the links in certain catorgories or sections that you create,it might be a good addition so that users can make the link list look tidy and fancy :)
Quote from: kingkingston on January 20, 2010, 03:17:53 AMI was thinking about that when I first made it, but decided to make it really simple to start with. I might put that into a future release.
This mod is pretty good,just a suggestion for future realeases,maybe add the ability to create tabs and rearange the links in certain catorgories or sections that you create,it might be a good addition so that users can make the link list look tidy and fancy :)
Quote from: Stigmartyr on January 22, 2010, 11:17:07 PMI'll look into it. Thanks for letting me know.
However there is one major flaw: When I am using Ajax Chat or Aeva Media gallery, the button that would normally display dynamic content such as Chat (#users) will no longer display the number of users.
Quote from: Bugo on January 23, 2010, 01:27:00 AMThanks!
Russian language files
Quote from: the7thGhost on January 25, 2010, 06:45:26 PM
I'll look into it. Thanks for letting me know.
$txt['menu_order'] = 'Ordonare Meniu';
$txt['menuorder_howsort?'] = 'Cum doriti sa ordonati meniul?';
$txt['menuorder_sortbybuttons'] = 'Butoane Sus/Jos';
$txt['menuorder_sortbyjs'] = 'Script java';
$txt['menuorder_hide'] = 'ascunde';
$txt['menuorder_show'] = 'arata';
$txt['menuorder_edit'] = 'modifica';
$txt['menuorder_up'] = 'sus';
$txt['menuorder_down'] = 'jos';
$txt['menuorder_save'] = 'Salveaza';
$txt['menuorder_saveorder'] = 'Salveaza Ordinea';
$txt['menuorder_sortchanged'] = 'Metoda de ordonare a meniului a fost schimbata in "%s".';
$txt['menuorder_jssortsuccess'] = 'Ordinea meniului a fost salvata.';
$txt['menuorder_hidesuccess'] = '"%s" a fost ascuns.';
$txt['menuorder_showsuccess'] = '"%s" este acum vizibil.';
$txt['menuorder_renamesuccess'] = '"%s" a fost modificat in "%s".';
$txt['menuorder_upsuccess'] = '"%s" a fost mutat sus.';
$txt['menuorder_downsuccess'] = '"%s" a fost mutat jos.';
Quote from: Stigmartyr on January 27, 2010, 04:48:28 AM
Thank you, Ghost, but oddly the dynamic behaviors are still not working for me. Dynamic behaviors still wont show on my site.
I am running SMF2 RC2, with a curve derived theme.
I join my Ajax Chat room and the chat button should say: Chat [1] but it still shows no number of users. I have tried to copy theme and scripts files to my theme (5th RC2) trying to see if that was the issue and it does not work.
The javascript feature works fine for me however. Is this an issue with the Curve based theme perhaps? Or is there still something I need to correct on my end?
Quote from: the7thGhost on January 27, 2010, 12:07:16 AMHow ?Version 0.2 released!
The bug reported by Stigmartyr is fixed, so far as I can tell.
You can now drag-and-drop the menu items by selecting "Javascript" mode. There is no handle to drag with, just drag anywhere.
Russian and Romanian language files are added, but I've doubled the amount of text in this version, so half is still in English... :P
As Dismal Shadow suggested, you can now hide menu items. When on the admin page all menu items are shown, regardless of whether they should be hidden or not. If you hide the admin page itself, just go to index.php?action=admin - the pages aren't disabled, just hidden from the menu.
Quote from: kingkingston on January 27, 2010, 12:00:50 PMQuote from: the7thGhost on January 27, 2010, 12:07:16 AMHow ?Version 0.2 released!
The bug reported by Stigmartyr is fixed, so far as I can tell.
You can now drag-and-drop the menu items by selecting "Javascript" mode. There is no handle to drag with, just drag anywhere.
Russian and Romanian language files are added, but I've doubled the amount of text in this version, so half is still in English... :P
As Dismal Shadow suggested, you can now hide menu items. When on the admin page all menu items are shown, regardless of whether they should be hidden or not. If you hide the admin page itself, just go to index.php?action=admin - the pages aren't disabled, just hidden from the menu.
Quote from: Brack1 on January 27, 2010, 05:44:36 AMQuote from: Stigmartyr on January 27, 2010, 04:48:28 AM
Thank you, Ghost, but oddly the dynamic behaviors are still not working for me. Dynamic behaviors still wont show on my site.
I am running SMF2 RC2, with a curve derived theme.
I join my Ajax Chat room and the chat button should say: Chat [1] but it still shows no number of users. I have tried to copy theme and scripts files to my theme (5th RC2) trying to see if that was the issue and it does not work.
The javascript feature works fine for me however. Is this an issue with the Curve based theme perhaps? Or is there still something I need to correct on my end?
It may be an idea to mention this problem in the chats own topic.
I also use ajax chat integration mod and like the potential this menu order mod has.
Quote from: Stigmartyr on January 27, 2010, 12:31:26 PMThis is the menu settings page right,i still don't see the drag and drop featureQuote from: kingkingston on January 27, 2010, 12:00:50 PMQuote from: the7thGhost on January 27, 2010, 12:07:16 AMHow ?Version 0.2 released!
The bug reported by Stigmartyr is fixed, so far as I can tell.
You can now drag-and-drop the menu items by selecting "Javascript" mode. There is no handle to drag with, just drag anywhere.
Russian and Romanian language files are added, but I've doubled the amount of text in this version, so half is still in English... :P
As Dismal Shadow suggested, you can now hide menu items. When on the admin page all menu items are shown, regardless of whether they should be hidden or not. If you hide the admin page itself, just go to index.php?action=admin - the pages aren't disabled, just hidden from the menu.
It's listed in the right above the menu settings page itself. Look there you should find a drop down menu.
Quote from: Stigmartyr on January 27, 2010, 04:31:25 PM
Once you have javascript mod saved and you go to grab a row and move it around will it work? It doesn't look any different, you have to actually click and drag the row.
Quote from: Dismal Shadow on January 27, 2010, 04:55:55 PMQuote from: Stigmartyr on January 27, 2010, 04:31:25 PM
Once you have javascript mod saved and you go to grab a row and move it around will it work? It doesn't look any different, you have to actually click and drag the row.
Not on my end.
Quote from: Dismal Shadow on January 27, 2010, 05:15:45 PM
Good point, my custom theme does have the script folder with no menuorder.js but the default does. However I switched to default theme, the issue is the same, cannot drag in drop.
Quote from: the7thGhost on January 27, 2010, 08:30:52 PM
Everything works fine for me, Aeva shows the dynamic text and javascript works. This is using CS4, which has its own scripts file.
Which Aeva version are you using, which chat mod are you using (I couldn't find it), and what theme are you using?
Also are you using RC2 or RC1.2?
$txt['menu_order'] = 'Menü Sırası';
$txt['menuorder_howsort?'] = 'Menü öğelerini nasıl sıralamak istersiniz ?';
$txt['menuorder_sortbybuttons'] = 'Yukarı/Aşağı Buttonları';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'gizle';
$txt['menuorder_show'] = 'göster';
$txt['menuorder_edit'] = 'düzenle';
$txt['menuorder_up'] = 'yukarı';
$txt['menuorder_down'] = 'aşağı';
$txt['menuorder_save'] = 'Kaydet';
$txt['menuorder_saveorder'] = 'Sıralamayı Kaydet';
$txt['menuorder_sortchanged'] = 'Menü düzeni "%s".' şeklinde değiştirildi;
$txt['menuorder_jssortsuccess'] = 'Menü sıralaması kaydedildi.';
$txt['menuorder_hidesuccess'] = '"%s" gizlendi.';
$txt['menuorder_showsuccess'] = '"%s" görünür oldu.';
$txt['menuorder_renamesuccess'] = '"%s" buttonu "%s" olarak değiltirildi.';
$txt['menuorder_upsuccess'] = '"%s" yukarı taşındı.';
$txt['menuorder_downsuccess'] = '"%s" aşağı taşındı.';
Quote from: farao25 on February 13, 2010, 07:04:05 PM
Nice mod
Everything works fine except from the fact i can't get it work with custom menu buttons (http://custom.simplemachines.org/mods/index.php?mod=1421). I see the custom menu buttons but i can't move them up/down. Is there any fix ?
foreach($menutitles as $key => $value) {
if (!empty($menutitles)
{
foreach($menutitles as $key => $value)
// end "Menu Order" edit //
foreach($context['menu_buttons'] as $key => $button)
if (empty($button['href'])) unset($context['menu_buttons'][$key]);
Quote from: live627 on March 02, 2010, 10:02:39 PMI can try, unfortunately, I use a dropdown list now.
You were getting the exact samee errors as me. Did you try the code edit?
Quote from: live627 on March 02, 2010, 10:02:39 PM
You were getting the exact samee errors as me. Did you try the code edit?
Apply Filter: Only show the error messages of this URL
http://www.**********.com/forum/index.php?board=20.0
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /home/****/****/forum/Themes/*****/MessageIndex.template.php (eval?)
Line: 335
Quote from: the7thGhost on March 04, 2010, 10:27:55 PMI don't mind giving you an admin test account if you want? I have a test site which shows some errors.
:'( Are they all from after you installed this version of the mod? If they are, can I see a screenshot?
Quote from: the7thGhost on March 04, 2010, 09:36:24 PM
Hey,
Sorry it took so long to get to this, I've had a LOT of homework lately, and that always has to come before programming...
Try the attached mod and see if it fixes the problem; if it does, please let me know.
Quote from: siklife on March 05, 2010, 10:00:36 PMYou're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.
Seems to be working! Great job! Great mod!
$txt['menu_order'] = 'Orden del Menú';
$txt['menuorder_howsort?'] = 'Como quieres ordenar los objetos del menú?';
$txt['menuorder_sortbybuttons'] = 'Botones Arriba/Abajo';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'esconder';
$txt['menuorder_show'] = 'mostrar';
$txt['menuorder_edit'] = 'editar';
$txt['menuorder_up'] = 'arriba';
$txt['menuorder_down'] = 'abajo';
$txt['menuorder_save'] = 'Guardar';
$txt['menuorder_saveorder'] = 'Guardar Orden';
$txt['menuorder_sortchanged'] = 'Método de ordenado del menú fue cambiado a "%s".';
$txt['menuorder_jssortsuccess'] = 'Objeto del menú fue guardado.';
$txt['menuorder_hidesuccess'] = '"%s" fue escondido.';
$txt['menuorder_showsuccess'] = '"%s" es ahora visible.';
$txt['menuorder_renamesuccess'] = '"%s" fue renombrado a "%s".';
$txt['menuorder_upsuccess'] = '"%s" fue movido arriba.';
$txt['menuorder_downsuccess'] = '"%s" fue movido abajo.';
Quote from: the7thGhost on March 05, 2010, 10:14:59 PMQuote from: siklife on March 05, 2010, 10:00:36 PMYou're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.
Seems to be working! Great job! Great mod!
Quote from: siklife on March 05, 2010, 10:53:26 PMThe bug was if you use javascript drag-in-drop enabled, the show/hide button are not showing the right text even though you clicked them. Hope that clears up for you. :)Quote from: the7thGhost on March 05, 2010, 10:14:59 PMQuote from: siklife on March 05, 2010, 10:00:36 PMYou're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.
Seems to be working! Great job! Great mod!
Not quite sure what your talking about, but so far everything seems okay, on the menu order admin, panel ? if so that looks fine to.
Quote from: Membre on March 05, 2010, 10:52:00 PM
Spanish_es / Spanish_latin / Spanish ( add utf8 also please :) )
Quote from: Dismal Shadow on March 05, 2010, 11:01:11 PMQuote from: siklife on March 05, 2010, 10:53:26 PMThe bug was if you use javascript drag-in-drop enabled, the show/hide button are not showing the right text even though you clicked them. Hope that clears up for you. :)Quote from: the7thGhost on March 05, 2010, 10:14:59 PMQuote from: siklife on March 05, 2010, 10:00:36 PMYou're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.
Seems to be working! Great job! Great mod!
Not quite sure what your talking about, but so far everything seems okay, on the menu order admin, panel ? if so that looks fine to.
Quote from: Dismal Shadow on March 06, 2010, 04:20:00 AM
I take it back...it's not fixed.
Quote from: the7thGhost on March 06, 2010, 11:33:44 PMRight, and oh...btw, the menu that was already hide show all up when you click "admin" if you are a admin.Quote from: Dismal Shadow on March 06, 2010, 04:20:00 AM
I take it back...it's not fixed.
Are the show/hide links still not working right? Did you try it on your live site?
Quote from: siklife on March 10, 2010, 06:40:10 PMWorks fine for me. The only issue I have is that I now have a message that is not there....
Just upgraded to RC3, is this compatible for anyone else? doesn't work for me all of a sudden, I'll be watching for a update if this is the case, thanks!
QuoteIf the text of a certain buttons should not be changed, set it to "_no_change_". This will mainly be used when you have a button with dynamically changing text, like "My Messages".
$txt['menu_order'] = 'Menü Reihenfolge';
$txt['menuorder_howsort?'] = 'Wie wollen Sie Ihre Menüpunkte ordnen?';
$txt['menuorder_sortbybuttons'] = 'Oben-/ Unten-Schaltflächen';
$txt['menuorder_sortbyjs'] = 'Drag & Drop (Javascript)';
$txt['menuorder_hide'] = 'verstecken';
$txt['menuorder_show'] = 'anzeigen';
$txt['menuorder_edit'] = 'bearbeiten';
$txt['menuorder_up'] = 'nach oben';
$txt['menuorder_down'] = 'nach unten';
$txt['menuorder_save'] = 'Speichern';
$txt['menuorder_saveorder'] = 'Reihenfolge speichern';
$txt['menuorder_sortchanged'] = 'Die Methode der Menü Reihenfolge wurde geändert: "%s".';
$txt['menuorder_jssortsuccess'] = 'Die Reihenfolge der Menüpunkte wurde gespeichert.';
$txt['menuorder_hidesuccess'] = '"%s" wurde versteckt.';
$txt['menuorder_showsuccess'] = '"%s" ist jetzt sichtbar.';
$txt['menuorder_renamesuccess'] = '"%s" wurde umbenannt in "%s".';
$txt['menuorder_upsuccess'] = '"%s" wurde nach oben verschoben.';
$txt['menuorder_downsuccess'] = '"%s" wurde nach unten verschoben.';
$txt['menu_order'] = 'Menu-placering';
$txt['menuorder_howsort?'] = 'Hvilken teknologi ønsker du at anvende til at placerer menupunkterne?';
$txt['menuorder_sortbybuttons'] = 'Op/Ned Knapper';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'skjul';
$txt['menuorder_show'] = 'vis';
$txt['menuorder_edit'] = 'omdøb';
$txt['menuorder_up'] = 'op';
$txt['menuorder_down'] = 'ned';
$txt['menuorder_save'] = 'Gem';
$txt['menuorder_saveorder'] = 'Gem placering';
$txt['menuorder_sortchanged'] = 'Menupunkternes placering ændres nu via "%s".';
$txt['menuorder_jssortsuccess'] = 'Menupunkternes placering er nu blevet gemt.';
$txt['menuorder_hidesuccess'] = '"%s" er nu skjult.';
$txt['menuorder_showsuccess'] = '"%s" bliver nu vist.';
$txt['menuorder_renamesuccess'] = '"%s" er blevet omdøbt til "%s".';
$txt['menuorder_upsuccess'] = '"%s" er flyttet op.';
$txt['menuorder_downsuccess'] = '"%s" er flyttet ned.';
Quote from: cyberwolf000 on June 20, 2010, 07:55:16 PM
OK, this is probably a very dumb question, but I am very new to the whole SMF Forum thing. I have installed the Menu Order mod, now, how do I use it?
Quote from: C4G-TK on June 20, 2010, 11:58:42 PM
If you just want to add Tabs, try this:
http://custom.simplemachines.org/mods/index.php?mod=1402
Quote from: cyberwolf000 on June 21, 2010, 03:44:04 PM
That worked perfectly. Thank you so much. Just one other question. Can I open that link in another tab or window?
Quote from: live627 on August 16, 2010, 06:46:21 PM
Hold down the Control key while clicking
$txt['menu_order'] = 'Meny ordning';
$txt['menuorder_howsort?'] = 'Hur vill du sortera menyn?';
$txt['menuorder_sortbybuttons'] = 'Upp/Ner knappar';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'göm';
$txt['menuorder_show'] = 'visa';
$txt['menuorder_edit'] = 'editera';
$txt['menuorder_up'] = 'upp';
$txt['menuorder_down'] = 'ner';
$txt['menuorder_save'] = 'spara';
$txt['menuorder_saveorder'] = 'spara ordning';
$txt['menuorder_sortchanged'] = 'Menyn sorterad ock metoden sparad till "%s".';
$txt['menuorder_jssortsuccess'] = 'Menyobjektet har blivit sparad.';
$txt['menuorder_hidesuccess'] = '"%s" är gömd.';
$txt['menuorder_showsuccess'] = '"%s" är synlig.';
$txt['menuorder_renamesuccess'] = '"%s" har blivit döpt till "%s".';
$txt['menuorder_upsuccess'] = '"%s" har flyttat upp.';
$txt['menuorder_downsuccess'] = '"%s" har flyttat ner.';
$txt['menu_order'] = 'Menu Order';
$txt['menuorder_howsort?'] = 'Kako zelite da sortirate stavke menija?';
$txt['menuorder_sortbybuttons'] = 'Dugmad gore/dole';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikazi';
$txt['menuorder_edit'] = 'izmeni';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dole';
$txt['menuorder_save'] = 'Sacuvaj';
$txt['menuorder_saveorder'] = 'Sacuvaj red';
$txt['menuorder_sortchanged'] = 'Metoda sortiranja je promenjena u "%s".';
$txt['menuorder_jssortsuccess'] = 'Red stavki u meniju je sacuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je pomeren gore.';
$txt['menuorder_downsuccess'] = '"%s" je pomeren dole.';
$txt['menu_order'] = 'Menu Order';
$txt['menuorder_howsort?'] = 'Kako želite da sortirate stavke menija?';
$txt['menuorder_sortbybuttons'] = 'Dugmad gore/dole';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikaži';
$txt['menuorder_edit'] = 'izmeni';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dole';
$txt['menuorder_save'] = 'Sačuvaj';
$txt['menuorder_saveorder'] = 'Sačuvaj red';
$txt['menuorder_sortchanged'] = 'Metoda sortiranja je promenjena u "%s".';
$txt['menuorder_jssortsuccess'] = 'Red stavki u meniju je sačuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je pomeren gore.';
$txt['menuorder_downsuccess'] = '"%s" je pomeren dole.';
Quote from: Jessica. on June 29, 2011, 05:11:15 PM
perfect, really really useful
but if I choose Javascript as the way to order it, it won't work. I can't drag any of the 'boxes'. And I have Javascript enabled (always do!!)
I have to use Up/Down
Quote from: the7thGhost on March 05, 2010, 09:46:08 PM
For those of you who are having trouble with the Javascript, chmod (change permissions) /Theme_dir/scripts/menuorder.php to 644. It's probably 666 if it doesn't work. I'm not sure if this will fix the problem for everyone or not.
$txt['menu_order'] = 'Redoslijed izbornika';
$txt['menuorder_howsort?'] = 'Kako zelis da rasporedis stavke izbornika?';
$txt['menuorder_sortbybuttons'] = 'Gore/Dolje Dugmad';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikazi';
$txt['menuorder_edit'] = 'uredi';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dolje';
$txt['menuorder_save'] = 'Sacuvaj';
$txt['menuorder_saveorder'] = 'Sacuvaj Redoslijed';
$txt['menuorder_sortchanged'] = 'Nacin sortiranja izbornika je promijenjen u "%s".';
$txt['menuorder_jssortsuccess'] = 'Redoslijed stavki izbornika je sacuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je sada vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je premjesten gore.';
$txt['menuorder_downsuccess'] = '"%s" je premjesten dolje.';
$txt['menu_order'] = 'Redoslijed izbornika';
$txt['menuorder_howsort?'] = 'Kako zelis da rasporedis stavke izbornika?';
$txt['menuorder_sortbybuttons'] = 'Gore/Dolje Dugmad';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikazi';
$txt['menuorder_edit'] = 'uredi';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dolje';
$txt['menuorder_save'] = 'Sacuvaj';
$txt['menuorder_saveorder'] = 'Sacuvaj redoslijed';
$txt['menuorder_sortchanged'] = 'Nacin sortiranja izbornika je promijenjen u "%s".';
$txt['menuorder_jssortsuccess'] = 'Redoslijed stavki izbornika je sacuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je sada vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je premjesten gore.';
$txt['menuorder_downsuccess'] = '"%s" je premjesten dolje.';
Quote from: Jessica. on June 29, 2011, 06:32:24 PM
oh didn't see that. thanks
edit: doesn't work for me
Quote from: Jessica. on July 25, 2011, 11:01:02 AMWhat browser are you using? The javascript drag-and-drop requires a modern browser.
still doesn't work
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
}
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
if (empty($button['title'])) {
unset($context['menu_buttons'][$key]);
}
}
Quote from: Yngwiedis on August 05, 2011, 11:34:25 AMBecause you have Simple Portal or something like that
.....The mod is creating a lot of title and href errors in my forum....
Quote from: live627 on August 05, 2011, 12:25:50 PM
This may be quite tricky to nail.Code (Find in ./Sources/Subs.php) Selectforeach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
}Code (Replace with) Selectforeach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
if (empty($button['title'])) {
unset($context['menu_buttons'][$key]);
}
}
Quote from: Branko. on August 06, 2011, 06:20:23 AMQuote from: Yngwiedis on August 05, 2011, 11:34:25 AMBecause you have Simple Portal or something like that
.....The mod is creating a lot of title and href errors in my forum....
Quote from: live627 on August 05, 2011, 12:25:50 PM
This may be quite tricky to nail.Code (Find in ./Sources/Subs.php) Selectforeach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
}Code (Replace with) Selectforeach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
if (empty($button['title'])) {
unset($context['menu_buttons'][$key]);
}
}
Quotelive627 you are putting "if" twice. Did you mean to put else on the second one as that what is most likely.an elseif won't make a difference here
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>
</a>';
if (!empty($button['href'])) {
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>
</a>';
}
echo '
</li>';
if (!empty($button['href'])) {
echo '
</li>';
}
Quote from: the7thGhost on July 25, 2011, 08:29:29 PMQuote from: Jessica. on July 25, 2011, 11:01:02 AMWhat browser are you using? The javascript drag-and-drop requires a modern browser.
still doesn't work
Quote from: Jessica. on August 17, 2011, 04:25:30 PMCan you open the Javascript console (Customize > Tools > JavaScript console), try to re-arrange them, and see if any messages show up?Quote from: the7thGhost on July 25, 2011, 08:29:29 PMQuote from: Jessica. on July 25, 2011, 11:01:02 AMWhat browser are you using? The javascript drag-and-drop requires a modern browser.
still doesn't work
I am using Chrome. the latest version
alert($("#newmenuorder").val());
<script type="text/javascript" src="http://forumurl.com/Themes/default/scripts/menuorder.php"></script>
Quote from: the7thGhost on August 17, 2011, 10:38:01 PM
That helps, I know what's happening. We just have to find out why.
Check to make sure these files exists:
/Themes/default/scripts/menuorder.js
/Themes/default/scripts/menuorder.php
Also, if you right-click the page and select "View page source," is there a line like the following? (with your website name though)Code Select<script type="text/javascript" src="http://forumurl.com/Themes/default/scripts/menuorder.php"></script>
Or, better, can you send me a PM with the page's source?
// begin "Menu Order" edit //
'menu_order' => array(
'label' => $txt['menu_order'],
'file' => 'MenuOrder.php',
'function' => 'MenuOrder',
'icon' => 'server.gif',
),
// end "Menu Order" edit //
Quote from: jimbouk1977 on November 10, 2011, 11:56:21 PM
Yeah ive just done that & had to manulay addCode Select// begin "Menu Order" edit //
'menu_order' => array(
'label' => $txt['menu_order'],
'file' => 'MenuOrder.php',
'function' => 'MenuOrder',
'icon' => 'server.gif',
),
// end "Menu Order" edit //
into my apmin.php but still no joy unless im missing something
Quote from: Shades. on August 17, 2021, 01:57:30 AMWorks in 2.1RC4 just a little cluttered...but works lol! 8)@live627 Same for 2.1.1 any chance to update this or just clean it up a little? O:)