This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

TinyMCE/Image/ImageAssist - Problem

I recently got my site running on Drupal. To allow people to write articles with images. I installed TinyMCE, the Image Module and the Image Assist. I installed, image publish and and image watermark as well. Image water mark complained that I needed PHP4.3 or above and/or the GD library compiled. So I disabled watermark. But thats another story.

My current problem is related to TinyMCE/Image Assist though. My TinyMCE seems to work fine. I have the Image Assist icon in its tool bar. I am able to upload an image into the gallery and insert into text being edited.

But here is the problem. I see a placeholder blocked out within the editor for the image with the test flowing around it, but I don't see the actual image. The preview doesn't show it either. If I try saving it. The actualy blog entry doesn't show it either.

All I see, when I view the blog or preview it is the following

"[img_assist|nid=13|title=image2|desc=|link=none|align=left|width=640|height=640]asdasd asd asd asdsadasdasdasdassadasdasdasdasdsadasd"

The "[img_assist|nid=13|title=image2|desc=|link=none|align=left|width=640|height=640]" embedded in my blog tells me something is happenning, just that I don't see the image in the bog though. You can see it at the first link below.

I should also, note that when I look at the list of content, I do see the image node created and I can view it (second link below).

Epublish installation - can someone help?

Hi...

I cant get the Epublish module installed in my drupal 4.7.3.

I've extracted all the files found in the tar.gz to the module folder.

When I enable the Epublish module, it seems to be working fine. But when i tries to add publication an error occur which looks like:

Technical question, please help

when clicked on a node (before render a page), what module function (name) will be called by Drupal? Let's pick simple_access for example, when clicked on a node (w/o the right privilege) I received the access denied page instead of an actual page...

Thanks

directory.module status?

Does anyone know the status of the directory.module component, located here?

Is there an official maintainer?
Is there an official 'module page' for this module?

It looks interesting, and I'd like to use it, but I've found a few issues when I installed the latest version from the above URL on my 4.7.3 install. I've implemented some fixes, and would like to discuss them with the module maintainer, but I can't find an official page for this module.

ajaxgallery - Ajax Photo Gallery and Flickr-like taxonomy intregration

I've been searching the site for a while for a simple photo gallery that display photos using Drupal's Taxonomy similar to Flickr.com.

I also wanted an Ajax display that will preload the next image in the album similar to http://picasaweb.google.com.

Converting a Simple, yet Huge, 4.6 Form

Hi,

I'm working on converting a module for www.projectopus.com to 4.7. This module, I call it the "Gardener Module", helps admin's merge, group, migrate, and do other mass operations on Taxonomy terms.

Info:

  • The rendered form is in the form of a table, where some of the columns are form fields.
  • This table is a list of ALL the taxonomy terms in the system (don't ask why please..) so it is large. Large enough that memory management is an important consideration
  • I am currently building this form by looping through all the terms and building each row, adding form elements where necessary with form_checkbox .. etc.

The Problem(s):

  • Drupal 4.7 seems to want forms to be created in a more orderly way. From what I've done so far the accepted practise is
    function my_form() {
      //make a form, aka really long loop #1
      foreach ($huge_number_of_terms as $term) {
        // Store a crazy big $form array in memory....
      }
      return $form; // Return the huge form.
    }
    
    function theme_my_form(&$form) {
      // Loop through each term since I need more information from each term, aka really long loop #2
      foreach ($huge_number_of_terms as $term) {
        $rows[] = //make a really really long table with the huge form array.
      }
    }
    

So, basically, in 4.6 I could write this all in one function (saving myself having to build the form array) but 4.7 want's me to double my code execution time and nearly double my memory footprint (since I have to loop through all my terms 2x).

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions