Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#133 2006-07-20 09:37:34

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,852
Website

Re: Plugin Requests

Mary wrote: not tracking development.

I wasn’t concerned with tracking the development so much as I was tracking the money. ;) …but I guess a thread of it’s own handles it all the same. Good call.

You can do the wiki thing if you really want, I certainly don’t care one way or another, though I think it just over complicates things,…

Frankly I don’t care one way or the other either. I simply offered a reminder about the utility of the wiki because you implied how the current method is so…effort taking. However you like it is fine with me. ;)

especially given the hesitancy of users to actually use the wiki

So true, and so unfounded.

@colak: That’s an interesting idea. Sounds similar to the notes tab plugin that Andrew created some time ago, which of course was on the backside, but basically did the same thing (except for the context-sensitive part).

Last edited by Destry (2006-07-20 11:39:48)

Offline

#134 2006-07-22 01:08:42

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Plugin Requests

Mary,
No problem at all, you do a great job keeping up with this stuff as is. Would it be most helpful to ask Yura to start a plugin ransom in his own thread? How would you like to handle that?


Offline

#135 2006-07-22 04:28:53

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

Re: Plugin Requests

How would you like to handle that?

However he/you want to proceed. I’m guessing a new thread is probably what’s desired.

Offline

#136 2006-07-22 11:33:12

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Plugin Requests

Thanks Mary, I’ll ask Yura what he cares to do.
Cheers.


Offline

#137 2006-07-25 16:31:36

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: Plugin Requests

Hello folks,

easy one : i’d like a “counter” for article lists. something like <txp:xxx_counter /> would output 1 in the first article on the page*, 2 on the second*, etc. That would be hugely useful for things such as CSS sprite navigation or in case you have multiple instances of the same javascript (mooShow for instance).

It might already exist but I didn’t find it. I’d have done it myself if I understood global variables and how textpattern works with them a bit better, but I don’t.

Thanks

* triggered by same article, article_custom or related_articles tag.

Last edited by guiguibonbon (2006-07-25 16:40:40)

Offline

#138 2006-07-25 17:04:57

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,275
Website

Re: Plugin Requests

This is feasible with <txp:php>:

To start a counter, include a sequence like that prior to all instances of <txp:article />, for instance in the page template or an included misc form:

<txp:php>
global $mycounter; // unique name
$mycounter = 0; // initial value
</txp:php>

inside your article form, increase the counter’s value:

<txp:php>
global $mycounter; // same unique name
$mycounter++;
</txp:php>
[...further tags go here...]
<txp:body />
<!-- now printing counter value -->
<txp:php>
global $mycounter; // same unique name
echo $mycounter; // print counter value;
</txp:php>

That’s it.

Last edited by wet (2006-07-25 17:05:54)

Offline

#139 2006-07-26 01:01:04

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

Re: Plugin Requests

Is this request still standing?

Offline

#140 2006-07-26 01:07:30

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Plugin Requests

Wet,
Your nuts. How do you know all that stuff. Have you been keeping an extra brain in a jar? Cmon now, tell the truth! :)


Offline

#141 2006-07-26 03:50:38

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,275
Website

Re: Plugin Requests

ma_smith wrote:

Cmon now, tell the truth! :)

!http://upload.wikimedia.org/wikipedia/en/4/49/Terminator.jpg!

Austrians are all like that ;-) Hasta la vista, baby…

Offline

#142 2006-07-26 22:48:07

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Plugin Requests

REQUEST: An update to rss_thumbpop to display title with wraptag and wraptag for captions in jpop mode. I’ll pledge $25 for this hack.

I need it to do the following:

  1. Display the image title (like jpopcap) before the jpopcap text, with a wraptag attribute.
  2. Allow a wraptag attribute for jpopcap.
Extra Credit but not required…
  1. image crossfade, as per aro_slideshow. http://forum.textpattern.com/viewtopic.php?id=16517

Anyone?

Offline

#143 2006-07-26 23:21:58

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: Plugin Requests

no no request not standing anymore, it worked just fine, though it isn’t as pretty as a nice txp tag of course. Many thanks wet, by the way. For the record, if you need the numbering to start over again (for another series of articles) just add that first snippet again, right before your new article tag.

Offline

#144 2006-07-27 00:48:57

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

Re: Plugin Requests

Offline

Board footer

Powered by FluxBB