Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2005-06-07 23:28:12

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

thanks tinyfly unfortnately this plugin is giving me no love at the moment he taunts me and she says “i can do this, but you have to figure me out”.

I’m using whatever revision is on the front page, I even tried your code but no luck I have feeling it’s possibly down to something like the naming format

Offline

#14 2005-06-07 23:32:16

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

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

I checked it with the revision available from download, and it worked for me.

That doesn’t help you at all, though.

Offline

#15 2005-06-08 01:30:50

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

thanks mary & tinyfly I didn’t remove the file extension – might be worth putting that in the help for dummies like myself. It’s a great plguin now I just have to start another thread or alignment :p

cheers and keep up the good work mary (though i expect you’re due for a rest?)

Offline

#16 2005-06-08 01:57:41

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

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

Noted.

> “…though i expect you’re due for a rest?”

Rest? What’s that?

Offline

#17 2005-06-08 14:13:13

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

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

Can you make this clean url aware? So, for example, instead of what is currently ?c=eu-constitution it would be /category/eu-constituion just like what the built in <code><txp:category1 link=“y” /></code> tags output. (my permlink mode is set to /section/title)

Last edited by tinyfly (2005-06-08 14:14:25)

Offline

#18 2005-06-08 14:33:19

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

mary could I suggest adding some practical examples such as tinyfly’s or something like:

<code><upm_category1_image wraptag=“div” height=“yes” width=“yes” class=“cat-img” thumb=“no” /></code>

I’m sure they;ll understand anyway, but probably help just in case they don’t

Offline

#19 2005-06-09 00:05:52

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

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

tinyfly:

> “Can you make this clean url aware?”

Yes.

> “…could I suggest adding some practical examples…”

The only problem with examples is that they wouldn’t tell the user what the output result is. If I added example snippets, then the next thing I’d be asked is to show what that would look like when rendered. I’d rather like to avoid comprehensive documentation like that, since that is the purpose of the official documentation: what plugin tags are, what parameters are, how to use them, etc. The tag by itself returns a certain amount of default info, so it shouldn’t be too difficult to figure out.

Greater in-depth plugin-specific examples are fantastic for the user-submitted tips and tutorials that are needed by the documentation. I give my blessing and thanks to efforts like theturninggate’s explanation of upm_img_popper.

If you don’t have a website to host it, the resources site welcomes submissions this. Just register and start contributing any knowledge you’ve found helpful, from small tips to expanded tutorials. If you do have a website to host it, still register with the resources site to post a simple summary and where the rest of the tut can be found. You don’t need any special permission, that’s what the site is there for.

Let me say though that I appreciate any and all feedback and suggestions, whether they end up being implemented or not.

Offline

#20 2005-06-09 22:37:24

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

call me dense but i’m looking at using this with opaque category images to be used in the background, behind the content – now my brain is’t working but how would i set this up with this plugin…

let me think…

Offline

#21 2005-06-09 22:44:18

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

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

The only way to do that would be to absolutely position the image, then give it a lower z-index.

Offline

#22 2005-06-15 21:14:26

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

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

Just wanted to let those interested know about the category description plugin I was going to make.
Read back up here.

Offline

#23 2005-06-15 21:17:30

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

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

What is different?

Offline

#24 2005-06-15 21:42:45

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

quote from the link:

The original plugin did, but I felt this wasn’t the greatest place to do this. I was going to create a separate plugin to do this, but I’ve decided to simply send a patch in to the devs. Built-in is better. :)

Last edited by sekhu (2005-06-15 21:43:07)

Offline

Board footer

Powered by FluxBB