As stated in the Documentation,

2) You can't have a specific "Submit" form with CCK that matches the features of Drigg's.

Obviously, taking this at face value answers my question. However, can I manipulate the code on my own to possibly remove some of the inputs? Preferabbly, I would like to replace one field. I have no idea the work involved for it.

Also, I apologize for a possible duplicate issue. I searched before I posted, but I found nothing.

Thanks in advance!

Comments

CWitt-1’s picture

I would also like to note, more specifically I am interested in removing the website link field. As well as change the text "Story's title" and "Story's description". I can't seem to find where this is coded.

saurabhmutha’s picture

Even i tried looking at these things..Couldnt work around it. What i wanted to do was add a dfew lines of text in the submit forms. e.g:"Story description" becomes "story description(what you know about the issue)" i need to add those few words.
What are the .pot and .po files for. can i use those to edit my menu?

CWitt-1’s picture

I looked through just about every file on in the Drigg directory. I couldn't find any hint where this code is or where it could be. Now that statement doesn't mean too much, because I am not a very good programmer.

I'm sure Merc can help out, from what I can tell this guy is a genius.

mercmobily’s picture

Status: Active » Fixed

Hi,

Genius? Hummm some people say so. But unfortunately, not as far as coding is concerned...!

Drigg allows you to take the URL out of the equation. It was a paid feature I added a while ago -- and I am glad I did, because it was really important. See: Admin -> Settings -> Drigg -> "How the system will handle URLs: *"

You can change a form very easily. In fact, you can change any form in Drupal as much as you like: all you need to do, is create a custom module for your site, and write the right hook to modify a form. You have to write a hook_form_alter() function, grab drigg's form, and modify it before it gets sent to the user. There is a lot of documentation out there on how to do it -- I recommend you read it and experiment it!

Bye,

Merc.

dutsi’s picture

Status: Fixed » Active

Look at

drigg drupal\drigg-distr\sites\all\modules\drigg\drigg\config_forms.inc

Yeah I had that thing as well where I can not find where to change 'stories'

mercmobily’s picture

Status: Active » Fixed

Hi,

Sorry, I am not sure why you reopened the bug...
Did I leave something unanswered?

Merc.

CWitt-1’s picture

Create a custom module for your site, and write the right hook to modify a form. You have to write a hook_form_alter() function, grab drigg's form, and modify it before it gets sent to the user.

I tried to find some documentation. I found some, however it was very unclear to me on how to do it. I also would not consider my self a programmer by any means. Could I perhaps get a price quote for your troubles of doing it for me?

mercmobily’s picture

Hi,

My apologies... I am travelling right now, and am not able to do custom Drupal work. I have barely time to avoid the "piling up" of issues in Drigg (and managing Free Software Magazine at the same time...)

However, what you're asking is QUITE BASIC! Any Drupal programmer will be able to help you, really. Probably better than me (I am not that good)

I think drupal.org has a section for people looking for consultants!

Merc.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.