re:page, pagelength
reply by chris to "page, pagelength" on 08 Mar 10 at 09:52
update: have renamed page to pager --- page is already used extensively elsewhere.

re:page, pagelength
reply by ian to "page, pagelength" on 08 Mar 10 at 09:21
good - a less industrial approach than the limit parameter

page, pagelength
article by chris on 07 Mar 10 at 20:23
Have added 2 parameters to ob.list

page and pagelength (the latter defaults to 20)


This allows queries that return subsets of their total results. The query is re-run each time and maps to limit start, length in MySQL.

Nb. These parameters override the limit parameter.
....(more)

"share this" removed (for now)
article by ian on 05 Mar 10 at 08:38 in updates
"share this" links have been removed for now, as they were not being maintained.

The intention is to replace these, if and when required, with a simple link to a generic "share this" service.

older and newer item links
article by ian on 05 Mar 10 at 08:37 in updates
revision 4846

  • the "next article" ("next reply", whatever) link has been moved to a more suitable location, i.e. at the foot of the page, and enhanced to give e.g. "older article" and "newer article"
  • these links are now only given for posted items
  • the links for articles are now in the sequence they were posted (unlike before where the sequence of last update was used)

Hopefully this gives more stable, understandable and usable navigation links.

re:page ownership can now be edited
reply by ian to "page ownership can now be edited" on 24 Feb 10 at 11:03
I have now enhanced this facility to allow replies to have their ownership edited.

live sites using evoke
article by site administrator on 20 Feb 10 at 16:16
These sites were created and are maintained using EVOKE:

....(more)

version 2.004716
article by ian on 20 Feb 10 at 15:44 in updates
The latest stable version of the source code is available here for download

  • fixes a bug which prevented members with no groups from logging in
  • otherwise, as version 2.004648

site re-arrangement
article by site administrator on 09 Feb 10 at 14:43
Documentation posts have been moved to the new documentation section.

Posts about updates to EVOKE have been moved to the new updates section.

Further site enhancements, for logged in members only, are described here

version 2.004648
article by site administrator on 09 Feb 10 at 14:39 in updates
The latest stable version of the source code is available here for download

version 2.004648


This code is tried and tested on several live sites, but the packaging for distribution is still not as slick as it should be. Any issues, please register and post your questions here.

EVOKE licence
article by site administrator on 09 Feb 10 at 00:00 in documentation

A. HISTORY OF THE SOFTWARE


EVOKE was created in 2007 by Ian Howie Mackenze, with contributions from
Allister Noble and Christopher J Hurst. It was evolved from the deepcore
library of the DeepSystems Partnership (www.deepserver.net), which was
developed through several versions by Christopher J Hurst and
Ian Howie Mackenzie over the years 2000 to 2007.
....(more)

re:page tab and status changes
reply by ian to "page tab and status changes" on 20 Jan 10 at 16:19
good - that was the intention

re:page tab and status changes
reply by sandy to "page tab and status changes" on 20 Jan 10 at 14:40
Definite improvement , less is without doubt more in this case .
Much easier to understand what you are looking at an where you are .

page tab and status changes
article by ian on 20 Jan 10 at 13:14 in updates
revision 4516

  • the config pagetabs option has been removed, along with the coding complexities it involved - now we assume that all sites are using page tabs, or a different menu display based on the same information
  • tabs altered so that first tab gives page kind consistently (except for pages 1 and 2 which are labeled "forum" and "community" repectively - this tells us what kind of page we are dealing with, thus that info need not be displayed elsewhere
  • page status (eg public,community,private) removed for normal cases of posted items, active members etc, as discussed. draft or disabled status is still shown, as is personal for private messages, as I consider such info as useful or necessary.
  • page footer (which showed page type and date, very tiny) has been removed also, as it is superfluous now.
....(more)

re:page ownership can now be edited
reply by sandy to "page ownership can now be edited" on 17 Jan 10 at 16:06
Fantastic thanks for getting this done .

page ownership can now be edited
article by ian on 16 Jan 10 at 17:42 in updates
revision 4450

Ownership for various types of pages can now be edited - principally articles, episodes, and replies. You must have page admin rights, and then the page owner (in the page title area) links to a selection page containing all members of the relevant group.

When page ownership is changed, all pages and items contained within that page will become accessible to the new owner, except for replies, and any items which did not belong to the old owner (eg an episode which has had its ownership changed already..).

Accordingly, an admin can now create draft episodes in an article and then reassign them to other members, who can then edit and post these episodes.
....(more)

evo now handles line continuation
article by ian on 12 Jan 10 at 09:38 in updates
revision 4421

evo templates can now handle line continuation, using \ at the end of a line.

eg: {
p: "This works very simply and consistently\
allowing you to break any string\
or any code\
....(more)

no-ratings and admin-only ratings
article by ian on 09 Jan 10 at 15:19 in updates
ratings system enhanced with a new ratings config setting, with the following options:
  • ratings=True (default) : ratings function as before
  • ratings=False : no ratings
  • ratings="admin" : only those with page admin ratings can see or change the ratings

also - RSS items can now be rated

link fixes and new evoke/mylinks function
article by ian on 09 Jan 10 at 10:56 in updates
revision 4404

evoke/mylinks function added to easily access your personal links - this will ask for a login if necessary

evoke/links (used in navigation section of wrapper.evo) now always gives the admin user's link page, i.e. the site-wide links intended for everyone's use. Before, this was giving user-specific links, which makes no sense (as there is a "my links" tab for that on the user home page anyway).

Also, it is now impossible (even for the admin user) to edit links for anyone other than yourself. This has fixed a number of anomalies.

utility functions in Page.py
article by ian on 24 Dec 09 at 12:35 in documentation
if you have Page admin rights you can use, for any page, (via url - e.g. /evoke/page/123/tidy):

list_config

lists contents of self.Config

list_items

....(more)