Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#109 2006-04-17 18:07:42

Moat
Member
Registered: 2006-03-11
Posts: 21

Re: [plugin] [ORPHAN] chh_article_custom

Hi, I began to use this plugin but I have small problem… I have this code:

<div id="line"><span id="line-right"><txp:newer> newer... </txp:newer><txp:older> older... </txp:older></span></div>
<div id="articles"><txp:chh_article section="clanky,expedice" limit="3" listform="latest" />

…articles are there but links to older or newer articles are not displayed at all…

could anyone tell me what’s the problem ?

Last edited by Moat (2006-04-17 18:08:56)

Offline

#110 2006-04-20 15:01:46

Moat
Member
Registered: 2006-03-11
Posts: 21

Re: [plugin] [ORPHAN] chh_article_custom

Please.. nobody knows? It may be impossible to have <txp:newer/> and <txp:older /> tags there ?!

Last edited by Moat (2006-04-20 15:06:26)

Offline

#111 2006-04-21 16:30:35

Moat
Member
Registered: 2006-03-11
Posts: 21

Re: [plugin] [ORPHAN] chh_article_custom

Huh, I am beginning to be really sad…! ;)

Offline

#112 2006-04-23 22:22:34

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: [plugin] [ORPHAN] chh_article_custom

Hi all~

I’m trying to achieve something very simple, and I’m not sure whether this plugin can help: I want to have an archive page/section that looks just like a regular article list page, but outputs all the articles from a given month (ie limit=“999” or what’ver). I’d like to set up links from my home page to acomplish this, which would look like this: <a href="/?s=archive&month=2006-02">Feb 2006</a>

If I put chh_article_custom on a page associated with the section archive, how can make it it pick up the date, and show the articles from that month?


Yes, I have tried turning it off and on.

Offline

#113 2006-04-29 17:55:39

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] chh_article_custom

Hey Coke, Thanks again for chh_*super article*.

I have a few questions. I am experiencing a little weirdness.

I am trying to use this to generate an article menu based on image excerpts. I am using:

Page:
<code><txp:chh_article_custom section=”,web,pixels,promotion,logos,branding,results,folio,services” limit=“15” form=“img-exerpt” sortby=“SmartTitle” sortdir=“desc” excerpted=“y” listform=“excerpt-list” /></code>

Form- article form “img-exerpt”:
<code><txp:permlink><txp:excerpt /></txp:permlink></code>

Form- listform=“excerpt-list”:

<code><div class=“jsShadow”><txp:permlink><txp:excerpt /></txp:permlink></div></code>

</br></br></br>

It is working in every regard except:

  1. it does not output anything when viewing the default section (root). (fixed)
  2. When in an individual article it only displays the image excerpt for the currently viewed article and it does not regard the class in the list form. (I am assuming it’s disregarding listform because I am Viewing an individual article page) What is a proper approach for what I am looking for?

Offline

#114 2006-06-19 21:46:27

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Re: [plugin] [ORPHAN] chh_article_custom

Looks like the site is down… anyone have a copy of the latest version of this plugin?

Offline

#115 2006-06-19 22:06:53

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] chh_article_custom

It’s not down, I just visited there?

Offline

#116 2006-06-26 02:53:30

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

Re: [plugin] [ORPHAN] chh_article_custom

alesh wrote:

If I put chh_article_custom on a page associated with the section archive, how can make it it pick up the date, and show the articles from that month?

I am looking for a way to do this as well— limit the list of articles using dates passed by the url. Specifically, I am looking for a way to get the small-format calendar from mdp_calendar to work for me. Right now there seems to be no way to click on a day with articles and get the list of articles (events in my case) for that day.

Offline

#117 2006-06-28 08:36:00

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] chh_article_custom

soulship wrote:

It is working in every regard except:
When in an individual article it only displays the image excerpt for the currently viewed article and it does not regard the class in the list form. (I am assuming it’s disregarding listform because I am Viewing an individual article page) What is a proper approach for what I am looking for?

I think that’s because chh_article_custom only works in list view…

can anyone confrim this? I’m having a similar issue myself.

Offline

#118 2006-07-10 15:23:20

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] chh_article_custom

Is there a way I can have this plugin not assign any class to the LI tags?

Edit: Didnt know it was as easy as

class=”“

Last edited by Ace of Dubs (2006-07-13 01:06:08)

Offline

#119 2006-07-13 01:08:03

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] chh_article_custom

So chh_article is working perfectly, until I go into Debugging mode and get this error:

<code>tag_error <txp:chh_article category=“Category1,Category2” form=“default” listform=“excerpt” /> -> Notice: Undefined variable: sectparts on line 10</code>

Is this something worth fussing over?

Offline

#120 2006-07-22 14:34:57

bit
Archived Plugin Author
From: Philippines
Registered: 2005-02-14
Posts: 65
Website

Re: [plugin] [ORPHAN] chh_article_custom

pieman wrote:

I think that’s because chh_article_custom only works in list view…

It certainly seems that way. When I’m viewing an individual article, it suddenly disregards the form, wraptag, and break attributes.

I looked through the source and it seems that something funky (that I don’t really care to understand at the moment) happens when the tag is parsed in the context of an individual article page. I think it happens somewhere between lines 197 and 228 of chh_article_lib.

Last edited by dreamstormer (2006-07-22 14:40:17)


“The neighboring marshmallow factory fared no better, having been unable to absorb the incredible pressure wave.”

Offline

Board footer

Powered by FluxBB