Hi,

I needed for my project to update this module for Drupal6. So, I have a version of Copyright 6. Has the same functionality, but it is written for Drupal 6. What is the next step?

Magda

CommentFileSizeAuthor
#2 copyright6.zip16 KBmagdab

Comments

Robrecht Jacques’s picture

Version: 5.x-1.8 » master

Could you attach the whole module to this issue? I'll review and create a 6.x branch which can then be released.

magdab’s picture

StatusFileSize
new16 KB

Hi,

I attached the archive with copyright module for Drupal6.

Thank you,
Magda

mdlueck’s picture

Subscribe

We use this mod with D5 and would prefer not to loose the mod in the upgrade to D6.

Thanks Magda for posting your code. I will check it out very soon! :-)

mdlueck’s picture

In the copyright.info file, you do not need this line:

;package = Core - optional

That line causes it to be sorted into the Drupal core area. I commented it out.

Under the Copyright link at /admin there is not the text that the D5 mod has: "Create and manage different copyrights and licenses that users can use." So I will look into why that text is missing.

Checked one node with a custom copyright, and it came right up. :-)

mdlueck’s picture

Found it, line missing that is in the D5 version. Add this line to the menu entry "admin/content/copyright":

'description' => t('Create and manage different copyrights and licenses that users can use.'),

I added it just below the title attribute.

magdab’s picture

Thanks Michael for your observations :)

mdlueck’s picture

Greetings Magda: We have been testing out your port with my alterations to the mod. The mod is behaving badly... some times not showing any copyright when one is specified, etc...

I diff'ed your version to the D5 official release... lots of changes. "Might be coming from anywhere within those changes."

Since the mod developer seems not interested in porting the mod officially to D6, I think we will consider replacing it for the D6 version of the site we were using it on.

AnastasiaP’s picture

So is there a version of the Copyright Management module or something that does the same thing for Drupal 6? I really need something like this for my site.

mdlueck - you said there was some issues with what was posted here, so I don't want to download it, but I'm definitely interested in something I could use. Do you have any suggestions for another way for me to get this on my site ASAP? I know it takes a long time to build a module, but I really can't wait. My site is for writers to post their work and having a copyright stamp on their content items is vitally important.

Thanks for any help you can give with this!

~~Anastasia V. Pergakis~~

AnastasiaP’s picture

Okay, I discovered a temporary quick fix - and I stress temporary! I really would like to have this module to use, but at least I have a semi-decent copyright stamp.

I use the Framework theme, so this set up might be different for other themes but it gives you an idea of what I did.

1. I created a gif image of the copyright symbol and uploaded it into my theme's image folder.

2. In the style.css I entered in the following code:

 .copyright {
background: url(images/copyright-icon.gif) no-repeat;
padding-left: 20px;
}

3. In the node.tpl.php I found this code:

  <?php if ($submitted): ?>
    <span class="submitted"><?php print $submitted; ?></span>
  <?php endif; ?>

and added the CSS code to it like this:

  <?php if ($submitted): ?>
<div class="copyright">
    <span class="submitted"><?php print $submitted; ?></span>
</div>
  <?php endif; ?>

And voila! The tiny copyright image is next to the node creation and node author date that shows up when an item is created!

Again, this is just a temporary thing as I really would like an actual module. My PHP coding knowledge is very limited and I'd like some costumization here so that the copyright can be put only on selected content and also have it look a bit more appealing - as in location on the node.

But, I hope this still helps any one else out there that needs something like this in Drupal 6.

~~Anastasia V. Pergakis~~

mdlueck’s picture

@Anastasia: I am currently discussing with a Drupal developer I work with how to replace needing this mod with CCK. I will post back our exact solution when the details are worked out completely.

magdab’s picture

Greetings Michael. First sorry for my bad English.
If you like to take over this project and to make a release for D6 it's not problem for me. The author for mod D5 is Robrecht Jacques and I asked him in March in order to make a new release for D6, but unfortunately he didn't answer to me. So, I think that it's not problem.
Thanks.

mdlueck’s picture

@Anastasia: We have eliminated the need for this module, and are utilizing CCK / Views / nodereference_views modules instead. Today we began the migration of our content to the new design, and soon will be purging Copyright from our server.

sachand’s picture

Hi Robrecht ,
I want to contribute to Copyright module for 7.x /8.x version branch .Can you please accept me as co-maintainer / Maintainer of Copyright module and grant me GIT access for this project. So that i can contribute.
Thanks
Santosh

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, as Drupal 6 is now not supported.