0.14 commit
[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
4ef01459 10
2eca61d5
TC
11[paths]
12; the following needs to be set to a path writable by the BSE processes
13downloads = /somewhere
14
15[pregenerate]
16
17; the following are required by the system - don't modify them
4ef01459
TC
18user/alreadyblacklisted.tmpl = user,user/alreadyblacklisted_base.tmpl
19user/blacklistdone.tmpl = user,user/blacklistdone_base.tmpl
20user/cantunsub.tmpl = user,user/cantunsub_base.tmpl
21user/confirmed.tmpl = user,user/confirmed_base.tmpl
22user/confsent.tmpl = user,user/confsent_base.tmpl
23user/email_conferror.tmpl = user,user/email_conferror_base.tmpl
2eca61d5 24user/logon.tmpl = user,user/logon_base.tmpl
2eca61d5 25user/lostemailsent.tmpl = user,user/lostemailsent_base.tmpl
4ef01459 26user/lostpassword.tmpl = user,user/lostpassword_base.tmpl
2eca61d5 27user/lostpwdemail.tmpl = user,user/lostpwdemail_base.tmpl
4ef01459
TC
28user/options.tmpl = user,user/options_base.tmpl
29user/register.tmpl = user,user/register_base.tmpl
b19047a6 30user/toomany.tmpl = user,user/toomany_base.tmpl
4ef01459 31user/toosoon.tmpl = user,user/toosoon_base.tmpl
531fb3bc
TC
32user/unsuball.tmpl = user,user/unsuball_base.tmpl
33user/unsubone.tmpl = user,user/unsubone_base.tmpl
4ef01459 34user/userpage.tmpl = user,user/userpage_base.tmpl
ee6577c3
TC
35interest/confirm.tmpl = interest,interest/confirm_base.tmpl
36interest/askagain.tmpl = interest,interest/askagain_base.tmpl
37interest/error.tmpl = interest,interest/error_base.tmpl
2eca61d5
TC
38
39[user settings]
40title = My $(site/name)
41
ee6577c3
TC
42[interest settings]
43title = $(site/name) Interest Registration
44
2eca61d5
TC
45[messages]
46user/notyourorder = Order $1 isn't your order
721cd24c 47shop/fileitems = You have products in your cart that include downloadable files. Please logon or register before checking out.
6e3d2da5 48shop/logonrequired = This site requires that you be logged on to make a purchase. Please logon or register before checking out.
2eca61d5 49
2404a911
TC
50[downloads]
51; if true, an order must be marked paid for before the user can download
52; the files attached to the products
53;must_be_paid = yes
54; if true, an order must be marked filled before the user can download the
55; files attached to the products
56;must_be_filled = yes
721cd24c
TC
57
58[children of 5]
59template=common/sidebar.tmpl
60template_dirs=sidebar
b19047a6
TC
61
62[extra tags]
63siteName = $(site/name)
64salesPhoneNo = 61 2 9999 8888
d09682dd 65salesEmail = someone@yoursite.com
b19047a6 66siteUrl = $(site/url)
531fb3bc
TC
67
68[datadump]
69# where to email the data dump
70#to = someone@somewhere
71# program to run to do the dump
72# must take the same parameters as mysqldump
d09682dd 73#mysqldump = /usr/local/mysql/bin/mysqldump
531fb3bc
TC
74
75[subscriptions]
76# if override is non-zero then the fields for the archiving and templates
77# will be available when sending a subscription
78override=1
79
ca9aa2bf
TC
80[level names]
810=Your Site
918735d1
TC
821=Page Lev1
832=Page Lev2
843=Page Lev3
854=Page Lev4
865=Page Lev5
ca9aa2bf
TC
87
88[articles]
89shop=3
caa7299c 90
08123550
TC
91[shop]
92payment_types=0,1,2
93address1=First address line in configuration
94address2=Second address line in configuration
95address3=Third address line in configuration
7b81711b 96enabled=1
08123550 97
caa7299c
TC
98[level 1]
99template=common/default.tmpl
100
101[level 2]
102template=common/default.tmpl
103
104[level 3]
105template=common/default.tmpl
106
107[level 4]
108template=common/default.tmpl
109
110[level 5]
111template=common/default.tmpl
112
113[catalogs]
114template=catalog.tmpl
115
116[products]
117template=shopitem.tmpl
08123550 118
cc9019d1
TC
119[templates]
120admin/edit_2=admin/edit_1
121admin/edit_3=admin/edit_1
122admin/edit_4=admin/edit_1
123admin/edit_5=admin/edit_1
124admin/edit_img=admin/article_img
125admin/edit_file=admin/filelist
126
08123550 127[Global permissions]
de193691
TC
128change_body = 8
129change_body_no_shop = 9
130full_access = 0
131full_access_no_shop = 3
08123550 132shop_access = 1
de193691
TC
133shop_orders = 5
134subscriptions = 4
135users_and_groups = 6
08123550
TC
136
137[Article permissions]
de193691 138change_body_doc = 2
7b81711b 139change_body_decendants = 10
de193691 140full_access_doc = 7
7b81711b 141full_access_decendants = 11
08123550 142
de193691
TC
143[permission change_body]
144brief=Title & body (Site)
145help=The user has permission to change only the title & body of all articles or products.
146permissions=edit_field_edit_body,edit_field_edit_title,edit_save
08123550 147descendants=1
de193691 148articles=-1
08123550 149
de193691
TC
150[permission change_body_no_shop]
151brief=Title & body except shop admin
152help=The user has permission to change only the title & body of all
153articles except for the shop.
abf5bbc6 154permissions=edit_field_edit_body,edit_field_edit_title,edit_save
de193691
TC
155descendants=1
156articles=not(3)
08123550 157
de193691
TC
158[permission full_access]
159brief=Full access (Site)
160help=Full access to the article. The user can modify all modifiable fields, delete and add articles at will.
161permissions=edit_*,regen_*
08123550 162descendants=1
de193691 163articles=-1
08123550 164
de193691
TC
165[permission full_access_no_shop]
166brief=Full access except shop admin
167help=The user has complete access to all articles except for the shop.
168permissions=edit_*,regen_*
08123550 169descendants=1
de193691
TC
170articles=not(3)
171
172[permission shop_access]
173brief=Shop administration
174help=The user has complete access to catalogs or products in the shop.
9168c88c 175permissions=not(admin_*)
de193691
TC
176descendants=1
177articles=3
08123550 178
de193691
TC
179[permission shop_orders]
180brief=Shop orders management
181help=The user can view the order list, order details, and mark orders filled.
182permissions=shop_order_*
da6bc286 183articles=-1
da6bc286 184
de193691
TC
185[permission subscriptions]
186brief=Subscriptions management
187help=The user can create, edit and send subscriptions.
188permissions=subs_*
da6bc286 189articles=-1
da6bc286
TC
190
191[permission users_and_groups]
da6bc286 192brief=User/Group management
de193691 193help=The user can manage users, groups and their permissions.
da6bc286 194permissions=admin_*
de193691
TC
195articles=-1
196
197[permission change_body_doc]
198brief=Title & body (Article)
199help=The user has permission to change only the title & body of this
200article or product.
201permissions=edit_field_edit_body,edit_field_edit_title,edit_save
202
7b81711b
TC
203[permission change_body_decendants]
204brief=Title & body (Article + Decendants)
205help=The user has permission to change only the title & body of this article or product and it's decendants.
206permissions=edit_field_edit_body,edit_field_edit_title,edit_save
207descendants=1
208
de193691
TC
209[permission full_access_doc]
210brief=Full access (Article)
211help=Full access to the article. The user can modify all modifiable
212fields for this article or product.
213permissions=edit_*,regen_*
da6bc286 214
7b81711b
TC
215[permission full_access_decendants]
216brief=Full access (Article + Decendants)
217help=Full access to the article and it's decendants. The user can modify all modifiable fields for this article or product.
218permissions=edit_*,regen_*
219descendants=1
918735d1
TC
220
221[article flags]
222I=Index even if hidden
cc9019d1
TC
223N=Don't index even if listed
224C=Don't index this article or it's descendants
918735d1
TC
225
226[article 1]
227extra_templates=index.tmpl
228
229[article 2]
230extra_templates=index2.tmpl
b553afa2
TC
231
232[reports]
233sales_summ_by_product=Sales Summary By Product
234product_sales_over_time=Product Sales Over Time
235
236[report sales_summ_by_product]
237sql1=select pr.articleId, ar.title, count(*) from article ar, product pr, order_item oi where ar.id = pr.articleId and pr.articleId = oi.productId group by pr.articleId, ar.title
238sql1link1=<a href="/cgi-bin/admin/report.pl?s_show=1&r=product_sales_over_time&p1=${articleId}">Sales Over Time</a>
239sql1link2=<a href="/cgi-bin/admin/add.pl?id=${articleId}">Edit</a>
240
241[report product_sales_over_time]
650a6188
TC
242sql1=select year(od.orderDate) as "Year", month(od.orderDate) as "Month", count(*) as 'count' from order_item oi, orders od where oi.orderId = od.id and productId = ? group by year(od.orderDate), month(od.orderDate)
243sql1params=1
b553afa2
TC
244param1=product,Product
245
246[report datatype product]
247type=sql
248sql=select ar.id as "id", ar.title as "label" from article ar, product pr where ar.id = pr.articleId order by 2
650a6188
TC
249novalues=[ You don't have any products ]
250
251[report datatype article]
252type=sql
253sql=select id, concat(title, ' (', id, ')') as "label" from article
77804754
TC
254
255[valid child types]
256Article=Article
257Catalog=Catalog,Product
258Product=
95989433
TC
259
260[protect link]
261; articles for which the link field should not be overwritten
262; the values are ignored, but you can include descriptions
2631=home page
2643=shop
2656=formatting guide
2667=RDF