Textpattern Forum

You are not logged in. Register | Login | Help

#11 2005-11-24 20:28:30

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: djw_section_articles

Thanks! I wasn’t getting there!
I added an if clause to output a different url if the section matched the different url mode one.

Thanks again!

Offline

#12 2005-12-20 19:28:42

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: djw_section_articles

Here’s something weird. I’m using the plugin (v 0.6.3) 5 times in a page. One calls the current section article list and in the other 4 I use the section=“xxxx” to display the articles from other sections.

But it’s not working. It lists the current section articles always ignoring the section value completely.
I’ve tried changing “section” to “sec” and even “s” but it doesn’t change a thing. Another annoying thing is that it adds the section on top of the list even if you specified you don’t want it.

Offline

#13 2005-12-20 19:32:58

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: djw_section_articles

Use name="xxx"! RTFM.

Offline

#14 2005-12-20 19:41:09

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: djw_section_articles

Thanks! Just for the record the FM on the site* states “section”!

  • http://awasteofwords.com/article/djwsectionarticles-textpattern-plugin

Last edited by rbl (2005-12-20 19:41:50)

Offline

#15 2005-12-20 19:50:10

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: djw_section_articles

Thanks for the correction. I think I now got the FM right on my site. The plugin help text lists the correct attributes.

label can either be the section’s title which is the default behaviour and also the one when you set label=", or the value you specify. Currently the plugin is not prepared for an empty label. But in this case you probably wouldn’t need this plugin at all.

Last edited by wet (2005-12-21 05:50:07)

Offline

#16 2007-01-04 23:08:01

IschaGast
New Member
Registered: 2007-01-01
Posts: 5

Re: djw_section_articles

This plugin does almost what I want.
I am using it for a sub navigation at the moment and it would be great if something like this would be supported: currentclass=“active”

The other thing that would be really nice is if an empty label would be possible. At the moment it show the current section but I want the words navigation after is and now that’s not possible I think.

Offline

#17 2007-01-05 07:53:53

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: djw_section_articles

IschaGast wrote:

At the moment it show the current section but I want the words navigation after is and now that’s not possible I think.

An alternative solution using core tags.

Offline

#18 2007-07-15 16:44:57

moon
Member
From: Cincinnati
Registered: 2004-10-28
Posts: 6
Website

Re: djw_section_articles

I’ve just added this plugin to a site under development, and it’s working as advertised with the one exception of the sort. I can’t seem to get to change the order that it lists the articles – with or without adding the sortby=“posted”.

Any clues as to what’s going on? The page in question is at http://mwd.mullindesigns.com/designs/
The article “site designs” is the one I want to be on first.

Thanks!

Offline

#19 2007-07-15 17:01:19

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: djw_section_articles

I cannot reproduce this, it sorts just fine here. Please post the exact tag you use. Anyway, djw_section_articles is rather obsolete now. Is there any reason why you don’t want to use txp:article_custom?

Offline

#20 2007-08-07 20:45:15

ABDC
Member
From: the Netherlands
Registered: 2006-08-14
Posts: 17
Website

Re: djw_section_articles

Is there any way to automatically list ALL available sections in a site, including all articles. To generate a sitemap of sorts. If you specify all sections separately you can do this, but you have to review your code if a section is added.

This plugin seems closest as I can find, but you would have to specify all sections individually. Is there a way to just list all of them, possibly with an “exclude” option for the ones you want to leave out, as contact and home for example.
Ideally txp:section would have a “form” option, in which you could set txp:article tags. Or am I the only one who wants to automate this kind of behaviour?

Offline

Board footer

Powered by FluxBB