]> git.imager.perl.org - bse.git/blame - site/docs/bse.pod
final confirmation page changes
[bse.git] / site / docs / bse.pod
CommitLineData
e8d7cca1
TC
1=head1 NAME
2
3BSE - an engine for simple magazine style WWW sites.
4
5=head1 DESCRIPTION
6
7BSE is an engine for creating simple magazine stype web sites.
8
9Maybe I'll add some other bits here.
10
11=head1 CHANGES
12
99ef7979
TC
13=head2 0.10_07
14
15Another test release:
16
17=over
18
19=item *
20
21initial step kids|parents for the shop
22
23=item *
24
25new popup menu templates from Adrian
26
27=item *
28
29added acknowledgements to AUTHOR section
30
31=back
32
33=head2 0.10_06
34
35Test release for Adrian, with his new templates.
36
37=head2 0.10_05
38
39Test release for Adrian.
40
365115ba
TC
41=head2 0.10_04
42
99ef7979
TC
43Don't use this version.
44
365115ba
TC
45=over
46
47=item *
48
49URLs can be directly associated with an image
50
51=item *
52
53multiple levels of catalogs
54
55=item *
56
57shop item options
58
59=item *
60
61filtering/sorting of orders from the template
62
63=item *
64
65embedded templates can be based on the template of the article being
66embedded
67
68=item *
69
70order status information, marking an order has having been filled
71
72=item *
73
74better handling of generation errors
75
76=item *
77
78partial support for Microsoft SQL Server under IIS
79
80=item *
81
82extended price tag for the cart and checkout pages
83
84=item *
85
86prePurchase target for the shop, to allow custom credit card processing
87
88=item *
89
90template based filtering of the order list
91
92=back
93
d3fd4b55
TC
94=head2 0.10_03
95
96=over
97
98=item *
99
100added the admin/reorder.pl script
101
102=item *
103
104template names in <: embed :> tags have $ replaced with the template
105name of the article.
106
107=back
108
8642d701
TC
109=head2 0.10_02
110
111=over
112
113=item *
114
115added the image[] tag (image[index|align|url])
116
117=item *
118
119added printable.pl, site/templates/printable/printable.tmpl to allow
120printable versions of pages (among other things)
121
d3fd4b55
TC
122=item *
123
124implemented the ifCurrentPage tag
125
8642d701
TC
126=back
127
6dbadf01
TC
128=head2 0.10_01
129
130=over
131
132=item *
133
134added <:siteUrl:> tag in %EXTRA_TAGS (used by the RSS templates)
135
136=item *
137
138fixed broken template value for the formatting guide (initial.pl)
139
140=item *
141
142fixed broken admin links for the formatting guide (initial.pl)
143
144=item *
145
146the formatting guide now generates to
147http://your.site/a/format_guide.html (initial.pl)
148
149=item *
150
151RDF/RSS is now generated to /a/site.rdf. This includes links and
152titles for the articles on the home page, and a search field (if the
153tool displaying the RSS supports that.)
154
155=back
156
25048431
TC
157=head2 0.10
158
5c2f0006
TC
159WARNING: the tag for articles found for a search has changed from:
160
161 article I<field>
162
163to:
164
165 result I<field>
166
e1f1b0de
TC
167There is a new module required: HTML::Parser
168
25048431
TC
169=over 4
170
171=item *
172
173the <:embed child:> tags meaning has been expanded to allow embedding
174of any article with an optional template
175
176=item *
177
178there's now an embed[] tag for use in body text. Both this and
179<:embed ... :> are protected against infinite recursion.
180
181=item *
182
183changed display values for sections etc in Constants.pm, you can still
184put your own in when you customize.
185
186=item *
187
188the default templates for each level have been set to a single
189template, for a simpler default setup
190
191=item *
192
193new admin index pages, which may display a little better in some
194browsers
195
196=item *
197
198you can move articles between levels, if enabled in Constants.pm
199
200=item *
201
202unquoted search terms will do "start of word" searches if enabled in
203Constants.pm
204
205=item *
206
207html[] tags and <html> body text now has tags stripped when displayed
208as a summary or as a search excerpt. The search indexing can now
209handle both of these too.
210
211=item *
212
5c2f0006
TC
213the search template now uses 'result' rather than 'article' for the
214search result entries. This is needed since the search base page is
215generated as an article, using a dummy article. The title and
216titleImage for this dummy article can be specified in Constants.pm.
217
eed62368
TC
218=item *
219
220you can now control whether an unlisted level1 article is displayed in
d093b204
TC
221the crumbs for an article. By default unlisted level1 articles are
222NOT listed anymore.
eed62368
TC
223
224=item *
225
226a bunch of new templates from adrian, including moving the common
227layout into base.tmpl where possible, support for "sidebars".
228
229=item *
230
3f87d74c
TC
231a formatting guide article in initial.pl (from adrian) (and then an
232updated version of it)
eed62368
TC
233
234=item *
235
236renamed INSTALL to INSTALL.txt to prevent wierdness if someone tries
237"make install" on a case-insensitive file system.
238
e1f1b0de
TC
239=item *
240
241administration templates are now kept in the admin directory in the
242templates directory
243
244=item *
245
246added simple test installer. WARNING: this destroys the existing content
247of your site.
248
249=item *
250
251distribution now includes site/htdocs/shop as a directory rather than
252as a file
253
254=item *
255
256schema/bse.sql now drops the tables if they already exist
257
52770e1a
TC
258=item *
259
260the item description in the shopping cart is now a link to the item
261
262=item *
263
264changed some defaults in Constants.pm
265
e8b78086
TC
266=item *
267
268catalog templates from $TMPLDIR/templates/catalogs weren't being handled
269correctly
270
25048431
TC
271=back
272
e8d7cca1
TC
273=head2 0.09
274
275=over 4
276
277=item *
278
279added support for controlling access to the regenerate option
280
281=item *
282
283added the ability to disable auto-regeneration
284
285this initially broke some buttons, fixed
286
287=item *
288
289properly escape child properties in add.pl
290
291=item *
292
293removing an article now removes any associated images
294
295=item *
296
297removing an image from an article now removes the image file when you
298save the article.
299
300=item *
301
302added datadump.pl (send an email containing a mysql datadump), with
303configuration in Constants.pm
304
305=item *
306
307added imageclean.pl - cleans up the image table and images directory
308
309=item *
310
311added an advanced admin page with links to datadump.pl and
312imageclean.pl (you can change these of course).
313
314=item *
315
316previously it was possible for a user with admin rights to choose a
317template that was outside the templates directory.
318
319=back
320
321=head2 0.08
322
323=over 4
324
325=item *
326
327modified administration templates
328
329=item *
330
331formatting is now stripped from body text before an excerpt is
332produced (for the search results).
333
334=back
335
336=head2 0.07
337
338I'll add in the 0.07 change list as soon as I figure out what I changed...
339
340Once I get my old 0.08 RC that may include the 0.07 change list.
341
342=head2 0.06
343
344Some changes are being made to allow the engine to be embedded into a
345site (specifically squirrelweb.com.au).
346
347=over 4
348
349=item *
350
351Bug fix: shop.pl had a silly exporter mistake, and a sillier reference
352to an unknown variable name.
353
354=item *
355
356changed admin links to buttons for the catalog and product pages,
357added a Display button to the product page.
358
359=item *
360
361cleaned up the shopitem, cart_base, checkout_base, checkoutfinal_base,
362mailorder and mailconfirm templates, removing tags that don't work in
363them, removing references to bodyscoop, fixing broken images, removed
364thawte stamp.gif.
365
366=item *
367
368%EXTRA_TAGS now work in mailorder and mailconfirm templates
369
370=item *
371
372You can now use $SHOP_EMAIL_ORDER to disable sending the encrypted
373order. (Useful only for testing or until you get encryption keys
374organized - there's no other way to get the credit card number and
375expiry date.)
376
377=item *
378
379Generate/Product.pm had a hard-coded link to the internal test
380site. (Doh!)
381
382=item *
383
384some base URIs can be configured, though this still needs some work.
385
386=back
387
388=head2 0.05
389
390=over 4
391
392=item *
393
394Bug fix: only add the class attribute to thumbnails if one is supplied
395(doh!)
396
397=item *
398
399Moved shop configuration from shop.pl to Constants.pm
400
401=item *
402
403Extended template field to 127 characters so directories can be used
404without chopping off names.
405
406=item *
407
408Added installation documentation.
409
410=item *
411
412Templates in the drop-down lists in add.pl now includes templates from
413$TMPLDIR/$level and $TMPLDIR/common.
414
415=item *
416
417crumbs now include the section, whether or not they are listed.
418
419=item *
420
421added templates.pod, which contains most templating documentation,
422copied from new documentation in various places (shop.pl, search.pl,
423Generate::*.pm).
424
425=item *
426
427search.pl wasn't handling single-quoted search terms correctly
428
429=item *
430
431added ifInMenu tag
432
433=item *
434
435more changes to support multiple catalogs:
436
437=over 4
438
439=item *
440
441the initial catalog can be removed. The initial catalog isn't useful
442when you need more than one catalog. If you want multiple catalogs
443you need to remove the initial catalog and then add new ones. The
444templates need work too.
445
446=item *
447
448the link/admin fields for the new article are set correctly (oops)
449
450=item *
451
452added a sample section template for a multi-catalog shop
453
454=back
455
456=item *
457
458the sample templates look better, along with better title images
459
460=item *
461
462the shop was being generated with a non-secure url
463
464=item *
465
466parent articles were not being regenerated when an article was deleted
467
468=back
469
470=head2 0.04
471
472You will need to recreate the articles table, since a new column has
473been added to support article thumbnails.
474
475=over 4
476
477=item *
478
479Added article thumbnails.
480
481=item *
482
483Multiple product catalogs.
484
485=item *
486
487leadTime is now modifiable in products.
488
489=item *
490
491Bug fix: only list .tmpl files from template directories in article
492editing forms.
493
494=item *
495
496Bug fix: prevent adding non-catalog subsections to the shop section.
497
498=item *
499
500Bug fix: the crumbs iterator no longer shows crumbs that have "don't
501list in menu" set. Such subsections often shouldn't be linked to.
502
503=item *
504
505The documentation on article templates has been improved.
506
507=item *
508
509Some tags that operate on articles have been expanded to work on all
510article objects available in the template.
511
512=back
513
99ef7979
TC
514=head1 AUTHOR
515
516Tony Cook <tony@develop-help.com>
517
518I originally wrote BSE while an employee at SquirrelWeb
519http://www.squirrelweb.com.au/ for http://www.bodyscoop.com.au/
520
521Most of the BSE templates were created by Adrian Oldham
522<adriann@visualthought.com.au>. He also funded and suggested many
523improvements.
524
525Realware Systems http://www.realware.com.au/ funded the nested
526catalogs, IIS support, the image access tags, and many other shop
527improvements, including most of the BSE::Custom hooks.
528
e8d7cca1 529=cut