Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2004-06-23 04:04:32

takshaka
Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

Okay, as of 0.33 the tag supports article expiration dates via one of the txp custom data fields. I think that’s the last subfeature until I get custom comments working.

Offline

#12 2004-06-23 22:12:10

schussat
Plugin Author
Registered: 2004-02-24
Posts: 101
Website

Re: [plugin] [ORPHAN] chh_article_custom

I’m sure this is outside the scope of your plugin, Takshaka, but it is related in functionality, so I thought I’d post it here: It would be great to replicate the subcategory functionality of this plugin when generating feeds, so that articles in cat/subcategory would show up in feeds of cat or of subcategory .


-Alan

Offline

#13 2004-06-28 21:28:51

asarbogast
Member
From: Arcata, CA
Registered: 2004-05-21
Posts: 33
Website

Re: [plugin] [ORPHAN] chh_article_custom

Thanks so much for this plugin! It has allowed me to do a bunch of things I was having trouble with before, such as using articles to create an alphabetical department index.

I agree that is should be called <code><txp:super_article /></code>!.

Offline

#14 2004-06-29 06:37:35

takshaka
Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

v0.40 has appeared, ushering in more control over comments display and support for a live comment preview. Oh, there’s also a flipflop tag included.

Because I am endeavoring to keep the plugin a standalone, without need for mods to the txp core, there are a few things that remain sadly unimproved. I’m unable to add full Textile comments or affect popup comments, and the live preview still requires the usual preview/submit rigamarole.

<del>My web host is flaking out right now. You should’t have problems grabbing the plugin from the direct link above, but the related web pages may appear and disappear as mysqld stumbles along.</del>

Looks like my host has settled down. <del>Tonight</del> Eventually I’ll update the overview with a comments example to supplement the attribute reference.

Last edited by takshaka (2004-07-10 02:45:53)

Offline

#15 2004-07-09 20:34:38

Rufnex
Plugin Author
From: Germany, Munich (Bavaria)
Registered: 2004-06-23
Posts: 51

Re: [plugin] [ORPHAN] chh_article_custom

@takshaka:

great plug-in!

i’ve a problem with the returned value .. i will build a list of categories wraped with &lt;li&gt; – tags .. so if i catch my form i got back the category wraped with &lt;li&gt;catname&lt;/li&gt;. but outside this i need &lt;ul&gt;..&lt;ul&gt;.

in my page i write something like:

<pre>
<txp:chh_article_custom form=“itsme” />
</pre>

the default form looks like:

<pre>
<li><txp:permlink><txp:title /></txp:permlink></li>
</pre>

and the itsme form looks like:

<pre>
<h3><txp:title /></h3>
<p><small><txp:permlink>#</txp:permlink> <txp:posted /></small></p>
<txp:body />
<hr size=“1” noshade=“noshade” />
</pre>

Oki .. when i open my section i got a list of all categories belong to this section. for e.g.

<pre>
<li>cat 1</li>
etc.
</pre>

but i miss this block wraped with ul-tags. wenn i write somethink like :

<pre>
<ul>
<txp:chh_article_custom form=“itsme” />
</ul>
</pre>

both the list an articles wraped with ul-tags.

Do you know a way to print the ul only at the start-page of a section?

i hope you understand my problem ;o)

Rufnex

Last edited by Rufnex (2004-07-09 20:37:21)

Offline

#16 2004-07-10 02:41:16

takshaka
Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

If you apply the fix in this thread you can use if_article_list:
<code>
<txp:if_article_list><ul></txp:if_article_list>
<txp:chh_article_custom form=“itsme” />
<txp:if_article_list></ul></txp:if_article_list>
</code>

Or you can use straight php:
<code>
<?php if (empty($GLOBALS[‘id’])) echo “<ul>”; ?>
<txp:chh_article_custom form=“itsme” />
<?php if (empty($GLOBALS[‘id’])) echo “</ul>”; ?>
</code>

Edit: Just fixed the post so the code displays properly.

Last edited by takshaka (2005-12-18 00:20:38)

Offline

#17 2004-07-10 23:16:48

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] chh_article_custom

Any way your plugin can be made to work with article custom fields?

Thanks
Lee

Offline

#18 2004-07-23 09:24:14

rajo
Member
Registered: 2004-03-13
Posts: 43

Re: [plugin] [ORPHAN] chh_article_custom

is there a way to show future dates with this plugin via the current month? If not, would you be willing to add this functionality in a future version.

Offline

#19 2004-07-23 16:20:09

takshaka
Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

> rajo wrote:
> is there a way to show future dates with this plugin via the current month? If not, would you be willing to add this functionality in a future version.

Can you give me an example? I’m not sure what you mean.

Offline

#20 2004-07-23 16:31:44

rajo
Member
Registered: 2004-03-13
Posts: 43

Re: [plugin] [ORPHAN] chh_article_custom

Basically I want to show future dates as upcoming events, but I want to show future dates that are relative to the current month instead of showing something first in the list that occurs months away. I guess I could achieve this just by making articles that occur way in the future to be in draft or hidden mode and then at the appropriate time make them “live”, I was just wondering if I could use this plugin to make things a little more automatic.

Offline

Board footer

Powered by FluxBB