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