4.6 and 4.7 ports

sethcohn - September 4, 2005 - 20:45
Project:Postcard
Version:HEAD
Component:Code
Category:support request
Priority:normal
Assigned:add1sun
Status:closed
Description

Any plans for an update to 4.6 or 4.7?

#1

jmiccolis - November 7, 2005 - 17:01

I'm about to start working on porting this module to 4.7... if any one has done any work in this area I'd really appreciate any code/advice...

#2

jsloan - November 21, 2005 - 21:29
Version:HEAD» 4.5.x-1.x-dev

I just completed an update for 4.6 in response to this post. It is a simple rewrite of the postcard_page() function with a few simple tweaks here and there. I'll attach it so that others can test it.

I've not begun my review of 4.7 changes but I will be glad to assist on the update for that version also.

thanks
jim

AttachmentSize
postcard-4.6.0.tar.gz 7.41 KB

#3

Brumisek - February 21, 2006 - 13:49

Hello, did you already created 4.7 version of this great module?
I'm very interesting about it. Could you send me more info here or to my e-mail info@flash4shock.com ...

Thank you!

#4

jwilde - May 5, 2006 - 14:43
Version:4.5.x-1.x-dev» HEAD

Any progress on a 4.7 version?

Thanks,

Jim

#5

jsloan - May 8, 2006 - 12:06

I have started the updates for 4.7 (thanks to jwilde for some work on the form changes) hope to have a test version in a couple of days.

#6

axel - May 18, 2006 - 17:38

If anyone need write access to project code in CVS for patches or upload 4.6 and 4.7 versions - write me pls. Unfortunately I not have time yet to continue work on this module.

#7

jsloan - May 23, 2006 - 14:53

Here is the Postcard module updated for 4.7 - please test and comment.
Changes:
* make the function _image_gallery_get_vid() name change
* use 4.7 form API
* use Install hook

AttachmentSize
postcard.module 18.43 KB

#8

njehlen - May 28, 2006 - 23:28

I'm getting the following error after installing this version of the Postcard module:

Install and enable the image_gallery module. Without this module postcards will not work.

I have the image module installed, and i have an image gallery called "postcard" with one image in it. Is there something else I have to do to get Postcard to work? Thanks!

#9

jsloan - May 29, 2006 - 20:43

It sounds like you have the requirements. The message you see is genearted as a result of this test:

<?php
// put some config warnings here
 
$image_gallery_enabled  = function_exists('image_gallery_help');
  if (!
$image_gallery_enabled) {
   
drupal_set_message(t("Install and enable the image_gallery module. Without this module postcards will not work.<br>").l('modules','admin/modules'), 'error');
    return;
  }
?>

Comment out the return; and it may work. But I wonder why your image_gallery module does not have the function named image_gallery_help() ?

#10

jsloan - May 29, 2006 - 20:46

... sorry for the extra post; but are you sure that the image_gallery has been enabled ??

#11

njehlen - May 30, 2006 - 17:20

I'm pretty sure image_galleries is enabled - unless I'm missing something. The image module is enabled, and I have created a gallery and when I go to /image it gives me a page called "image galleries" and lists the one gallery I've created (with one image in that gallery). Does that sound like I have it set up right? I don't actually have a module called "image_galleries" - is it a separate module? I searched around a lot (looked through both 4.7 and cvs modules) but couldn't find one called image_galleries (separate from the image module, that is). I thought that they were part of the same thing, but maybe that's my problem. If there's a separate module, could you post a link to it?

I'm using Acidfree for a different part of the site, but I tried disabling that module and Postcard still gives me the same error. Are there other things I should try before I go messing with the code that generates the error?

Nick

#12

jsloan - May 30, 2006 - 17:37

image_gallery is now included with the 4.7 image module and is in the /image/contrib folder. There should be an entry in your modules panel; check it and save.

#13

njehlen - May 30, 2006 - 18:50

Thanks - I think I must have had an old version of the image module. I've updated it and things seem to be working fine now. I appreciate the help!

#14

njehlen - June 7, 2006 - 18:53
Title:Postcard module for 4.6 or 4.7?» 4.7 working, but forms filled out incorrectly don't work

the module code posted above is working on my 4.7 site, but when a user enters incomplete or incorrect info, no error messages show up (it says that the postcard has been sent successfully). I assume this is because the module is not completely updated to 4.7 - is anyone else experiencing this?

#15

add1sun - January 29, 2007 - 15:18
Title:4.7 working, but forms filled out incorrectly don't work» 4.6 and 4.7 ports
Assigned to:Anonymous» add1sun

Axel has given me maintainer rights to the project so I will be spending time getting the code sorted out and using jsloan's patches to port and branch for 4.6 and 4.7 (although I won't support the 4.6 version save for security issues). Once I get all of that sorted out and have some actual releases issues can be posted against those.

#16

add1sun - February 2, 2007 - 18:19
Status:active» fixed

Working dev versions of the ports are done. Please post new issues against the appropriate version.

#17

Anonymous - February 16, 2007 - 18:31
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.