Documentation

Classifieds

Classifieds

Advertisements members post themselves — with a price, a place, pictures and a date they expire, reviewed before strangers see them.

Everything below is declared by Classifieds itself, so it describes this deployment rather than a manual — and it is rewritten whenever the program changes.

What it is

  • Its key is Classifieds, which is also the prefix of every component it owns.
  • It is bought: a site has it only when the registry records that this customer bought it.

What it may be allowed to do

These are the permissions it declares. A person sees one of its screens only where his role carries the matching permission.

  • classifieds.enquiries
  • classifieds.manage
  • classifieds.moderate
  • classifieds.setup
  • classifieds.view

What it puts on a page

5 components, each of which can be dropped onto a page in the composer.

Advertisement categories

What is advertised here, as a way in.

Placed as Classifieds.Categories.

4 settings:

  • Under which category — chosen from a list this site's own data fills.
  • How many across — a number, left alone it is 4.
  • Show how many are in each — a switch, left alone it is true.
  • Show categories with nothing in them — a switch, left alone it is false. A category nobody has advertised under is a promise the page cannot keep.

Advertisement category page

One category's advertisements, reached by its address.

Placed as Classifieds.Category.

3 settings:

  • How many — a number, left alone it is 24.
  • How many across — a number, left alone it is 3.
  • Show the categories under it — a switch, left alone it is true.

Advertisement page

One advertisement in full, reached by its address.

Placed as Classifieds.Detail.

2 settings:

  • Show who posted it — a switch, left alone it is true.
  • Show the map — a switch, left alone it is true.

Advertisements

What members are offering, with the price and where it is.

Placed as Classifieds.List.

6 settings:

  • How many — a number, left alone it is 12.
  • How many across — a number, left alone it is 3.
  • Category — chosen from a list this site's own data fills.
  • Which kind — chosen from Offering, Looking for.
  • Hide what has sold — a switch, left alone it is false. Left on, a sold listing still shows — it is what tells a reader things sell here.
  • Show the price — a switch, left alone it is true.

Post an advertisement

The form a member writes an advertisement in, and his own advertisements.

Placed as Classifieds.Post.

One setting:

  • Show the member his own advertisements — a switch, left alone it is true.

Comments

Nobody has written yet. Be the first.

This article is not taking comments.