hallo!
ich habe mal den webformat shop (extendedshop) installiert und bin das manual durchgegangen.
von dort habe ich die constants und das setup, aber das template wird nicht angezeigt. stattdessen kommt "No template found!"
woran kann das liegen? habs eigtl. nur rauskopiert. bin aber blutiger anfänger...muss ich irgendwo noch was einstellen oder so?! vielen dank!
hier die constants
Code:
# Template file
plugin.tx_extendedshop_pi1.file.templateFile = EXT:extendedshop/pi1/shop.html
# CSS file
plugin.tx_extendedshop_pi1.file.cssFile = EXT:extendedshop/pi1/stileShop.css
# Number of decimals
plugin.tx_extendedshop_pi1.priceDec = 2
# Decimal separator
plugin.tx_extendedshop_pi1.priceDecPoint = ,
# Thousand separator
plugin.tx_extendedshop_pi1.priceThousandPoint = .
# Set to 1 if you want to open a popup when the user clicks over the image in the list mode. If 0 the image is a link to the detail of the product
plugin.tx_extendedshop_pi1.clickEnlarge_list = 0
# Set to 1 if you want to open a popup when the user clicks over the image in the detail mode.
plugin.tx_extendedshop_pi1.clickEnlarge = 1
hier das setup
Code:
includeLibs.tx_extendedshop_pi1 = EXT:extendedshop/pi1/class.tx_extendedshop_pi1.php
plugin.tx_extendedshop_pi1= USER
plugin.tx_extendedshop_pi1.userFunc = tx_extendedshop_pi1->main
plugin.tx_extendedshop_pi1{
# The main function
userFunc = tx_extendedshop_pi1->main_shop
# Template e CSS file
templateFile = {$plugin.tx_extendedshop_pi1.file.templateFile}
cssFile = {$plugin.tx_extendedshop_pi1.file.cssFile}
pid_list.field = pages
recursive.field = recursive
code.field = tx_extendedshop_tx_extendedshop_code
limit = 100
priceDec = {$plugin.tx_extendedshop_pi1.priceDec}
priceDecPoint = {$plugin.tx_extendedshop_pi1.priceDecPoint}
priceThousandPoint = {$plugin.tx_extendedshop_pi1.priceThousandPoint}
# List mode: 0 for the sequential listing, 1 for the table listing
list.modeImage = 1
# If modeImage==0, this is the max number of items to show in a page
list.maxItems = 5
# If modeImage==1
# Min-Width of the column
list.columnWidth = 140
# Number of items in a row
list.productsForRow = 4
# Number of rows in a page
list.productsRowNumbers = 2
# Configuration of the detail image
image {
file.maxW = 250
imageLinkWrap = {$plugin.tx_extendedshop_pi1.clickEnlarge}
imageLinkWrap {
enable = 1
bodyTag = <BODY bgColor=black>
wrap = <A href="javascript:close();"> | </A>
width = 400
#height = 320
JSwindow = 1
JSwindow.newWindow = 1
JSwindow.expand = 17,20
}
}
# Configuration of the zoom link image (under the detail image)
zoomimage {
file = EXT:extendedshop/pi1/zoom.gif
file.maxW = 50
imageLinkWrap = {$plugin.tx_extendedshop_pi1.clickEnlarge}
}
# Configuration of the list image
listImage {
file.maxW = 140
file.maxH = 200
imageLinkWrap = {$plugin.tx_extendedshop_pi1.clickEnlarge_list}
imageLinkWrap {
enable = 1
bodyTag = <BODY bgColor=black>
wrap = <A href="javascript:close();"> | </A>
width = 400
#height = 100
JSwindow = 1
JSwindow.newWindow = 1
JSwindow.expand = 17,20
}
}
# Configuration of the correlated product image
correlatedImage {
file.maxW = 100
imageLinkWrap = {$plugin.tx_extendedshop_pi1.clickEnlarge_list}
imageLinkWrap {
enable = 1
bodyTag = <BODY bgColor=black>
wrap = <A href="javascript:close();"> | </A>
width = 400
#height = 100
JSwindow = 1
JSwindow.newWindow = 1
JSwindow.expand = 17,20
}
}
# Fields to search for
searchFields = code,title
# Required fields in the personal info page
requiredFields =name,address,city,zip,state,phone,email,authorization,conditions
requiredFieldsSymbol = *
# Over this amount (shipping and payment excluded) the delivery is free
freeDelivery = 129,00
# Min amount for an order
minOrder = 49,00
# Uid of the basket page
pid_basket = 4
# Uid of the system folder containing the orders
pid_orders = 5
# Uid of the system folder containing the delivery address
pid_delivery = 5
# Sender of the order confirmation email
orderEmail_from = myShop@mySite.com
orderEmail_fromName = myShop
# Receiver of the order confiration email (in the bcc field)
orderEmail_to = myShop@mySite.com
orderEmail_htmlmail = 1
email_notify_default = 1
}
plugin.tx_extendedshop_pi1.payment {
# Radio
radio = 1
10.title = bank credit account transfer
10.message = To receive the ordered articles, an anticipated bank credit account transfer is required:<br /><br />- CC n° 000000000 ABI 0000 - CAB 00000 subscribed by My name
10.image.file =
10.priceTax =
10.priceNoTax =
20.title = Cash on delivery (+ 3,00 EURO)
20.image.file =
20.priceTax = 3,00
20.priceNoTax =
#PAYPAL DATA
50.title = PayPal credit account payment
50.bankcode = paypal
50.UICCODE = USD
50.ShopLogin = myPayPalLogin
50.bankname = PayPal
50.banklink = www.paypal.com
50.return = http://www.mysite.com/index.php?id=11
50.paylink = https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&upload=1
70.title = Banca Sella credit card payment
# 70.image.file = fileadmin/template/images/visa_mastercard.gif
70.priceTax =
70.priceNoTax =
#BANCA SELLA DATA
70.bankcode = sella
70.IDLANGUAGE = 1
70.UICCODE = 242
70.ShopLogin =0000000
70.bankname = Banca Sella
70.banklink = www.sellanet.it
70.paylink = https://ecomm.sella.it/gestpay/pagam.asp
# The uid of the page to redirect the browser if the transaction failed
70.linkError = index.php?id=266
70.id_ok = 4
70.id_ko = 9
}
## EXAMPLE shipping config:
plugin.tx_extendedshop_pi1.shipping {
10.title = ITALIA
10.priceTax = 8,00
# 10.priceNoTax =
20.title = FRANCIA
20.priceTax = 10,00
# 20.priceNoTax =
}
# This shows the product title in the page title
config.titleTagFunction = tx_extendedshop_pi1->product_title