Drupal 6 version

edward.peters - May 24, 2008 - 08:42
Project:Sliced Menu
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Alwex, how is the port going? We are very grateful to you for doing this, as it is such a valuable module!

#1

alwex - July 22, 2008 - 17:45

The migration is done to Drupal 6.x.

It will be soon on drupal.org

#2

edward.peters - July 28, 2008 - 13:06

Thanks a lot!

#3

scottatdrake - August 15, 2008 - 19:29

I would LOVE a D6 version of this! I don't see it posted anywhere. Can someone point me in the right direction?

#4

JohnAlbin - August 25, 2008 - 22:00

Scott, there's no D6 code for Sliced menu in CVS on d.o, so its not available on drupal.org. http://drupal.org/project/cvs/149452

I hate to slightly hijack this thread, but I want to get you guys the functionality you want today. My apologies, Guidet! Menu block has just been ported Drupal 6 and its easy to re-create any single level menu blocks you previously had. Just "Add new menu block" on block admin page, pick your menu and then select "Level" and set the depth to "1".

Menu block won't upgrade your Sliced menu blocks from an existing D5 site, so you'll have to wait for Sliced menu 6.x for that ability.

#5

Murz - November 5, 2008 - 10:54

subscribe

#6

CharlieCheese - January 8, 2009 - 05:44

Just checking to see if there is any news on the D6 version as yet? I have a site that would love this module.

#7

alwex - January 11, 2009 - 16:39

hi everybody,

I am very sorry for beeing so late in posting a new version of the module.

here is the 6.x version of slicedMenu. I have actually trouble with the CVS, so I put it on attachement on this message.

Hop it help !

AttachmentSize
slicedmenu-drupal-6.x.zip 10.49 KB

#8

edward.peters - January 16, 2009 - 08:14

alexw: many thanks for all this hard work and for sharing with the community. It will be great if it can get onto the project page.

#9

wotsoft - January 28, 2009 - 16:12

I downloaded you D6-port and try to use the theme-functions. Without any luck.

I found out you didn't apply the hook_theme. (http://api.drupal.org/api/function/hook_theme/6).
You should add the following code to let Drupal know you have some theme-functions available.

<?php
/**
* Implementation of hook_theme().
*/
function slicedmenu_theme() {
  return array(
   
'slicedmenu_item' => array(
     
'arguments' => array('link' => NULL, 'trail' => NULL)),
   
'slicedmenu_tree' => array(
     
'arguments' => array('menu_name' => NULL, 'level' => NULL, 'all_sub_items' => NULL)),
  );
}
?>

You should also change:

<?php
[147] $tree .= theme_slicedmenu_item($link, $trail);
?>

into:
<?php
[147] $tree .= theme("slicedmenu_item", $link, $trail);
?>

And:

<?php
[196] $output = theme_slicedmenu_tree($menu_name, $level, $all_sub_items);
?>

into:
<?php
[196] $output = theme("slicedmenu_tree", $menu_name, $level, $all_sub_items);
?>

Greetz,

WotSoft

#10

Ibn al-Hazardous - April 29, 2009 - 06:51

Thanks guys! I have the code up and running, and with wotsoft's changes I've gotten the theming stuff to work quite nicely too. :)

Alwex, do you still have trouble with CVS? It would be very conveniet to have the update check working without having to browse the bug threads every now and then. <:)

#11

Summit - April 29, 2009 - 07:43

Subscribing, interested in working D6 .dev or 1.0 version also.
greetings, Martijn

#12

aexl_konzepto.net - September 9, 2009 - 16:46

subscribing.

 
 

Drupal is a registered trademark of Dries Buytaert.