Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2005-12-06 03:46:56

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

Hm. I still couldn’t replicate your exact problem, but I did find another way to cause it and fixed that one. Does that resolve it for you too? or do I need to keep looking?

0.4.7

Offline

#62 2005-12-06 04:08:37

Infi
Member
Registered: 2005-05-28
Posts: 75

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

That got it. :)

Offline

#63 2006-01-17 05:24:51

Dawk
Member
Registered: 2005-02-22
Posts: 74

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

Can someone point me to a download link? this sounds great.

Post#1 just has the bugfixes link to post #55?

Thanks ;)

Offline

#64 2006-01-17 06:00:38

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

dawk, mary is no longer maintaining this plugin – a copy of the last release is available here from upm-plugins archive

Offline

#65 2006-01-17 15:35:29

Dawk
Member
Registered: 2005-02-22
Posts: 74

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

Thanks nardo,

too bad, sounded perfect for me needs. :(

Offline

#66 2006-01-17 15:37:31

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

Dawk, It still works fine. I have it installed and running. Just can’t quarantee anybody will pick it up to keep it working on new versions of txp.

Offline

#67 2006-01-17 22:52:45

Dawk
Member
Registered: 2005-02-22
Posts: 74

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

ok, Thanks tiny! ;)

Offline

#68 2006-01-17 23:03:03

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

yes thanks tf, I’ve added the note to the archive site that it works with 4.0.3

Offline

#69 2006-01-18 08:07:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,387
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

So did someone take over Mary’s plugin. I wish that this one makes it into the core but it is up to the developers to decide.
Until then I just hope that this plugin will be adopted.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#70 2006-01-18 13:18:16

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

Is it broken in any way? Someone might step up if it stops working. If it works there’s not really any need to do anything with it.


Shoving is the answer – pusher robot

Offline

#71 2006-06-20 22:04:50

TrustySmurf
New Member
Registered: 2004-09-25
Posts: 8

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

The plugin seems broken. I am trying to use it in v4.0.3 (r1188) and it does nothing at all. I last used it about a year ago and it worked then.

Offline

#72 2006-06-20 23:27:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

Turn on debugging. Get any error messages?

Offline

#73 2006-06-21 16:08:23

TrustySmurf
New Member
Registered: 2004-09-25
Posts: 8

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

No error messages (which only means I’m probably doing something wrong but for the life of me I cannot figure out what).

———

FYI, other comments in this thread caused me to think you had abandoned this plugin. It is good to see you have not.

Just so I am clear, here is what I did to try to get the plugin to work:

1. Went to Content->Organize and created the image category upm_category_image
2. Uploaded an image (no thumbnail) and named it pootytang (one of my categories. Note that I have tried this both with and without .jpg as a suffix)
3. I selected the category upm_category_image for this image (so now I have the image named pootytang assigned to the category upm_category_image)
4. I put <txp:upm_category_image /> in a form and I also tried it in the body of an article that I had assigned to the category pootytang, no luck.

Is there something obvious I am doing wrong? In my experience when I am having a code related problem that just doesn’t seem to work, it is usually something I am doing or not doing that is causing the problem.

Last edited by TrustySmurf (2006-06-21 19:45:21)

Offline

#74 2006-06-22 01:28:28

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

I had actually, for a little while. :)

Is the plugin both installed and enabled? Do you have the latest version of it (0.4.7)?

2. Without is what you want.

4. upm_category_image should work in pages and forms, when a category is being viewed. upm_category1_image and upm_category2_image work from article forms, when the article has either category chosen which has a matching category image.

Offline

#75 2006-06-22 16:48:26

TrustySmurf
New Member
Registered: 2004-09-25
Posts: 8

Re: [plugin] [ORPHAN] upm_category_image: Display image for category.

It is both installed and enabled and I am using 0.4.7.

I am not using the type suffix after the image name (ex. I have an image named pootytang, not pootytang.jpg). BTW, I am a photographer and leaving off the type suffix is a bit counter intuitive to me as I’m just not used to seeing image names WITHOUT a suffix. Perhaps clarifying that in the help documentation would be helpful to people like myself.

Having gone through the whole process again it still is not working and I really don’t think I’m doing anything wrong.

Is it possible that there is some issue with the versions of PHP and/or MySQL I am using (5.1.4 and 5.0.19 respectively)?

In looking at the code for your plugin I notice that the SQL statements appear odd (cat.image as cat_image for example). Is this something related to Textpattern plugin’s in general? I’m no SQL expert and I know nothing of Textpattern’s plugin api but I would have assumed something that looks more like:

[code]select name as cat_name, w as cat_w from “.PFX.“txp_image etc.[/code]

Also you have a select for cat.title as cat_title from txp_image but there isn’t a title field in that table. Like I said, I’m no expert so I’m just tossing out things that appeared odd to me.

——————————— Edit: Aha! ———————————
OK, when I go to the category view itself:
www.whatever.com/index.php?c=pootytang

I now see the category image. It does not appear on my front page, however. Is there a way to make it appear at all times?
I’d like to see the category image visible with each article on my front page but at present I can only see it if I navigate into the actual category itself.

Last edited by TrustySmurf (2006-06-22 16:51:49)

Offline

Board footer

Powered by FluxBB