editing

Can't Update Drupal Content, receive "Illegal choice 53 in Access element." error

I've inherited a Drupal 6.16 project and I'm brand new to Drupal. When I try to edit content and preview I get the following error: An illegal choice has been detected. Please contact the site administrator. When I look at the logs, this is the error it displays: Type: Form Message: Illegal choice 53 in Access element. I d...

bulk editing txt files to to confirm to a certain layout

I need someone smart to help me here I have a large batch of txt files(articles) +/- 300K. that I need to edit, but I need the output file to be a txt file but must be in a specific layout, let me explain This is how the txt file appears: Title: “How To” Start Trading The Forex Market? ( Part 2) Word Count: 608 Summary: Why is F...

Image editing using Facebook API

Hi, I am developing an Facebook app that lists photos from user's Facebook account. My app also allows to edit the photos listed. Now, I want to sync the edited image to user's account. i.e. I do not want to upload the edited image as separate image; rather save it as edited image in his account. Is there any Facebook services availabl...

Editor for end user documentation in C# WinForm app

I'm developing a WinForm app in c# 4.0 and would like other (non-developer) colleagues to contribute writing a context sensitive end-user helpfile. First I thought I could use "HTML Help Workshop" from Microsoft, but it seems outdated (Vista and Windows 7 not supported). Then I've looked at Sandcastle, but the documentation is lacking an...

Display wordpress comments before the plugins?

Hi, I want to display the wp comments right after the post, but before the plugins content. What I have tried so far: in single-products.php file, the original code is: <?php the_content(); ?> <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages','eStore').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> ...

Save an image Resized with PHP

I am working on improving my Facebook app. I need to be able to resize an image, then save it to a directory on the server. This is the code I have to resize: <?php // The file $filename = 'test.jpg'; $percent = 0.5; // Content type header('Content-type: image/jpeg'); // Get new dimensions list($width, $height) = getimagesize($filenam...

Recording and editing audio

I have no experience with audio programming at all and have been looking at the AV Foundation Framework thinking this is what I need to use to create an app that allows me to record and do simple editing of a recording. By simple, I mean have the ability to go to a part of my recording and snip out a segment. I've gathered that I shoul...

How can I delete the current line in Emacs? (Equivalent of vi's `dd`)

What is the emacs equivalent of vi's dd? I want to delete the current line. Tried CTRL + k but it only deletes from current position. ...

contenteditable table cells

creating a contentEditable table cell for FF allows the user to enter some text directly into the cell . while doing so the outline of the cell (I think called the focus rectangle ) is overlaid with horizontal and vertical controls. what are they, what do they do and how do you prevent them from displaying? ...

Ruby: How can I edit the contents of a CSV file?

As a follow up to this question, how can I edit the contents of a CSV file? I ultimately need to replace all instances of something and I need to do that before I open the file for parsing (with FasterCSV). So, using Ruby I need to open, edit, and save the CSV file. ...

Editing a model in Apple's Settings style

Hi there, I woud like to implement some editing mechanism for an iPhone application, that is I want the user to be able to edit an instance of my model. The model contains two types of data: The first is just an NSString where the user can write virtually anything he likes. The second one is a selection where he is able to pick one from...

Online Image photo editing tool

Hi, I want to develop an online photo editing tool having features such as re-sizing, blurring, red eye etc. Can any body tell me how should I proceed? in Particular which technology should be used etc. Thanks in advance ...

form doesn't allow editing

I have a following form: class PlayForwardPageForm(forms.ModelForm): def __init__(self, *args, **kwargs): super(PlayForwardPageForm, self).__init__(*args, **kwargs) class Meta: model = PlayForwardPage exclude = ( 'id',) def save(self, *args, **kwargs): post = super(PlayForwardPa...

Django - How to save and continue editing when adding a new user from related model?

Is it possible to get a save and continue to edit functionality on the creation of a user when clicking on the "+" in a related model? for example here's a model: class Example(models.Model): user = model.ForeignKey(User) ... ... When in the Add/Edit admin screen for Example objects when a user wants/needs to add a new user t...