I was ruuning classified adds 5.x.1.5.4 with a pretty stock drupal 5.1. Everything was running fine, but I wanted users to be able to see attached images. The stock setup lists the file under the ad and you must click on the file, and it displayed in a new browser window.
The classified support site said some of this can be automated with additional modules. So I installed image, and upload_image and configued and enabled them via the admin interface.
Now when a file is attatched and then the ad is viewed, nothing of the image shows up - no link, no image. What am I doing wrong?
Also, I just noticed this today, a link shows up under tha ad that read "Suggest a new catagory". Clicking on it take you to the Contacts page. I did install the Contact Link module, but it is disabled. What is causing this?
Finally, is there a way to add a complete different set of taxonomy to the ads. For example: just a Buy, Sell, or Trade. But I still want the ad catagory type to be separate (Cameras, Musical Instruments, Tools, etc). This was, I don't have to have three type of the same catagory (one for buy, sell and trade). I hopt this makes sense.
Comments
Comment #1
alchemist commentedI forgot to include the CVS ID string in my original post. Here it is:
$Id: ed_classified.module,v 1.1.4.22 2007/03/01 18:39:02 inactivist Exp $
Comment #2
mcurry commentedThe photo ads issue does indeed sound like a configuration issue. Here's a link to a Drupal 4.7 site running classified ads module, upload_image, upload modules.
http://goatseeker.com/classified/photo-ads
As you can see, it's doable. I will say that I've not tested this on Drupal 5 installations, however.
Now, as to why you can't see the image, and what you may be doing wrong - I have no way of knowing unless I have access to your site and can see your configuration.
Have you tried configuring the relevant modules (upload_image, upload, etc.) to work with other node types? In other words, you need to understand how to use those modules in the first place to achieve the desired effect with any node/content type, not just ed_classified. I'm sorry to say that I don't have time to write up a 'cookbook' or tutorial document that shows how to do this step-by-step, although I do plan on doing so when time permits.
The only thing I can think of is to ensure that other node types show attached images the way you want. If I recall correctly, the user must check the "list" checkbox on the attached image in order for it to be displayed. You should set the default options for the upload module to set the 'List files by default' in order to help the user do the right thing.
Please open separate issues for the other questions you've asked in the original issue.
Comment #3
gamecock commentedI am having a similar issue with image, upload, and upload_image. When a user creates an ad with a picture, the Latest ad points to the actual picture node and not the add itself. This happens in the Classified Ads view (not the sidebar thing). Is there a way to hide that and only allow the actual ad to be shown?
Comment #4
gamecock commentedI am having a simliar issue. When a user creates a new add with a picture, the 'Latest ad: xxx' lists the picture node and not the actual ad itself. Is there a way to fix this?
Comment #5
mcurry commentedOk, I'll have to do some testing on a fresh drupal 5.x installation. I'll try to get back to you all within a few days.
Comment #6
mcurry commentedAre there any public sites where I can see the described behavior?
Comment #7
gamecock commentedmy site is http://www.gamecockboard.com
just click Classified Ads on the left hand side
Comment #8
gamecock commentedis just fixed itself. seems to be working. you can try logging in and posting a test ad and see if you have any problems with it. that would be great.
Comment #9
mcurry commentedSeems to work fine.
http://www.gamecockboard.com/?q=node/11
Please mark this fixed if you think it's fixed.
Comment #10
mcurry commented