I have a problem importing database, in general all works fine, but here what is happening.
Tech spec using: Joomla 3.2.3, J-BusinessDirectory Version 3.4.3, themexpert expose 4 theme and framework.
in my CSV file I have fill out this spaces.
name;category;subcategories;type;street number;address;city;region;country;keywords;phone;
If I import on my PC using xampp in my localhost I get these errors in breadcrumbs:
Notice: Undefined offset: 0 in C:\xampp\...path...\components\com_jbusinessdirectory\models\companies.php on line 35
Notice: Trying to get property of non-object in C:\xampp\...path...\components\com_jbusinessdirectory\models\companies.php on line 38
You are here:
Notice: Trying to get property of non-object in C:\xampp\...path...\components\com_jbusinessdirectory\views\companies\tmpl\breadcrumbs.php on line 13
If I do that on live server I do not get errors but breadcrumbs do not work until I manualy edit business in backend and save. then everything works fine. But I can't edit 3000 or more records. please help.
Hi,
When importing business listing and have packages active you should follow the instructions presented on chapter 3.3.1 from our user manual.
Important notice: If packages are enabled and the package is not specified in the import list a default value (0) will be associated. This will prevent companies to be listed in front-end. To set a default package for companies you have to go to Application settings/ General tab and set packages to no and then to yes. A select box will appear that allows you to set the default package. Set the default package and save. This will change the package only for companies that do not have a package set.
You can also add the main subcategory in the csv if you want to change this.
Hi,
We have changed also the breadcrumbs mechanism to take the first associated category if there is not main subcategory.