Blog

Line 6: Line 6:
 
--></span>
 
--></span>
  
{{#formlink:form=blog_post|link text=New post|link type=button|returnto=Blog}}
+
{{#formlink:form=post|link text=New post|link type=button|returnto=Blog}}
 
<inputbox>
 
<inputbox>
 
type=create
 
type=create
Line 12: Line 12:
 
width=
 
width=
 
default=
 
default=
preload=Template:Blog post/preload
+
preload=Template:Post/preload
 
editintro=
 
editintro=
buttonlabel=New blog post
+
buttonlabel=New post
 
hidden=
 
hidden=
 
searchbuttonlabel=
 
searchbuttonlabel=
Line 24: Line 24:
 
</inputbox>
 
</inputbox>
  
{{#cargo_query:tables=blog_posts
+
{{#cargo_query:tables=posts
 
|fields=_pageName=Title, DATE_FORMAT(date, '%W, %e %M %Y')=Date, location=Location, categories=Categories, description=Description
 
|fields=_pageName=Title, DATE_FORMAT(date, '%W, %e %M %Y')=Date, location=Location, categories=Categories, description=Description
 
|order by=blog_posts.date DESC
 
|order by=blog_posts.date DESC
Line 33: Line 33:
 
</div><!-- end itemscope -->
 
</div><!-- end itemscope -->
  
''See also [[Special:CargoTables/blog_posts]] and [[Template:Blog post]].''
+
''See also [[Special:CargoTables/posts]] and [[Template:Post]].''

Revision as of 01:22, 10 January 2020

Feed-icon.svg.png RSS news feed: https://samwilson.id.au/news.rss
(or Wikimedia.rss, Fremantle.rss, OpenStreetMap.rss, etc. for topic feeds).

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `_pageName` AS `Title`,DATE_FORMAT(date, '%W, %e %M %Y') AS `Date`,`location` AS `Location`,`categories__full` AS `Categories`,`description` AS `Description` FROM `cargo__posts` ORDER BY blog_posts.date DESC LIMIT 50 Function: CargoSQLQuery::run Error: 1054 Unknown column 'blog_posts.date' in 'order clause' (localhost)

See also Special:CargoTables/posts and Template:Post.

Retrieved from ‘https://samwilson.id.au/index.php?title=Blog&oldid=3011