swfaddress for Drupal 6

chok - May 22, 2008 - 16:22
Project:SWFAddress
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Steven Merrill
Status:reviewed & tested by the community
Description

A version for drupal 6 seems to be wonderful!

Sorry for my english!

Thanks.

#1

toemaz - July 5, 2008 - 05:48
Category:feature request» task

In order to get this issue alive and kicking again, Webchick released a nice screencast how one can easily help porting this module: http://www.lullabot.com/node/397/play

Give it a try if you really want this module for D6.

#2

chok - July 29, 2008 - 13:14

Thank you for your reply,

I didn't know the coder module, now it's so easy to migrate a module! so I try to do it and I post my results.

I have added other features. now we can redirect(or not) just some users or roles

I hope this features can help someone else

--
Cours de droit

AttachmentSize
swfaddress.zip 11.89 KB

#3

toemaz - July 7, 2008 - 17:35

Nice work chok. The coder module is indeed a must have for upgrading modules.

Anyway, I'm not the developer of this module, so I hope these guys will return to you. I do think however that they will kindly ask for a patch which includes only the upgrade code, without new features in it. If you can't make a patch, I guess they could handle the full module as well to make an upgrade.

At least, you apparently have a working D6 module and thats what counts. Well done.

#4

chok - July 29, 2008 - 13:14

I make 2 patch :

  • one to upgrade to D6
  • one to upgrade the last one with my new features

It's my first patch, I make them with Winmerge. I hope it's the good way :p

--
Cours de droit

AttachmentSize
swaddress.patch 5.89 KB
swfaddress-features.patch 3.72 KB

#5

Steven Merrill - July 7, 2008 - 17:20
Assigned to:Anonymous» Steven Merrill
Status:active» needs review

chok and toemaz,

I wanted to pop in and say thank you for your work on this.

I haven't really looked into SWFAddress for D6 since I haven't really played with it yet. Since Views and CCK are now almost in RC, it's time to get going!

I'll take a look at these patches (probably late this week) and if everything looks good, I'll get a -dev release out for Drupal 6.

Viva la Druplash!

#6

alippai - August 2, 2008 - 15:49

subscribe

#7

espenc - August 14, 2008 - 19:37

How is this going, any hopes of seeing a D6 dev release anytime soon? And does the files released by chok work?

#8

mllr - September 25, 2008 - 22:09

Hi,

I made a SWFAddress version for D6. I used the coder module. Coder says it's ok and it works in the frontend BUT it produces some errors in the Backend :-)
I can´t figure out what's wrong. Maybe I give it another try in the future.

Michael

AttachmentSize
swfaddress.module.zip 4.45 KB

#9

chok - September 30, 2008 - 08:25

Hi,

Have you tested my module? It doesn't work for you? I can help you if you need ;-)

Have a nice day!

chok

#10

mllr - October 19, 2008 - 21:00

Hi Chock,

yes indeed, I tested your module and it works :-) Anyway, thanks for your help.
I can't really remember why I actually started my own patch, maybe I just wanted to try out the coder module.

Michael

#11

Steven Merrill - November 11, 2008 - 16:11
Version:5.x-1.x-dev» 6.x-1.x-dev
Status:needs review» reviewed & tested by the community

Chok,

Thanks for the work!

I tweaked your release slightly. The most important thing I changed was to make the swfaddress_optimizer.js script not get cached by the JS aggregation part of 6 core, because that could potentially cause trouble.

The release itself will be active sometime in the next 12 hours as a dev release. I still need to look through your features patch and through some work that Jon Luini of Chime did in a separate port. I love the idea of the by-role activation, and I'd like to also strip the Flash part out, much as we did to build BobDylan.com.

Anyway, that's all for the -2.x release. Please test the dev release when it's available so that we can get a stable 1.0 for Drupal 6 out there, and thanks again to chok (and toemaz and mllr.)

#12

toemaz - November 11, 2008 - 17:02

Hi Steven, thanks for a the good news and thanks chok for the port.
As previously commented, I'm looking forward to the 2.x release, where the swfaddress lib and the UI logic will be in separate modules. I will be gladly testing the swfaddress lib module as I don't need the UI part.

#13

toemaz - December 4, 2008 - 14:26

Just letting you know, the swf address module 6 is working for me. I must say, I use it as an API which includes the use of this function:

<?php
function swfaddress_swfobject_api() {
 
drupal_add_js(drupal_get_path('module', 'swfaddress') .'/swfobject/swfobject.js', 'module');
 
drupal_add_js(drupal_get_path('module', 'swfaddress') .'/swfaddress-2.1/js/swfaddress.js', 'module');
 
drupal_add_js(drupal_get_path('module', 'swfaddress') . _swfaddress_optimizer('/swfaddress-2.1/js/swfaddress-optimizer.js?'), 'module');
}
?>

swfaddress_swfobject_api() can be called from anywhere, also from within the module to include these necessary js files.

 
 

Drupal is a registered trademark of Dries Buytaert.