crypted admin password support
[bse.git] / site / cgi-bin / bse.cfg
CommitLineData
2eca61d5
TC
1[site]
2name=SomeSite
b19047a6
TC
3; url should not include a trailing /
4url=http://your.site.base
5secureurl=$(url)
2eca61d5 6
4ef01459
TC
7[basic]
8randomdata = /dev/urandom
9168c88c 9access_control=0
6430ee52 10file_handlers=flv
4ef01459 11
2eca61d5
TC
12[paths]
13; the following needs to be set to a path writable by the BSE processes
14downloads = /somewhere
3c32512d 15siteuser_images = $(paths/downloads)
efcc5a30 16dynamic_cache=$(paths/downloads)/../cache
026d5cec 17backgroundlogs=$(downloads)/../backlogs
2eca61d5
TC
18
19[pregenerate]
20
21; the following are required by the system - don't modify them
3fb296b8
TC
22user/editbooking.tmpl = user,user/base_editbooking.tmpl
23user/bookingdetail.tmpl = user,user/base_bookingdetail.tmpl
24user/cancelbooking.tmpl = user,user/base_cancelbooking.tmpl
25user/bookinglist.tmpl = user,user/base_bookinglist.tmpl
ab2cd916 26user/orderdetail.tmpl = user,user/base_orderdetail.tmpl
4ef01459
TC
27user/alreadyblacklisted.tmpl = user,user/alreadyblacklisted_base.tmpl
28user/blacklistdone.tmpl = user,user/blacklistdone_base.tmpl
29user/cantunsub.tmpl = user,user/cantunsub_base.tmpl
30user/confirmed.tmpl = user,user/confirmed_base.tmpl
31user/confsent.tmpl = user,user/confsent_base.tmpl
2a295ea9 32user/confsent_nop.tmpl = user,user/confsent_nop_base.tmpl
4ef01459 33user/email_conferror.tmpl = user,user/email_conferror_base.tmpl
2eca61d5 34user/logon.tmpl = user,user/logon_base.tmpl
2eca61d5 35user/lostemailsent.tmpl = user,user/lostemailsent_base.tmpl
4ef01459 36user/lostpassword.tmpl = user,user/lostpassword_base.tmpl
2eca61d5 37user/lostpwdemail.tmpl = user,user/lostpwdemail_base.tmpl
2a295ea9 38user/nopassword.tmpl = user,user/nopassword_base.tmpl
4ef01459 39user/options.tmpl = user,user/options_base.tmpl
2a295ea9 40user/options_saved.tmpl = user,user/options_saved_base.tmpl
9063386f 41user/options_billing.tmpl = user,user/options_billing_base.tmpl
3c32512d 42user/options_images.tmpl = user,user/options_images_base.tmpl
4ef01459 43user/register.tmpl = user,user/register_base.tmpl
b19047a6 44user/toomany.tmpl = user,user/toomany_base.tmpl
4ef01459 45user/toosoon.tmpl = user,user/toosoon_base.tmpl
531fb3bc
TC
46user/unsuball.tmpl = user,user/unsuball_base.tmpl
47user/unsubone.tmpl = user,user/unsubone_base.tmpl
4ef01459 48user/userpage.tmpl = user,user/userpage_base.tmpl
d49667a2 49user/userpage_wishlist.tmpl = user,user/base_userpage_wishlist.tmpl
32696f84
TC
50user/userpage_files.tmpl = user,user/base_userpage_files.tmpl
51user/userpage_orders.tmpl = user,user/base_userpage_orders.tmpl
d49667a2 52user/wishlist.tmpl = user,user/base_wishlist.tmpl
0eb78304
TC
53user/bookseminar.tmpl = user,user/base_bookseminar.tmpl
54user/bookconfirm.tmpl = user,user/base_bookconfirm.tmpl
55user/bookcomplete.tmpl = user,user/base_bookcomplete.tmpl
5af99440 56user/redirect.tmpl = user,user/base_redirect.tmpl
ee6577c3
TC
57interest/confirm.tmpl = interest,interest/confirm_base.tmpl
58interest/askagain.tmpl = interest,interest/askagain_base.tmpl
59interest/error.tmpl = interest,interest/error_base.tmpl
a5e3fc4b
TC
60formmail/defquery.tmpl = formmail,formmail/defquery_base.tmpl
61formmail/defdone.tmpl = formmail,formmail/defdone_base.tmpl
c2096d67 62error.tmpl = error,error_base.tmpl
0c2e7f7a
TC
63tellafriend/form.tmpl = user,tellafriend/base_form.tmpl
64tellafriend/done.tmpl = user,tellafriend/base_done.tmpl
2eca61d5
TC
65
66[user settings]
67title = My $(site/name)
68
ee6577c3
TC
69[interest settings]
70title = $(site/name) Interest Registration
71
a5e3fc4b
TC
72[formmail settings]
73title = Send us a comment
74
c2096d67
TC
75[error settings]
76title = Error
57d988af 77dynamic = 0
c2096d67 78
2eca61d5
TC
79[messages]
80user/notyourorder = Order $1 isn't your order
721cd24c 81shop/fileitems = You have products in your cart that include downloadable files. Please logon or register before checking out.
6e3d2da5 82shop/logonrequired = This site requires that you be logged on to make a purchase. Please logon or register before checking out.
2eca61d5 83
2404a911
TC
84[downloads]
85; if true, an order must be marked paid for before the user can download
86; the files attached to the products
87;must_be_paid = yes
88; if true, an order must be marked filled before the user can download the
89; files attached to the products
90;must_be_filled = yes
721cd24c
TC
91
92[children of 5]
93template=common/sidebar.tmpl
94template_dirs=sidebar
b19047a6
TC
95
96[extra tags]
b19047a6 97siteUrl = $(site/url)
2a295ea9
TC
98siteName = $(site/name)
99; You can add any static tag definitions you like here
100; salesEmail = someone@yoursite.com
101; salesPhoneNo = 61 2 9999 8888
531fb3bc
TC
102
103[datadump]
104# where to email the data dump
105#to = someone@somewhere
106# program to run to do the dump
107# must take the same parameters as mysqldump
d09682dd 108#mysqldump = /usr/local/mysql/bin/mysqldump
531fb3bc
TC
109
110[subscriptions]
111# if override is non-zero then the fields for the archiving and templates
112# will be available when sending a subscription
113override=1
114
ca9aa2bf
TC
115[level names]
1160=Your Site
918735d1
TC
1171=Page Lev1
1182=Page Lev2
1193=Page Lev3
1204=Page Lev4
1215=Page Lev5
ca9aa2bf
TC
122
123[articles]
124shop=3
caa7299c 125
08123550
TC
126[shop]
127payment_types=0,1,2
128address1=First address line in configuration
129address2=Second address line in configuration
130address3=Third address line in configuration
7b81711b 131enabled=1
d49f56a6
TC
132display_billAddress=Billing Address
133display_name1=First Name
134display_name2=Last Name
135display_address=Address
08123550 136
caa7299c
TC
137[level 1]
138template=common/default.tmpl
139
140[level 2]
141template=common/default.tmpl
142
143[level 3]
144template=common/default.tmpl
145
146[level 4]
147template=common/default.tmpl
148
149[level 5]
150template=common/default.tmpl
151
152[catalogs]
153template=catalog.tmpl
154
155[products]
156template=shopitem.tmpl
08123550 157
cc9019d1
TC
158[templates]
159admin/edit_2=admin/edit_1
160admin/edit_3=admin/edit_1
161admin/edit_4=admin/edit_1
162admin/edit_5=admin/edit_1
163admin/edit_img=admin/article_img
164admin/edit_file=admin/filelist
165
2076966c
TC
166; this used to be handled via the edit target, but since CVS sucks
167; I won't rename the template
168admin/users/view_orders=admin/users/edit_orders
169
08123550 170[Global permissions]
de193691
TC
171change_body = 8
172change_body_no_shop = 9
173full_access = 0
174full_access_no_shop = 3
08123550 175shop_access = 1
de193691
TC
176shop_orders = 5
177subscriptions = 4
178users_and_groups = 6
6555857d
TC
179confirm_members = 12
180manage_members = 13
08123550
TC
181
182[Article permissions]
de193691 183change_body_doc = 2
7b81711b 184change_body_decendants = 10
de193691 185full_access_doc = 7
7b81711b 186full_access_decendants = 11
08123550 187
de193691
TC
188[permission change_body]
189brief=Title & body (Site)
190help=The user has permission to change only the title & body of all articles or products.
191permissions=edit_field_edit_body,edit_field_edit_title,edit_save
08123550 192descendants=1
de193691 193articles=-1
08123550 194
de193691
TC
195[permission change_body_no_shop]
196brief=Title & body except shop admin
197help=The user has permission to change only the title & body of all
198articles except for the shop.
abf5bbc6 199permissions=edit_field_edit_body,edit_field_edit_title,edit_save
de193691
TC
200descendants=1
201articles=not(3)
08123550 202
de193691
TC
203[permission full_access]
204brief=Full access (Site)
205help=Full access to the article. The user can modify all modifiable fields, delete and add articles at will.
7dd6ebae 206permissions=edit_*,regen_*,bse_*
08123550 207descendants=1
de193691 208articles=-1
08123550 209
de193691
TC
210[permission full_access_no_shop]
211brief=Full access except shop admin
212help=The user has complete access to all articles except for the shop.
213permissions=edit_*,regen_*
08123550 214descendants=1
de193691
TC
215articles=not(3)
216
217[permission shop_access]
218brief=Shop administration
219help=The user has complete access to catalogs or products in the shop.
9168c88c 220permissions=not(admin_*)
de193691
TC
221descendants=1
222articles=3
08123550 223
de193691
TC
224[permission shop_orders]
225brief=Shop orders management
226help=The user can view the order list, order details, and mark orders filled.
227permissions=shop_order_*
da6bc286 228articles=-1
da6bc286 229
de193691
TC
230[permission subscriptions]
231brief=Subscriptions management
232help=The user can create, edit and send subscriptions.
233permissions=subs_*
da6bc286 234articles=-1
da6bc286
TC
235
236[permission users_and_groups]
da6bc286 237brief=User/Group management
de193691 238help=The user can manage users, groups and their permissions.
da6bc286 239permissions=admin_*
de193691
TC
240articles=-1
241
242[permission change_body_doc]
243brief=Title & body (Article)
244help=The user has permission to change only the title & body of this
245article or product.
246permissions=edit_field_edit_body,edit_field_edit_title,edit_save
247
7b81711b
TC
248[permission change_body_decendants]
249brief=Title & body (Article + Decendants)
250help=The user has permission to change only the title & body of this article or product and it's decendants.
251permissions=edit_field_edit_body,edit_field_edit_title,edit_save
252descendants=1
253
de193691
TC
254[permission full_access_doc]
255brief=Full access (Article)
256help=Full access to the article. The user can modify all modifiable
257fields for this article or product.
258permissions=edit_*,regen_*
da6bc286 259
7b81711b
TC
260[permission full_access_decendants]
261brief=Full access (Article + Decendants)
262help=Full access to the article and it's decendants. The user can modify all modifiable fields for this article or product.
263permissions=edit_*,regen_*
264descendants=1
918735d1 265
6555857d
TC
266[permission confirm_members]
267brief=Confirm member email address
268help=The user can manually mark a members email address as confirmed.
269permissions=bse_members_confirm
270articles=-1
271
272[permission manage_members]
273brief=Member management
274help=The user can manage site members
275permissions=bse_members_user_*,bse_members_group_*
276articles=-1
277
918735d1 278[article flags]
3f36e485
TC
279A=Disallow browser caching (default, dynamic articles only)
280B=Allow browser caching (dynamic articles only)
281C=Don't index this article or it's descendants
282F=Descendants inherit Always Dynamic
918735d1 283I=Index even if hidden
cc9019d1 284N=Don't index even if listed
efcc5a30 285R=Regenerate even if we're using JIT regen (dynamic pages only)
918735d1
TC
286
287[article 1]
288extra_templates=index.tmpl
289
290[article 2]
291extra_templates=index2.tmpl
b553afa2
TC
292
293[reports]
294sales_summ_by_product=Sales Summary By Product
295product_sales_over_time=Product Sales Over Time
2d873eb6
TC
296monthly_sales=Monthly Sales
297quarterly_sales=Quarterly Sales
298weekly_sales=Weekly Sales
299yearly_sales=Yearly Sales
300total_sales=Total Sales
301users_vs_orders=Users vs Orders
9063386f 302user_products=Products bought by User
988d8721 303bse_test=Test report
b553afa2
TC
304
305[report sales_summ_by_product]
2d873eb6 306sql1=select pr.articleId as "Id", ar.title as "Product", count(*) as "Units" from article ar, product pr, order_item oi where ar.id = pr.articleId and pr.articleId = oi.productId group by pr.articleId, ar.title
9063386f
TC
307sql1link1=<a href="/cgi-bin/admin/report.pl?s_show=1&r=product_sales_over_time&p1=${Id}">Sales Over Time</a>
308sql1link2=<a href="/cgi-bin/admin/add.pl?id=${Id}">Edit</a>
9615cff6
TC
309sort1=-Units;By Unit from highest;order by 3 desc
310sort2=+Units;By Unit;order by 3
311sort3=+Product;Product name;order by 2
312sort4=-Product;Reverse product name;order by 2 desc
b553afa2
TC
313
314[report product_sales_over_time]
2d873eb6 315sql1=select year(od.orderDate) as "Year", month(od.orderDate) as "Month", count(*) as 'Units' from order_item oi, orders od where oi.orderId = od.id and productId = ? group by year(od.orderDate), month(od.orderDate) order by 1 DESC, 2 DESC
650a6188 316sql1params=1
b553afa2 317param1=product,Product
9615cff6
TC
318sort1=-Year;Reverse time order;order by 1 desc, 2 desc
319sort2=+Year;Time order;order by 1 asc, 2 asc
320sort3=-Units;By units desc;order by 3 desc
321sort4=+Units;By units asc;order by 3 asc
b553afa2 322
2d873eb6
TC
323[report weekly_sales]
324sql1=select year(od.orderDate) as "Year", week(od.orderDate) as "Week", count(*) as 'Orders', format(sum(od.total)/100.0,2) as '$ Total', count(su.userId) as 'Logon Orders' from orders od left join site_users su on od.userId =su.userId group by year(od.orderDate), week(od.orderDate) order by 1 DESC, 2 DESC
325
326[report monthly_sales]
327sql1=select year(od.orderDate) as "Year", month(od.orderDate) as "Month", format(sum(od.total)/100.0,2) as 'Total', count(*) as 'Count', count(su.userId) as 'User Registered' from orders od left join site_users su on od.userId = su.userId group by year(od.orderDate), month(od.orderDate) order by 1 DESC, 2 DESC
328
329[report quarterly_sales]
330sql1=select year(od.orderDate) as "Year", quarter(od.orderDate) as "Quarter", format(sum(od.total)/100.0,2) as 'Total', count(*) as 'Count' from orders od group by year(od.orderDate), quarter(od.orderDate) order by 1 DESC, 2 DESC
331
332[report yearly_sales]
333sql1=select year(od.orderDate) as "Year", count(*) as "Orders",format(sum(od.total)/100.0,2) as '$ Total', count(su.userId) as 'Logon Orders' from orders od left join site_users su on od.userId = su.userId group by year(od.orderDate) order by 1 DESC
334
335[report total_sales]
336sql1=select count(*) as "Orders", format(sum(total)/100.0,2) as '$ Total', count(su.userId) as 'Logon Orders' from orders od left join site_users su on od.userId = su.userId
337
338[report user_products]
339sql1=select pr.title, count(*) as 'Count' from orders od, order_item oi, article pr, site_users su where oi.orderId = od.id and oi.productId = pr.id and su.userId = od.userId and su.id = ? group by pr.id
9063386f
TC
340sql1params=1
341param1=site_user,User
2d873eb6
TC
342
343[report users_vs_orders]
344sql1=select delivFirstName as "First Name", delivLastName as "Last Name", userId as "Logon", format(sum(total)/100.0,2) as '$ Total', count(*) as "Orders" from orders group by delivFirstName, delivLastName order by 5 DESC, 2
345
b553afa2
TC
346[report datatype product]
347type=sql
348sql=select ar.id as "id", ar.title as "label" from article ar, product pr where ar.id = pr.articleId order by 2
650a6188
TC
349novalues=[ You don't have any products ]
350
351[report datatype article]
352type=sql
353sql=select id, concat(title, ' (', id, ')') as "label" from article
77804754 354
2d873eb6
TC
355[report datatype site_user]
356type=sql
357sql=select id, userId as "label" from site_users
358novalues=[ There are no registered users ]
359
988d8721
TC
360[report bse_test]
361sql1=select id, title from article where id = ?
362hide=1
363param1=article,Article
364sql1params=1
365
77804754
TC
366[valid child types]
367Article=Article
368Catalog=Catalog,Product
369Product=
95989433
TC
370
371[protect link]
372; articles for which the link field should not be overwritten
373; the values are ignored, but you can include descriptions
3741=home page
3753=shop
3766=formatting guide
3777=RDF
2a295ea9 378
ab2cd916
TC
379[editor]
380;allow_thumbs=1
381;thumbs_class=BSE::Thumb::Imager
8aa7eb30 382file_display=small
ab2cd916 383
2a295ea9
TC
384[site users]
385display_name1=First Name
386display_name2=Last Name
387display_address=Street
388display_postcode=Post code
389display_telephone=Phone
829c9ed9 390
2076966c 391[nonajax user agents]
9b3a5df0
TC
392ie4=MSIE 4
393ie5=MSIE 5.01
2076966c
TC
394
395[ajax user agents]
38de0036 396mozilla=^Mozilla/5\.0
9b3a5df0
TC
397ie5=MSIE 5.5
398ie6=MSIE 6
399ie7=MSIE 7
400ie8=MSIE 8
401safari=Safari
402khtml=KHTML
403opera=Opera
2076966c
TC
404
405[ajax definitions]
454cdabb
TC
406includes=<<INLINE
407inline:<script type="text/javascript" src="/js/prototype.js"></script>
408<script type="text/javascript" src="/js/scriptaculous.js"></script>
5f3a2963 409<script type="text/javascript" src="/js/scriptoverride.js"></script>
454cdabb 410INLINE
2076966c 411
0eb78304
TC
412[nuser controllers]
413user=BSE::UI::User
5af99440 414redirect=BSE::UI::Redirect
e7367b88
TC
415shop=BSE::UI::Shop
416search=BSE::UI::Search
417page=BSE::UI::Page
0c2e7f7a 418tellafriend=BSE::UI::Tellafriend
85aba847 419default=shop
e7367b88 420
4c4d3c3f
TC
421[nadmin controllers]
422shop=BSE::UI::AdminShop
0eb78304 423
829c9ed9 424[includes]
2d42cf8f
TC
42500install=bse-install.cfg
42610bsecfg_d=cfg/
0c2e7f7a
TC
427
428[mail resources]
429stylesheet=email/email.css,text/css,1
430
431[targets]
432tellafriend=/cgi-bin/nuser.pl/tellafriend/TARGET
433tellafriend_n=/cgi-bin/nuser.pl/tellafriend
f40af7e2
TC
434
435[thumb geometries]
436editor=scale(200x200)
eac3131d 437sadmingall=scale(120x120),dropshadow(),canvas(140x140,bgalpha:0),format(png)
6430ee52
TC
438
439[file handlers]
440flv=BSE::FileHandler::FLV
bf921eb7 441
fea96500 442[template descriptions]
bf921eb7 443common/default.tmpl=Default template
ebc63b18 444