Go to content Go to navigation Go to search

ras_set_article_status · Mar 13, 08:10 pm by Rick


The drawbacks of some conditional approaches to article and article content display keep bringing me back to an old idea whose potential rattles around with me some; that idea would be article status alteration from withing an article form.
The tag for accomplishing this is in the sidebar as ras_set_article_status, the help file at present reads as follows:


Tag ras_set_article_status sets the current article to whatever status is set in the status attribute, which actively alters an article’s Status. It accepts a status attribute which lists article status as follows.

* Draft * Hidden * Pending * Live * Sticky

Default setting Live.

***
As of changeset 2887 this tag can only affect status Sticky and Live, and is very limited in it’s usefulness in the future.
***

These tags are intended to be used in an article form. When used in an article form this tag alters an article’s status on an exit condition basis (an article displayed as Live when the tag is called will display, if it’s status is changed to Pending on that pass it will not display on the next pass.)

Used singly as an article form tag it feels very clumsy, but what can be accomplished with article form “form” and “status” attribute settings when organized with sections, conditional tags, and category usage is extensive.
Adjusting article status allows integration of posting time based conditionals (or any other article based conditional check) to automate display control, with pagination methods that are an inherent design characteristic of Textpattern. This if nothing else has me looking at it again and again.
The potential is greater than it seems at first.


ras_set_article_status_v4.0.6
***
As of changeset 2887 this tag can only affect status Sticky and Live, and is very limited in it’s usefulness in the future.
***


Updated plugins for TXP 4.0.6 · Jan 28, 04:01 pm by Rick


The archive in the side bar named 4.0.6 plugins.zip contains a set of plugins that will run with TXP 4.0.6. Very little changed with any of them except some minor updates to adapt to changes in the tagbuilder functions used in some of the older plugins.
This set of plugins represent what I feel worthy of survival and general use with TXP 4.0.6.

Included are:

ras_plugin_credits_v4.0.6.1.txt
ras_page_of_v4.0.6.1.txt
ras_if_dates_v4.0.6.1.txt
ras_if_article_keywords_v4.0.6.1.txt
ras_if_article_image_v4.0.6.1.txt

These have been tested fairly well at this point, but any feedback is always welcome.



ras_rollover text · Sep 26, 06:24 pm by Rick


Been fooling around with a pet idea that I’ve always liked, links that display text on a different area of the page when moused over. I’ve always considered it catchy when you use it right.
I’ve got this version working the way I would like, the next step would be integrating the idea with jQuery.

A quick peek at the code

Version 4.0.5.2 uses jquery and has some bug fixes, its recommended.

Any feedback would, of course, be welcome.



if_article_image · Sep 15, 06:58 pm by Rick


This is an idea that has been around for a while. This polished up shiny version will also look at the article image number for you if you like; I can think of any number of reasons for that choice being nice!



expire_mod 4.1.0 plugins · Aug 10, 06:27 pm by Rick


The occasional interest in article expiration and auto delete functionality that arises is enough to polish up some older plugins and make them available for those who would like to try them out.

This zip archive includes a version of ras_if_dates, ras_delete_expired, ras_auto_delete, ras_status_set; all intended to be used with crockery Textpattern development branch, or a version 4.0.5 stable TXP version with the article expire mod installed (I don’t have this available for download, only the plugins that will run with it).

Feel free to try them out and let me know what you think.




Page 1's List Navigation