Hi,
I have purchased CS-Cart recently, I am trying to create a custom add-on. I have copied the structure of the “banners” add-on: I duplicated the content from skins/basic/admin/addons/banners, skins/basic/customer/addons/banners and addons/banners to skins/basic/admin/addons/cassette_carousel skins/basic/customers/addons/cassette_carousel and addons/cassette_carousel respectively.
I have all of the back end working with no problems. I renamed all the functions within the addons/cassette_carousel/func.php to remove “redeclare php errors” and I have created 2 new tables that the banners addon uses and changed all the references in all the files to point to these tables and I have also updated every reference that points to the banners add-on to the new carousel addon.
My Problem is I cannot get the frontend template to render at all. I have no idea what is happening.
I have printed a log of my smarty debug below.
Smarty Debug Console
included templates & config files (load time in seconds)
index.tpl (0.34228) (total)
main.tpl (0.33461)
blocks/categories_emenu.tpl
views/categories/components/menu_items.tpl (0.00487)
views/categories/components/menu_items.tpl (0.00060)
views/categories/components/menu_items.tpl (0.00084)
views/categories/components/menu_items.tpl (0.00050)
views/categories/components/menu_items.tpl (0.00058)
views/categories/components/menu_items.tpl (0.00046)
views/categories/components/menu_items.tpl (0.00050)
views/categories/components/menu_items.tpl (0.00050)
blocks/wrappers/sidebox_important.tpl
blocks/product_filters.tpl
blocks/wrappers/sidebox_general.tpl
blocks/products_text_links.tpl
blocks/wrappers/sidebox_general.tpl
addons/discussion/blocks/testimonials.tpl
addons/banners/blocks/original.tpl
blocks/my_account.tpl
blocks/wrappers/sidebox_general.tpl
blocks/products_small_items.tpl
blocks/list_templates/small_items.tpl (0.03452)
common_templates/product_data.tpl (0.00762)
addons/discussion/hooks/products/data_block.pre.tpl (0.00032)
common_templates/product_data.tpl (0.00607)
addons/discussion/hooks/products/data_block.pre.tpl (0.00027)
common_templates/product_data.tpl (0.00586)
addons/discussion/hooks/products/data_block.pre.tpl (0.00031)
common_templates/product_data.tpl (0.00582)
addons/discussion/hooks/products/data_block.pre.tpl (0.00027)
common_templates/product_data.tpl (0.00606)
addons/discussion/hooks/products/data_block.pre.tpl (0.00031)
blocks/wrappers/sidebox_general.tpl
addons/news_and_emails/blocks/news.tpl
blocks/wrappers/sidebox_general.tpl
blocks/feature_comparison.tpl
blocks/wrappers/sidebox_general.tpl
top.tpl (0.01257)
top_menu.tpl (0.00142)
top_menu.tpl (0.00069)
views/auth/login_form.tpl (0.00227)
buttons/login.tpl (0.00099)
common_templates/search.tpl (0.00246)
views/checkout/components/cart_status.tpl (0.00394)
addons/gift_certificates/hooks/index/cart_status.post.tpl (0.00115)
views/index/index.tpl
blocks/wrappers/mainbox_general.tpl
blocks/html_block.tpl
blocks/wrappers/mainbox_general.tpl
addons/tags/blocks/tag_cloud.tpl
blocks/wrappers/sidebox_general.tpl
addons/hot_deals_block/blocks/hot_deals.tpl
blocks/products.tpl
blocks/product_list_templates/products.tpl (0.03121)
blocks/list_templates/products_list.tpl (0.03082)
common_templates/product_data.tpl (0.02782)
addons/discussion/hooks/products/data_block.pre.tpl (0.00135)
addons/discussion/views/discussion/components/average_rating.tpl (0.00102)
views/products/components/product_options.tpl (0.01731)
blocks/wrappers/mainbox_simple.tpl
blocks/products_multicolumns_small.tpl
blocks/list_templates/small_list.tpl (0.05071)
common_templates/product_data.tpl (0.00795)
addons/discussion/hooks/products/data_block.pre.tpl (0.00030)
buttons/add_to_cart.tpl (0.00137)
common_templates/product_data.tpl (0.00798)
addons/discussion/hooks/products/data_block.pre.tpl (0.00032)
buttons/add_to_cart.tpl (0.00149)
common_templates/product_data.tpl (0.00759)
addons/discussion/hooks/products/data_block.pre.tpl (0.00034)
buttons/add_to_cart.tpl (0.00137)
common_templates/product_data.tpl (0.00776)
addons/discussion/hooks/products/data_block.pre.tpl (0.00033)
buttons/add_to_cart.tpl (0.00151)
common_templates/product_data.tpl (0.00741)
addons/discussion/hooks/products/data_block.pre.tpl (0.00029)
buttons/add_to_cart.tpl (0.00140)
common_templates/product_data.tpl (0.00734)
addons/discussion/hooks/products/data_block.pre.tpl (0.00028)
buttons/add_to_cart.tpl (0.00141)
blocks/wrappers/mainbox_simple.tpl
bottom.tpl (0.00436)
common_templates/search.tpl (0.00226)
assigned template variables
{$SESS_ID} “0769d395c19eeefd4f9af93f2d2df6d6”
{$_REQUEST} Array (1)
dispatch => “index.index”
{$action} “”
{$addons} Array (35)
buy_together => Array (2)
status => “A”
priority => “100”
tags => Array (4)
tags_for_products => “Y”
tags_for_pages => “N”
status => “A”
priority => “200”
product_configurator => Array (2)
status => “D”
priority => “300”
news_and_emails => Array (9)
newsletters_per_pass => “10”
mailer_send_method => “default”
mailer_smtp_username => “”
mailer_smtp_host => “”
mailer_smtp_password => “”
mailer_smtp_auth => “N”
mailer_sendmail_path => “”
status => “A”
priority => “500”
attachments => Array (2)
status => “D”
priority => “600”
affiliate => Array (2)
status => “D”
priority => “700”
customers_also_bought => Array (2)
status => “A”
priority => “900”
gift_registry => Array (2)
status => “D”
priority => “1000”
gift_certificates => Array (9)
min_amount => “50”
max_amount => “1500”
amount_step => “100”
code_prefix => “GC”
cert_per_page => “10”
free_products_allow => “Y”
redeem_shipping_cost => “Y”
status => “A”
priority => “1100”
store_locator => Array (2)
status => “D”
priority => “1200”
statistics => Array (3)
unique_clients_by => “cookie”
status => “A”
priority => “1300”
webmail => Array (2)
status => “D”
priority => “1400”
quickbooks => Array (10)
trns_class => “Website:Retail”
accnt_tax => “Website:Tax”
accnt_product => “Sales:Product”
accnt_shipping => “Sales:Shipping”
accnt_discount => “Sales:Discount”
accnt_surcharge => “Sales:Surcharge”
accnt_asset => “Inventory Asset”
accnt_cogs => “Cost of Goods Sold”
status => “A”
priority => “1500”
rma => Array (2)
status => “D”
priority => “1600”
send_to_friend => Array (2)
status => “A”
priority => “1700”
seo => Array (2)
status => “D”
priority => “1800”
reward_points => Array (2)
status => “D”
priority => “1900”
google_analytics => Array (2)
status => “D”
priority => “2000”
anti_fraud => Array (2)
status => “D”
priority => “2100”
sms_notifications => Array (13)
phone_number => “”
clickatel_user => “”
clickatel_api_id => “”
clickatel_password => “”
sms_new_order_placed => “N”
sms_new_cusomer_registered => “Y”
sms_product_negative_amount => “Y”
sms_send_min_amout => “0”
sms_send_shipping => “”
sms_send_payment_info => “Y”
sms_send_customer_email => “Y”
status => “A”
priority => “2200”
bestsellers => Array (2)
status => “A”
priority => “2300”
form_builder => Array (2)
status => “A”
priority => “2400”
barcode => Array (2)
status => “D”
priority => “2500”
polls => Array (2)
status => “D”
priority => “2600”
access_restrictions => Array (11)
admin_reverse_ip_access => “”
unsuccessful_attempts_login => “”
number_unsuccessful_attempts => “5”
login_intervals => “60”
time_block => “24”
unsuccessful_attempts_login_customer => “”
number_unsuccessful_attempts_customer => “5”
login_intervals_customer => “60”
time_block_customer => “24”
status => “A”
priority => “2700”
banners => Array (2)
status => “A”
priority => “2800”
age_verification => Array (2)
status => “D”
priority => “2900”
discussion => Array (38)
product_posts_per_page => “10”
product_post_approval => “any”
product_post_ip_check => “N”
product_notification_email => “”
product_notify_vendor => “N”
category_posts_per_page => “10”
category_post_approval => “any”
category_post_ip_check => “N”
category_notification_email => “”
order_posts_per_page => “10”
order_initiate => “Y”
order_notify_vendor => “Y”
news_posts_per_page => “3”
news_post_approval => “any”
news_post_ip_check => “N”
news_notification_email => “”
giftreg_posts_per_page => “10”
giftreg_post_ip_check => “N”
page_posts_per_page => “10”
page_post_approval => “disabled”
page_post_ip_check => “N”
page_notification_email => “”
page_notify_vendor => “N”
home_page_posts_per_page => “10”
home_page_post_approval => “any”
home_page_post_ip_check => “Y”
home_page_notification_email => “”
home_page_brief_number => “1”
home_page_testimonials => “D”
company_discussion_type => “B”
company_only_buyers => “Y”
company_posts_per_page => “10”
company_post_approval => “any”
company_post_ip_check => “N”
company_notification_email => “”
company_notify_vendor => “N”
status => “A”
priority => “3000”
cassette_carousel => Array (2)
status => “A”
priority => “3000”
wishlist => Array (2)
status => “D”
priority => “3100”
hot_deals_block => Array (2)
status => “A”
priority => “3300”
recurring_billing => Array (2)
status => “D”
priority => “3400”
required_products => Array (2)
status => “A”
priority => “3900”
cassette => Array (2)
status => “A”
priority => “10000”
my_changes => Array (2)
status => “A”
priority => “4294967294”
{$auth} Array (12)
area => “A”
user_id => “1”
tax_exempt => “N”
last_login => “1315179218”
usergroup_ids => Array (3)
0 => “0”
1 => “2”
2 => “1”
order_ids => Array (0)
act_as_user => “1”
this_login => “1315198482”
password_change_timestamp => “0”
company_id => “0”
is_root => “Y”
referer => “http://192.168.0.163/29085.peainapod…”
{$blocks} Array (25)
36 => Array (13)
block_id => “36”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “”
status => “A”
properties => Array (6)
list_object => “banners”
fillings => “manually”
appearances => “addons/banners/blocks/original.tpl”
wrapper => “”
width => “”
width_unit => “P”
company_id => “”
description => “Banners”
item_ids => “1,2”
assigned => “Y”
object_id => “all_pages”
group_id => “4”
7 => Array (13)
block_id => “7”
text_id => “central_content”
block_type => “B”
location => “all_pages”
disabled_locations => “”
status => “A”
properties => Array (1)
wrapper => “blocks/wrappers/mainbox_general.tpl”
company_id => “”
description => “Central content”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “3”
8 => Array (13)
block_id => “8”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (4)
fillings => “emenu”
appearances => “blocks/categories_emenu.tpl”
list_object => “categories”
wrapper => “blocks/wrappers/sidebox_important.tpl”
company_id => “”
description => “Categories”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “2”
40 => Array (13)
block_id => “40”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “”
status => “A”
properties => Array (6)
list_object => “cassette_carousel”
fillings => “manually”
appearances => “addons/cassette_carousel/blocks/origi…”
wrapper => “”
width => “”
width_unit => “P”
company_id => “”
description => “C”
item_ids => “1,2”
assigned => “Y”
object_id => “all_pages”
group_id => “1”
30 => Array (13)
block_id => “30”
text_id => “”
block_type => “B”
location => “index”
disabled_locations => “”
status => “A”
properties => Array (
list_object => “blocks/html_block.tpl”
wrapper => “blocks/wrappers/mainbox_general.tpl”
width => “”
width_unit => “P”
items_function => “fn_get_html_content”
hide_label => “1”
section => “special”
force_open => “1”
company_id => “”
description => “Welcome to CS-Cart demo store”
item_ids => “”
assigned => “Y”
object_id => “home_page”
group_id => “3”
20 => Array (13)
block_id => “20”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (4)
fillings => “dynamic”
list_object => “product_filters”
appearances => “blocks/product_filters.tpl”
wrapper => “blocks/wrappers/sidebox_general.tpl”
company_id => “”
description => “Shopping options”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “2”
12 => Array (13)
block_id => “12”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (2)
wrapper => “blocks/wrappers/sidebox_general.tpl”
list_object => “blocks/my_account.tpl”
company_id => “”
description => “My account”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “4”
16 => Array (13)
block_id => “16”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (5)
limit => “50”
appearances => “addons/tags/blocks/tag_cloud.tpl”
fillings => “tag_cloud”
list_object => “tags”
wrapper => “blocks/wrappers/sidebox_general.tpl”
company_id => “”
description => “Tag cloud”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “3”
26 => Array (13)
block_id => “26”
text_id => “”
block_type => “B”
location => “index”
disabled_locations => “”
status => “A”
properties => Array (6)
list_object => “products”
fillings => “manually”
appearances => “blocks/products_small_items.tpl”
item_number => “N”
wrapper => “blocks/wrappers/sidebox_general.tpl”
hide_add_to_cart_button => “Y”
company_id => “”
description => “Latest DVDs”
item_ids => “1028,1030,1034,1045,1035”
assigned => “Y”
object_id => “home_page”
group_id => “4”
13 => Array (13)
block_id => “13”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (4)
list_object => “news”
appearances => “addons/news_and_emails/blocks/news.tpl”
wrapper => “blocks/wrappers/sidebox_general.tpl”
fillings => “news_plain”
company_id => “”
description => “Site news”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “4”
24 => Array (13)
block_id => “24”
text_id => “”
block_type => “B”
location => “index”
disabled_locations => “”
status => “A”
properties => Array (4)
hide_add_to_cart_button => “Y”
appearances => “addons/hot_deals_block/blocks/hot_dea…”
list_object => “products”
fillings => “manually”
company_id => “”
description => “Hot Deals”
item_ids => “742,829,836,745,749,744,743,1527,1526…”
assigned => “Y”
object_id => “home_page”
group_id => “3”
14 => Array (13)
block_id => “14”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (6)
list_object => “mailing_lists”
rewrite_positions => “N”
appearances => “addons/news_and_emails/blocks/subscri…”
wrapper => “blocks/wrappers/sidebox_general.tpl”
width => “”
width_unit => “P”
company_id => “”
description => “Mailing lists”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “4”
25 => Array (13)
block_id => “25”
text_id => “”
block_type => “B”
location => “index”
disabled_locations => “”
status => “A”
properties => Array (6)
wrapper => “blocks/wrappers/mainbox_simple.tpl”
list_object => “products”
item_number => “N”
appearances => “blocks/products.tpl”
fillings => “manually”
hide_add_to_cart_button => “Y”
company_id => “”
description => “Product of the day”
item_ids => “1498”
assigned => “Y”
object_id => “home_page”
group_id => “3”
10 => Array (13)
block_id => “10”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (6)
wrapper => “blocks/wrappers/sidebox_general.tpl”
hide_add_to_cart_button => “Y”
appearances => “blocks/products_text_links.tpl”
limit => “3”
fillings => “bestsellers”
list_object => “products”
company_id => “”
description => “Bestsellers”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “2”
18 => Array (13)
block_id => “18”
text_id => “”
block_type => “B”
location => “index”
disabled_locations => “checkout”
status => “A”
properties => Array (7)
fillings => “manually”
appearances => “blocks/products_multicolumns_small.tpl”
list_object => “products”
item_number => “N”
wrapper => “blocks/wrappers/mainbox_simple.tpl”
number_of_columns => “3”
hide_add_to_cart_button => “N”
company_id => “”
description => “Featured products”
item_ids => “1153,1139,1142,903,899,909”
assigned => “Y”
object_id => “home_page”
group_id => “3”
15 => Array (13)
block_id => “15”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (10)
list_object => “products”
hide_add_to_cart_button => “N”
fillings => “recent_products”
limit => “3”
rewrite_positions => “N”
appearances => “blocks/products_text_links.tpl”
item_number => “N”
wrapper => “blocks/wrappers/sidebox_general.tpl”
width => “”
width_unit => “P”
company_id => “”
description => “Recently viewed”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “4”
19 => Array (13)
block_id => “19”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (4)
wrapper => “blocks/wrappers/sidebox_general.tpl”
appearances => “addons/tags/blocks/user_tag_cloud.tpl”
fillings => “my_tags”
list_object => “tags”
company_id => “”
description => “My tag cloud”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “2”
17 => Array (13)
block_id => “17”
text_id => “”
block_type => “B”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (2)
list_object => “blocks/feature_comparison.tpl”
wrapper => “blocks/wrappers/sidebox_general.tpl”
company_id => “”
description => “Feature comparison”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
group_id => “4”
23 => Array (13)
block_id => “23”
text_id => “”
block_type => “B”
location => “index”
disabled_locations => “”
status => “A”
properties => Array (2)
wrapper => “blocks/wrappers/sidebox_general.tpl”
list_object => “addons/discussion/blocks/testimonials…”
company_id => “”
description => “Testimonials”
item_ids => “”
assigned => “Y”
object_id => “home_page”
group_id => “2”
1 => Array (12)
block_id => “1”
text_id => “top”
block_type => “G”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (2)
block_order => “H”
wrapper => “”
company_id => “”
description => “Top”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
2 => Array (12)
block_id => “2”
text_id => “left”
block_type => “G”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (2)
block_order => “V”
wrapper => “”
company_id => “”
description => “Left column”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
3 => Array (12)
block_id => “3”
text_id => “central”
block_type => “G”
location => “all_pages”
disabled_locations => “”
status => “A”
properties => Array (2)
block_order => “V”
wrapper => “”
company_id => “”
description => “Central”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
4 => Array (12)
block_id => “4”
text_id => “right”
block_type => “G”
location => “all_pages”
disabled_locations => “”
status => “A”
properties => Array (2)
block_order => “V”
wrapper => “”
company_id => “”
description => “Right column”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
5 => Array (12)
block_id => “5”
text_id => “bottom”
block_type => “G”
location => “all_pages”
disabled_locations => “checkout”
status => “A”
properties => Array (2)
block_order => “H”
wrapper => “”
company_id => “”
description => “Bottom”
item_ids => “”
assigned => “Y”
object_id => “all_pages”
6 => Array (12)
block_id => “6”
text_id => “product_details”
block_type => “G”
location => “products”
disabled_locations => “”
status => “A”
properties => Array (0)
company_id => “”
description => “Product details page tabs”
item_ids => “”
assigned => “Y”
object_id => “product_id”
{$breadcrumbs} Array (1)
0 => Array (2)
title => “Home”
link => “index.php”
{$config} Array (34)
forbidden_file_extensions => Array (
0 => “php”
1 => “php3”
2 => “pl”
3 => “com”
4 => “exe”
5 => “bat”
6 => “cgi”
7 => “htaccess”
forbidden_mime_types => Array (5)
0 => “text/x-php”
1 => “application/octet-stream”
2 => “text/x-perl”
3 => “text/x-python”
4 => “text/x-shellscript”
secure_controllers => Array (7)
0 => “checkout”
1 => “payment_notification”
2 => “auth”
3 => “profiles”
4 => “image_verification”
5 => “orders”
6 => “pages”
db_host => “localhost”
db_name => “peainapod”
db_user => “root”
db_password => “root”
db_type => “mysqli”
http_host => “192.168.0.163”
http_path => “/29085.peainapod.com.au”
https_host => “192.168.0.163”
https_path => “/29085.peainapod.com.au”
admin_index => “admin.php”
customer_index => “index.php”
vendor_index => “vendor.php”
demo_mode => “”
tweaks => Array (7)
js_compression => “”
check_templates => “1”
inline_compilation => “1”
anti_csfr => “”
disable_block_cache => “”
join_css => “”
allow_php_in_templates => “”
cache_backend => “file”
crypt_key => “cassette3000”
cache_path => “/29085.peainapod.com.au/var/cache”
current_path => “/29085.peainapod.com.au”
images_path => “/29085.peainapod.com.au/images/”
http_images_path => “/29085.peainapod.com.au/images/”
thumbnails_path => “/29085.peainapod.com.au/images/thumbn…”
http_location => “http://192.168.0.163/29085.peainapod…”
https_location => “https://192.168.0.163/29085.peainapod…”
current_location => “http://192.168.0.163/29085.peainapod…”
full_host_name => “”
skin_name => “basic”
skin_path => “/29085.peainapod.com.au/skins/basic/c…”
no_image_path => “/29085.peainapod.com.au/images/no_ima…”
current_url => “index.php”
demo_username => “”
demo_password => “”
{$content_tpl} “views/index/index.tpl”
{$controller} “index”
{$currencies} Array (1)
AU => Array (11)
currency_code => “AU”
after => “N”
symbol => “$”
coefficient => “1.00000”
is_primary => “N”
position => “0”
decimals_separator => “.”
thousands_separator => “,”
decimals => “2”
status => “A”
description => “AU Dollar”
{$demo_password} “”
{$demo_username} “”
{$i} Array (2)
title => “Home”
link => “index.php”
{$images_dir} “/29085.peainapod.com.au/skins/basic/c…”
{$include_dropdown} “1”
{$index_script} “index.php”
{$languages} Array (1)
EN => Array (3)
lang_code => “EN”
name => “English”
status => “A”
{$ldelim} “{”
{$localizations} Array (0)
{$location_data} Array (3)
page_title => “Shopping Cart Software & Ecom…”
meta_description => “Secure and full-featured Online Shopp…”
meta_keywords => “shopping cart, software, ecommerce so…”
{$manifest} Array (7)
description => “Basic skin”
admin => “Y”
customer => “Y”
Customer_logo => Array (4)
filename => “customer_area_logo.gif”
width => “176”
height => “69”
alt => “Simbirsk Technologies Ltd”
Mail_logo => Array (4)
filename => “invoice_logo.gif”
width => “125”
height => “24”
alt => “Simbirsk Technologies Ltd”
Admin_logo => Array (4)
filename => “logo.png”
width => “115”
height => “20”
alt => “Simbirsk Technologies Ltd”
Gift_certificate_logo => Array (4)
filename => “gift_cert_logo.gif”
width => “176”
height => “47”
alt => “Simbirsk Technologies Ltd”
{$mode} “index”
{$navigation} “”
{$primary_currency} “AU”
{$quick_links} Array (6)
19 => Array (3)
param_id => “19”
param => “index.php”
descr => “Home”
8 => Array (3)
param_id => “8”
param => “index.php?dispatch=pages.view&…”
descr => “About Us”
7 => Array (3)
param_id => “7”
param => “index.php?dispatch=pages.view&…”
descr => “Contact Us”
20 => Array (3)
param_id => “20”
param => “index.php?dispatch=gift_certificates.add”
descr => “Gift certificates”
21 => Array (3)
param_id => “21”
param => “index.php?dispatch=promotions.list”
descr => “Promotions”
22 => Array (3)
param_id => “22”
param => “index.php?dispatch=sitemap.view”
descr => “Sitemap”
{$rdelim} “}”
{$s_companies} Array (2)
all => Array (2)
company_id => “all”
company => “All suppliers”
0 => Array (3)
company_id => “0”
company => “Simbirsk Technologies Ltd”
status => “A”
{$s_company} “all”
{$secondary_currency} “AU”
{$settings} Array (23)
General => Array (51)
use_shipments => “Y”
allow_usergroup_signup => “Y”
exception_style => “hide”
feedback_type => “auto”
auto_check_updates => “Y”
alternative_currency => “N”
weight_symbol => “kgs”
default_address => “Boston street”
default_zipcode => “02125”
default_city => “Boston”
default_country => “US”
default_state => “MA”
default_phone => “6175556985”
weight_symbol_grams => “453.6”
allow_negative_amount => “N”
secure_checkout => “N”
secure_admin => “N”
keep_https => “N”
inventory_tracking => “Y”
debugging_console => “Y”
store_access_key => “”
order_start_id => “”
edp_key_ttl => “24”
user_multiple_profiles => “N”
user_store_cc => “N”
min_order_amount => “0”
min_order_amount_type => “S”
allow_anonymous_shopping => “Y”
show_products_from_subcategories => “N”
disable_anonymous_checkout => “N”
low_stock_threshold => “0”
approve_user_profiles => “N”
use_email_as_login => “N”
display_options_modifiers => “Y”
show_out_of_stock_products => “Y”
secure_auth => “N”
use_single_coupon => “Y”
agree_terms_conditions => “N”
repay => “Y”
checkout_style => “one_page”
estimate_shipping_cost => “Y”
allow_create_account_after_order => “Y”
proxy_host => “”
proxy_port => “”
proxy_user => “”
proxy_password => “”
search_objects => Array (0)
redirect_to_cart => “N”
checkout_redirect => “N”
tax_calculation => “subtotal”
address_position => “billing_first”
Logging => Array (7)
log_type_news => Array (3)
create => “Y”
delete => “Y”
update => “Y”
log_type_orders => Array (4)
create => “Y”
delete => “Y”
update => “Y”
status => “Y”
log_type_users => Array (5)
create => “Y”
delete => “Y”
update => “Y”
session => “Y”
failed_login => “Y”
log_type_products => Array (4)
create => “Y”
delete => “Y”
update => “Y”
low_stock => “Y”
log_type_categories => Array (3)
create => “Y”
delete => “Y”
update => “Y”
log_type_database => Array (4)
restore => “Y”
backup => “Y”
optimize => “Y”
errors => “Y”
log_type_requests => Array (1)
http => “Y”
Suppliers => Array (3)
enable_suppliers => “N”
display_supplier => “Y”
display_shipping_methods_separately => “Y”
Appearance => Array (33)
products_per_page => “10”
admin_products_per_page => “10”
admin_elements_per_page => “10”
admin_pages_per_page => “10”
admin_orders_per_page => “10”
orders_per_page => “10”
elements_per_page => “10”
notice_displaying_time => “5”
default_wysiwyg_editor => “tinymce”
default_image_previewer => “fancybox”
show_quick_menu => “Y”
date_format => “%m/%d/%Y”
customer_default_language => “EN”
admin_default_language => “EN”
columns_in_products_list => “2”
default_products_sorting => “product”
time_format => “%H:%M”
show_prices_taxed_clean => “N”
timezone => “Europe/Moscow”
cart_prices_w_taxes => “N”
in_stock_field => “N”
thumbnails_gallery => “Y”
quantity_changer => “N”
top_pagination => “N”
taxes_using_default_address => “N”
calendar_date_format => “month_first”
calendar_week_format => “monday_first”
default_products_layout => “products_grid”
save_selected_layout => “Y”
default_products_layout_templates => “products=Y&products_grid=Y&am…”
default_product_details_layout => “default_template”
changes_warning => “Y”
show_menu_descriptions => “Y”
Company => Array (18)
company_state => “MA”
company_city => “Boston”
company_address => “44 Main street”
company_phone => “6175556985”
company_phone_2 => “”
company_fax => “”
company_name => “Simbirsk Technologies Ltd”
company_website => “https://www.cs-cart.com/”
company_zipcode => “02116”
company_country => “US”
company_users_department => “it@cassette.co”
company_site_administrator => “it@cassette.co”
company_orders_department => “it@cassette.co”
company_support_department => “it@cassette.co”
company_newsletter_email => “it@cassette.co”
company_start_year => “2004”
company_country_descr => “United States”
company_state_descr => “Massachusetts”
Shippings => Array (3)
disable_shipping => “N”
can_enabled => “N”
swisspost_enabled => “N”
skin_name_admin => “basic”
skin_name_customer => “basic”
show_menu_mouseover => “N”
DHTML => Array (4)
customer_ajax_based_pagination => “Y”
admin_ajax_based_pagination => “Y”
ajax_add_to_cart => “Y”
ajax_comparison_list => “Y”
Reports => Array (4)
day => “%a, %b %e”
week => “%U, %b”
month => “%B”
year => “%Y”
Thumbnails => Array (17)
jpeg_quality => “80”
convert_to => “original”
thumbnail_background_color => “#ffffff”
product_lists_thumbnail_width => “120”
product_lists_thumbnail_height => “”
product_details_thumbnail_width => “120”
product_details_thumbnail_height => “”
product_detailed_image_width => “”
product_detailed_image_height => “”
product_cart_thumbnail_width => “120”
product_cart_thumbnail_height => “”
category_lists_thumbnail_width => “120”
category_lists_thumbnail_height => “”
category_details_thumbnail_width => “120”
category_details_thumbnail_height => “”
category_detailed_image_width => “”
category_detailed_image_height => “”
gift_registry_next_check => “1299789068”
lh_visitor_data_last_clean => “1160220364”
Image_verification => Array (10)
use_for_login => “Y”
use_for_register => “Y”
use_for_form_builder => “Y”
use_for_send_to_friend => “Y”
use_for_discussion => “Y”
use_for_checkout => “Y”
hide_if_logged => “Y”
use_for_polls => “Y”
use_for_track_orders => “N”
hide_after_validation => “Y”
cart_products_next_check => “1315222402”
translation_mode => “N”
customization_mode => “N”
store_mode => “opened”
Security => Array (5)
min_admin_password_length => “5”
admin_passwords_must_contain_mix => “N”
change_admin_password_on_first_login => “N”
admin_password_expiration_period => “0”
cron_password => “MYPASS”
send_feedback => “1317412800”
store_optimization => “dev”
hd_request_code => “2855521622”
{$skin_area} “customer”
{$top_menu} Array (5)
23 => Array (13)
param_id => “23”
param_2 => “index”
param_3 => “”
param_4 => “”
param_5 => “”
status => “A”
position => “1”
parent_id => “0”
id_path => “”
subitems => Array (0)
item => “Home”
href => “index.php”
selected => “1”
24 => Array (12)
param_id => “24”
param_2 => “categories.catalog, categories.view, …”
param_3 => “”
param_4 => “”
param_5 => “”
status => “A”
position => “2”
parent_id => “0”
id_path => “”
subitems => Array (0)
item => “Catalog”
href => “index.php?dispatch=categories.catalog”
25 => Array (12)
param_id => “25”
param_2 => “profiles, auth, orders, tags.summary,…”
param_3 => “”
param_4 => “”
param_5 => “”
status => “A”
position => “3”
parent_id => “0”
id_path => “”
subitems => Array (0)
item => “My Account”
href => “index.php?dispatch=profiles.update”
26 => Array (12)
param_id => “26”
param_2 => “checkout”
param_3 => “”
param_4 => “”
param_5 => “”
status => “A”
position => “4”
parent_id => “0”
id_path => “”
subitems => Array (0)
item => “View cart”
href => “index.php?dispatch=checkout.cart”
27 => Array (12)
param_id => “27”
param_2 => “pages”
param_3 => “A:0:Y”
param_4 => “left”
param_5 => “”
status => “A”
position => “100”
parent_id => “0”
id_path => “27”
subitems => Array (4)
0 => Array (4)
param_4 => “left”
new_window => “0”
item => “About our company”
href => “pages.view?page_id=3”
1 => Array (4)
param_4 => “left”
new_window => “0”
item => “Contact us”
href => “pages.view?page_id=1”
2 => Array (4)
param_4 => “left”
new_window => “0”
item => “Poll of the week”
href => “pages.view?page_id=4”
3 => Array (4)
param_4 => “left”
new_window => “0”
item => “What is CS-Cart?”
href => “pages.view?page_id=2”
item => “Company”
href => “index.php?dispatch=pages.view&…”
{$user_info} Array (7)
user_id => “1”
user_login => “admin”
company_id => “0”
firstname => “Admin”
lastname => “Admin”
email => “it@cassette.co”
user_type => “A”
assigned config file variables (outer template scope)
{#files#} Array (0)
{#vars#} Array (0)
Here is a copy of the record from cscart_blocks table too:
40 B all_pages A a:6:{s:11:“list_object”;s:17:“cassette_carousel”;s:8:“fillings”;s:8:“manually”;s:11:“appearances”;s:53:“addons/cassette_carousel/blocks/original_carousel.tpl”;s:7:“wrapper”;s:0:“”;s:5:“width”;s:0:“”;s:10:“width_unit”;s:1:“P”;}
Could someone shed some light for me please.
Nathan
Hi from Donetsk, to display a template add-on that should be a necessary function in the file func.php (fn_get_“name of your addon folder”), in May cases it fn_get_ajax_filter
exemple:
function fn_get_ajax_filter()
{
return “ds”;
}
The return must necessarily feature at least one character
see that the path had been prescribed correctly, and the addon has been active
Do not forget to make the block in admin
is very important file addon_name\schemas\block_manager\structure.post.php
the contents
$schema['ajax_filter'] = array (
'fillings' => array (
'ajax_filter' => array ()
),
'appearances' => array (
'addons/ajax_filter/blocks/ajax_filter.tpl' => array (
'conditions' => array (
'fillings' => array ('ajax_filter')
)
)
)
);
if you need help my ICQ: 222277803
i by in time 09:00/18:00 +2GTM
Cheers! Thanks very much for the help!