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