16 results for "year":

Copyright dates

…every time a text is amended, the particular year should appear in the copyright notice i.e … without using a plugin. Use PHP to echo the year <txp:variable name="year" … /> <txp:if_variable name="year" value='<txp:posted … &copy; <txp:variable name="year" /> <txp:else /> &copy; … /> - <txp:variable name="year" /> </txp:if_variable> The code …

Archive tree with article counts

…way to construct a tree of articles sorted by year/month, with article counts, like this: …and … <txp:variable name="year" … <txp:if_variable name="year" value=""><txp:else /> … Roughly speaking, every time a new month/year is encountered, we close the current article list … to query the database for article counts for each year/month, but this would take time. And actually the …

Christmas 2012 donations to the Textpattern developers

…Christmas fund raising effort. This is the third year that we have organised this – last year … members and in 2010, €930 was raised. So this year, we aim to hopefully raise a little more. If … to Textpattern in 2012 than some previous years combined. How it works: To donate, please visit … Jukka Svahn Phil Wareham Robert Wetzlmayr This year, in recognition for his outstanding efforts to … and Destry. You’ve made it a great year for the software and its community, and we are …

Articles from matching days or months

…I run a photoblog with daily entries going back 5 years. I wanted to have a way to display the entry … posted on the same month/day for other years. So if someone was viewing a post from 10 … of the current article $variable['entry_year'] = strftime('%Y', $ts); … query="SELECT ID, Title, Posted, YEAR(Posted) AS theYear FROM textpattern WHERE … '%d') = '?entry_day' AND YEAR(Posted) != '?entry_year' ORDER BY Posted …

Automated custom titles for your articles

…var year = $('input[name="year"]').val(); // Build the new title value … = title +' ['+ month +'/'+ year +']'; } // Set the new custom Title … var year = $('input[name="year"]').val(); Third step Build the title … = title +' ['+ month +'/'+ year +']'; } Fourth step The last part of the …

Archive by year using a single article

…is create a new article at the beginning of the year, and add the following code to it, change the … Each Archive article’s title is just the year, 2009. The url is http://bertgarcia.com/2009, … article to display the number of articles per year: <txp:rah_function call="safe_count" …

How to build a Textpattern plugin

…of a multimedia course, given to students 17 years here in Belgium, which will be at university … next year. They learn computer science for 10 hours per … not to become professionals. In multimedia, in 2 years, they learn XHTML, CSS, some PHP, a bit of … ends up together at the end in Textpattern. Each year, as a final project study, they realize …