News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Menu Order

Started by live627, January 16, 2010, 07:55:28 PM

Previous topic - Next topic

Stigmartyr

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?

TheListener

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?

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.

kingkingston

Quote from: the7thGhost on January 27, 2010, 12:07:16 AM
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.
How ?

Stigmartyr

Quote from: kingkingston on January 27, 2010, 12:00:50 PM
Quote from: the7thGhost on January 27, 2010, 12:07:16 AM
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.
How ?

It's listed in the right above the menu settings page itself.  Look there you should find a drop down menu.

Stigmartyr

Quote from: Brack1 on January 27, 2010, 05:44:36 AM
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?

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.

It doesn't work with Aeva Media Gallery either, though..  I do see personal messages interacting and reporting a number on new msgs..

kingkingston

Quote from: Stigmartyr on January 27, 2010, 12:31:26 PM
Quote from: kingkingston on January 27, 2010, 12:00:50 PM
Quote from: the7thGhost on January 27, 2010, 12:07:16 AM
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.
How ?

It's listed in the right above the menu settings page itself.  Look there you should find a drop down menu.
This is the menu settings page right,i still don't see the drag and drop feature

~DS~

Same here in my previous message...
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Stigmartyr

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.

@ Ghost - reported that dynamic behaviors are still now working with Ajax Chat and Aeva Media gallery.  My above posts explain my site specs.

~DS~

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.

Not on my end.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Stigmartyr

Quote from: Dismal Shadow on January 27, 2010, 04:55:55 PM
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.

Not on my end.


If you're using a custom theme, does that theme come with its own scripts folder by any chance?

~DS~

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.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Stigmartyr

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.

What happens if you copy the script files to your custom theme folder along with the menuorder php file that goes in /Themes/default ?

the7thGhost

Thanks for the new translations, Bugo and Vyorel.
@Bugo sorry, my bad. I forgot to change the language file for Romanian to change the correct file... I had duplicated the russian file, then replaced the text...

I'll look into the dynamic text and JS more. I've only tested it on Core, so I'll try another theme.

the7thGhost

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?

Stigmartyr

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?

Im using the Aeva Media beta that is the aeva and gallery rolled into one.  That would be Aeva Media version 1.0 beta 2.  I am also using the latest Ajax Chat file version: 3.2.1

My SMF: SMF 2.0 RC2, and my theme is the 5th_RC2 theme, which is curve based I believe..  Link to that theme: http://custom.simplemachines.org/themes/index.php?lemma=1724

My theme does not have it's own scripts folder.


p.s. Thank you again for your time.

eslao

Türkçe/Turkish translation
$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ı.';

the7thGhost

Version 0.2.1 released!

Changelog:
12: Bugfix:         _no_change_ bug
13: Bugfix:         PHP Error next to show button
11: Text:           Update Romanian text
10: Text:           Update Russian text
9:  Added Language: Arabic Translation
14: Added Language: Turkish Translation

Thanks for the translations, eslao and 3wasef (on the bugtracker)

Groundhog

Very useful mod the7thGhost.

Thanks very much  :)

~DS~

Ghost can you have a look here, hope this will help you solve the issue in this mod.

http://www.simplemachines.org/community/index.php?topic=364747.0
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

farao25

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 ?

Advertisement: