AUto translate feature removed since it's no more supported by google [FIX]
css compression option added [NEW]
Removed some un wanted css and js files[UPDATE]
Version 1.7 comes with improvement and upgrades.
Blog posts are now translatable from admin panel[NEW]
Brand Model are sorted properly [UPDATE]
Ask for price option added [NEW]
Added unique view count on front end[UPDATE]
Gallery image slider updated[UPDATE]
Language create option without translation added [NEW]
Hide states option added [NEW]
Admin can now place widgets on manual pages from text editor[NEW].
Sql backup option added for mysqli driver[FIX]
Tinymce editor version updated, Now admin can upload images while manual page creation[UPDATE]
Version 1.6 comes with improvement and upgrades.
Rss feed improved [UPDATE]
Hide state option added [NEW]
Archaived blog posts 404 issue fixed
Using text option instead of logo image added [NEW]
FB api version updated [UPDATE]
Detail page meta description updated[UPDATE]
Implemented the option to add google api key [NEW]
Database driver updated from Mysql to mysqli [UPDATE]
EU cookie policy popup option added [NEW]
Transparent image upload issue[FIX]
SMTP email option added [NEW]
Version 1.5 comes with improvement and upgrades.
New lang keys added to every lang file [UPDATE]
Added lang key for missing keys on dealer panel[UPDATE]
Lang switcher option added on admin panel [NEW]
Image file extension lower case check while uploading [FIX]
Image removed from actual directory if user deletes it from edit form[NEW]
Large image on facebook share[UPDATE]
Email sending to all dealers option added[NEW]
Hide banner option added[NEW]
External link adding issue on menu[FIX]
Meta tag added for canonical url[UPDATE]
Version 1.4 comes with improvement and upgrades.
Multiple gallery image uploader added [NEW]
Advance search url mod_security issue [FIXED]
Setting added for admin panel paginition [NEW]
Admin panel all cars loading issue [FIXED]
Email debugger option added [NEW]
Admin theme changed [NEW]
Admin panel loading time issue [FIXED]
Purchase code verification issue [FIXED]
Facebook login issue [FIXED]
Version 1.3 comes with improvement and upgrades.
New widgets Added
Code Refractor
Code organized for better stabilty
Licensing system and purchase code verifying updated
Minor bugfix
Version 1.2 was updated on 2nd February, 2015. Here are the key updates:
New form design in new and edit car view. Offering more spaces
Multi Upload and drag/drop sortable option on gallery images
Datatable included in admin panel. Sorting are much easier now
Manual transaction activation
Dealer delete option with his included posts
Option to add link in front image banner. [See Note below]
Thousand separator option in config file
Hide slider if one image on detail
Featured cars on top of recent cars in home view
Image tag alt attribute added throughout the front end
Add date with email detail on backend email tracker
More SEO friendly
Search bug on chrome browsers [bugfix]
Tag search bug [bugfix]
Agent can't delete his own car [bugfix]
email tracker link bug [bugfix]
Remove not editable page from database [bugfix]
transparent background upload problem [bugfix]
lang_key function status check [bugfix]
Important Updates:
Banner Image link:
Open ROOT/application/config/banner.php file
In banner array add a attribute named 'image_link'. And put the desired link as 'image_link' => 'http://www.facebook.com' .Use http:// to get the full url.
Thousand Separator: Thousand separator can be added very easily via config file.
Open ROOT/application/config/autocon.php file
"#$config['decimal_point'] = '.'" & "$config['thousand_separator'] = ','". Change it as you like.
Version 1.1 was updates on 13th October, 2014. Here are the key updates:
Image capcha security added in front end forms, Now it is safe against spamming
Enhanced search with new filtering options
New and improved RTL changes
Show cars in desc order on Admin Panel > All Cars View
Make Paypal disable but not the bank transfer
Color option for banner text in banner config file
Specific car link added when email sent to agent
Min height problem fix on homepage and responsive designs [bugfix]
Active menu color [bugfix]
Print view layout for potrait view [bugfix]
Approve user from admin panel bug [bugfix]
Num of posts per page for home page [bugfix]
Edit page [bugfix]
Version upgrading for Existing buyers
Note for existing buyers: If existing buyers do any kind of code customization on the autocon application, please make sure that you followed the customization guidline given in the 'Source Code Explanation' section and follow the following steps to update:
Replace ROOT/application directory with application directory [Merge and replace]
Replace ROOT/dbc_config directory with dbc_config directory [Merge and replace]
Replace ROOT/system directory with system directory [Merge and replace]
Note: Please create a sql backup before update. Also if any custom work is done on you script then please replace files carefully so that your custom works do not loose. If possible take a file backup also. Step 1 is a much easier method.
Easy Installation
You can install autocon in following 4 easy step
1. Upload autocon.zip to your server and extract it
2. Ceate a database and database user.
3. Now browse http://yourdomain.com and you will see an installation screen
4. Now provide your database settings
5. If provided database settings are ok , then you will be redirected to next step.Provide your administration setting here.
press save & next .If your account setting are ok then memento will be installed and you can visit front end using
http://yourdomain.com
and admin panel using
http://yourdomain.com/index.php/admin
6) If you run your installation on server you have to work through one step of purchase verification. When you buy our product from Envato, envato will provide you with a Purchase Code & Item ID. Simply paste these in this page and your purchase will be automatically verified. When running on localhost the installation will skip this step. So install our product multiple time in localhost but server hosting needs verification.
Setup Config Files
Autocon comes with config files which needs configuration if you don't want to use default settings.
ROOT/appicaltion/config/autocon.php contains the basic setting for autocon. Here are explanation of the variables:
$config['blog_post_types'] contains the types of all the blog contain types which can be entered from Admin Panel > Blog/News/Article Section
Custom Fields: Custom fields can be added very easily via config file.
Uncomment line 5 "#$config['enable_custom_fields'] = 'Yes';" like "$config['enable_custom_fields'] = 'Yes';". This will enable custom field support for estates.
Now suppose you want to add a custom field "Weight" which will be a text field and also a required field. For doing so add the following line to the file
Adding multiple fields: It's similar like adding a single field. Suppose you want two fields "Registratiom no" and "Has parking?" then put the following lines
'title': Title for the field 'name': Anything unique without space 'type': Can be text,textarea or select 'validation': Any rule supported by codeigniter. Plese check https://ellislab.com/codeigniter/user-guide/libraries/form_validation.html#rulereference 'show_on_detail_page' : Can be 'yes' or 'no' 'value' : Necessary for select box. An associative array. Keys are used as option values.
Showing custom field values: Custom field values are automatically shown on car detail page. But if you want to show them by yourself then you can user the following line
We have some preloaded image created. You can use those or add new
$config['banner_settings'] = array(
array('image_name'=>'car1.jpg', 'header_text'=> 'All New Lamborghini', 'header_text_top' => '30', 'header_text_left' => '30', 'footer_text'=> 'The best Sports Car in Town', 'footer_text_top' => '300', 'footer_text_left' => '30'),
array('image_name'=>'car2.jpg', 'header_text'=> 'Porche 911 Camaro', 'header_text_top' => '30', 'header_text_left' => '1000', 'footer_text'=> 'Get the Best Deal', 'footer_text_top' => '200', 'footer_text_left' => '1000'),
array('image_name'=>'car3.jpg', 'header_text'=> 'The New Ferrari', 'header_text_top' => '30', 'header_text_left' => '30', 'footer_text'=> 'Most Advanced Sports Car', 'footer_text_top' => '300', 'footer_text_left' => '30'),
array('image_name'=>'car4.jpg', 'header_text'=> '', 'header_text_top' => '30', 'header_text_left' => '30', 'footer_text'=> '', 'footer_text_top' => '300', 'footer_text_left' => '30'),
);
Parameter explanation :
'image_name': name of image with extension. Image must be kept in ROOT/uploads/banner/ folder. Our preferable image size is 1300x731 px or higher maintaining proportion 'header_text': Top Banner Header text. Keep blank if you want to remove it 'header_text_top': Position from top of the banner (In pixels) 'header_text_left': Position from left of the banner (In pixels) 'footer_text': Top Banner Footer text. Keep blank if you want to remove it 'footer_text_top': Position from top of the banner (In pixels) 'footer_text_left': Position from left of the banner (In pixels)
Autocon Features
Here are the key features of Autocon:
Complete Vehicle Listing with Map preview.
Home page comes with a attractive slider with texts on images. Both text and images are customizable from admin panel
Vehicle has 2 types of view(Grid and List)
Sorting vehicle (Ascending, Descending) on key values.
Advanced filter option available on Manufacturer, Model, Car Year Range and Price Range
Detail view of vehilces with slider section for image preview.
View all dealers with their listed vehicles.
Multilanguage and multiple currency support.
Google Map API v3 used with geocoding enabled.
Dealer Signup with admin defined packages
Payment option with Paypal
Custom Widget Creator
Preloaded featured vehicles, top vehicles, facebook like box and top dealers widget
Youtube/Vimeo video embed for each vehicles
Custom tag support. Search your vehicles using custom tags
Blog/News/Article section to share information about your cars
Email tracker to track emails sent from the details page
Responsive Design (Works on any resolution devise)
Easy backup creator
Easy email text editor
Customizable Manufacturers with their models from admin
Two user types (Admin, Dealer)
SEO support
Googlr analtycal and adsense support
Vehicle Preview
Autocon provides an excellent outlook to preview the submitted vehicles.
Home page provides an impressive slider with a advanced filter section to narrow down the submitted cars
1. Image slider with banner texts at top and bottom
2. Advanced car filter with parallex background effect. Background can be changed from admin panel
Both these options are modifiable from admin panel.
Viewing vehicle are common for throughout the website. It comes with 2 types of view (Grid and List)
Grid View: All the vehicles are viewed in block 3 grids.
List View: All the vehicles are viewed in single block grid.
There are sorting options for each and every grids and lists.
There are featured cars shown on bottom of the home page. The featured cars are load in a beautiful carousal view.
The right section of the page shows the widget section which are configurable from the admin panel. Default widgets like type filter, featured cars, top cars, facebook like box, ad sense are preloaded from the admin panel.
Vehicle Detail View
Clicking the image of vehicle or its 'View Listing' link will go to the uniquely designed detail page of vehicle
Show the vehicle title with a slider viewing uploaded image on the left top. The details section is at bottom
Right top section will show the summary of the property.
There is a section viewing the dealer and a form to contact the dealer directly.
There is custom tab switcher to switch between cars specification and dimentions
The location map shows the google map location for the current property.
Image gallery section shows the gallery images.
Video section shows the embeded video.
There is a section to embed the car on different websites. Simply click the embed button. There will be popup preview with embeded code. SImply copy and paste the iframe code as you like to the different websites.
Advanced Filtering
Autocon provides advanced searching and filtering options for cras. It's really an advanced filter. There are three categories for advanced searching:
Filter section comes with list of Manufacturers, Models, Types, Price Range slider and Year selector to filter from the available vehicles. All the Manufacturers and Models can be given input from the Admin Panel. When a Manufacturer is selected all the models listed under are automatically generated in the Models dropdown via AJAX. There is a price Range slider. Default price ranges can be set from admin panel. When all are kept blank and the filter is ran, all the cars are listed on the menu. Change the types, models and manufacturers to filter through the cars.
There is also a single seacrh section to search vehicles using title, manufacturer, model name, tags etc. We kept in as a simple search function.
Dealer Registration
Autocon provides dealer registartion system for uploading cars to prevent spamming. If packages are created and paypal in enabled in admin panel the user is propmted for package selection first:
After clicking the signup link user is prompted to a package selection page.
After selecting the package the sign-up form is given.
There is page to view all dealers in autocon. Searching the dealers are also possible from here.
Clicking the dealer will show the desired dealer with all of his/her cars. The dealer location is also given here in a map preview box. Contacting the dealer is also possible providing the information given here.
Admin Features
Autocon comes with a simplified admin panel features. Here is the key features of the admin panel:
Custom theme support
Settings for car create, update, delete, filter from the All cars section
Dealer Management
Custom manufacturer and model section to add car manufacturer and its assigned model as you like
Custom Package creation
Email tracker section to manage the emails sent from dealer info form
Bulk email support for marketing purpose
Blog/Artcile/News management section
Custom widget management for sidebars
Custom plugin
Page creator & Menu Builder
Database backup support
Multilanguage support
Autocon settings section to manage all the settings from the backend
Vehicle Submission
Cars can be created by dealers/admin from the admin panel autocon section.
Dashboard Overview holds the list of the summary of the overall application
From the navigation section Autocon > All Cars all cars can be viewed. There is filter on all the cars. Cars can be made featured from here.
From the navigation section Autocon > New Car new cars can be created. The top Title and description section holds the data based on translation. Simply change tabs to put translation data values. There are scetions divided Basic Info, Specifications and Dimensions. Featured image of a car can be uploaded form here.
From Edit Section, Edit any data of Car. Same as create view. From Edit section you can add gallery image. Youtube or Vimeo video preview and a brochure for dealers.
From the navigation section Autocon > Location, Country, City and State can be added in the system to use it in car create form. Simply click on the add button and paste country, state and city name comma separated way.
From the navigation section Autocon > Manufacturer, Manufacturer Brands and Models can be added in the system to use it in car create form. Simply click on the add button and paste country, state and city name comma separated way.
From the navigation section Autocon > Email Tracker, All the emails are listed which is sent from the car detail page front end section. All email queries are listed here. You can use these email addresses for marketing purpose.
From the navigation section Autocon > Bulk Email, there is email composer. You can send your prefarable users Bulk Email to contact, marketing or marketing servey.
Basic Settings
Set up your website with with custom settings
Publish Posts Directly: If it is selected yes estates will be uploaded without moderation.
System Currency: Set the system currency from here. If selected use icon icon will be used or if use shortcode is selected currency shortcode will be selected instead of icon.
Enable signup: If selected, signup option will be available for the product. Further agents can be added from sign up. If kept off admin will be the sole agent.
Enable pricing: If selected, pricing will be on for signup using paypal. Just create the package from package section and create a subscription based agent signup system.
If package expired: Option gives you to hide dealers if the package is expired
Mileage Unit: Can set to miles or kms to show on front end
Show admin agent: If set yes, admin will be shown as dealer
Car filter Price Range: Car filter price range to show on the main filter
Enable Bank Transfer: If set to yes bank transfer option will be enabled along with paypal in sign up
Enable payment for feature: If set to yes making a car fatured will be a paid option for dealers
Enable facebook login: If set to yes facebook login will be enabled, fb app id needs to be set form here.
Facebook App Settings: If facebook login is enabled, Go to Facbook Developer. Then go to Menu > App > Create New App. After that you will receive a FB app id & FB secret key. Paste it here. Then set the domain you want to host at Facebook App's basic Settings.
Paypal Settings has the options for paypal. Agents can be charged for subscriptions.
Payment history section lists all the subscription charge for this application.
From Autocon > Autocon settings has the home page settings upload the parallex background of the filter section.
There is also a section to create sign up packages. Package CRUD is possible form here.
There is profile section to view Admin or Dalers profile page form the admin. Dealers can set their address, state, country, location form there. Dealer location will the location of the car which is views on car detail page and also on dealer page.
There is also a section to view the dealers who signed up for the application. Admin can delete any dealer or chnage the info of any dealer form here.
Blog/News/Article
Autocon comes with the Blog/News/Article section to manage a blog section within the car site. Post about your favorite cars and dealersa across the globe, share news on different social sites. Keep up with the updated world. From Blog > All posts section you can view all the blog items here. Form the new post section a new blog post creation is possible.
Widget & Plugins
Manage & Create customs widgets to view in the sidebars of application. We kept in clean, so that users can upload any html content they want. Google adsence, live tweets can be embeded via HTML from this section.
All Widgets - This section will view the widgets available in this site. You can create a new widget or choose between our existing widgets. User have option to acticate/de-activate any widget. Create a widget from the create widget section. Edit the contents of widget from the bottom section of the page. Don't forget to activate the widget from bottom to position it on to the desired section.
Widget Positions - First Select the screen positions from the select box at top of the screen. There are 8 positions on the page to choose from to place the widgets. Select any positions and click the show button to apply widgets on the selected position from the bottom. In the bottom half there will be two sections which shows available and active widgets. Drag and drop the widgets between available and active sections.To order the widgets simply drag widgets in active section.
Here is the detailed video tutorial to position the widgets:
Plugins - We will release plugins for memento in the near future. Simply upload the plugin from this section.
Upload - This section allows users to uplaod our any released widgets, plugins and themes. Simply upload your desired selectin from here.
Pages & Menu
Build memento as a complete website from this section. Add new pages submenu as you desire from here. For example if you need a "Contact Us" page create the Contact tab from the menu and paste the HTML content.
All Pages - View all the pages from here. You can edit/upadate any page. To update simply paste any HTML content of the page. Also there is a TinyMCE editor. So no knowledge of HTML is required.
New Page - Create a page from this section. Pure HTML or TinyMCE options is also availabe here. You can set this options as following:
Menu Title: Set your menu title here. Which will be shown in topbar.
Menu Alias: The url which will be passed in menu.
Page Layout: Choose page layout options from here.
Content From: Chose the content type you want to put. Which will be URL or Manual input
Url: If you want the content to come from any of your memento url, then type the url after index.php/ here. Like if your memento setup url is http://example.com and for some page you want the content to come from "http://example.com/index.php/show/all" then type the url like "show/all"
Here is the video tutorial to manage pages in Memento:
Menu - Arrage all he Menu or Submenu from this section. Simply drag and drop the titles here.
System Settings
Manage Backups - Backup your sql files from here. You can restore any vesrions of the backups from this section.
Manage Language - Manage the language and keyword from this section. You can select the desired language from the dropdown and be able to edit the keys set into front site with your custom texts. Please see English language keys to view the standard keys.
Translate from language file: Autocon comes with the language file pack which is automatcally generated from the result of auto translate. Here are the steps to work out translation file.
Browse to ROOT/dbc_config/locals directory
In the folder language files are listed as a YAML format.
Simply edit a YAML lang file. Change the translation texts of your desired keys
Go to Admin Panel > System > Manage Language section
Click edit on a desired language
Click "Import from file" to commit the changes you've done in lang file or click "Export to file" to write the files with changes from this edit section
Auto Translate - Auto translate is an advanced option we provide. From here you can add any language you want. Using google translator it will add desired language to the given language keys. For example you want to auto translate French, select the source language from the dropdown, type French on the language name & then paste two digit keyword (The keyword must be placed correctly. Otherwise the auto translater won't work. We recommend you check the translate keys from here Language ISO Codes, in here there are Language Lists. From the ISO 639-1 column select the desired shortcode). For French the shortcode is fr. Then click auto translate. Google will do the rest. Some keywords may be misiing. So you have to add texts manually to translate keys. Watch the video tutorial to show how it's done:
Email Text - There are several emails which are sent from users with this application. Simply change the default texts of email with your custom texts. There are two types of emails here 'Confirmation Email' & 'Recovery Email'. Confirmation email is sent to users after registration. And Recovery Email is sent when the user prpmpts for forget password.
Site Settings - Adjust the basic site settings like Site Title, Orientation, Contact text here
Site Title: Set your website title
Footer Text: Set texts in footer
Site Logo: Update your Site Logo
Site Language: Set your website default language
Site Orientation: Set your website orientation
Site Per Page: pagination for default posts
Page Layout: Page Layout for website.
SEO Options: Set website's SEO options
Admin Settings - Default admin settings goes here
Theme Support
We will be releasing themes & updates for Memento later on. Simply upload any themes/plugins/widgets from the upload section and details themes will be available under available themes section.
Database Architecture
Here is the complete database schema:
Source Code Explanation
We've used codeigniter version 2.0.3 as framework. As you know codeigniter basically is a MVC frame work. For memento we have used the HMVC version of Codeigniter. The H of HMVC stands for Hierarchical. In normal MVC model controllers, models and views are organized under ROOT/application directory. But in HMVC, there is one more level "Modules" under ROOT/application directory.
Suppose you have a module "admin" under this modules directory. Now controllers, models and views for this module can be placed under "ROOT/application/modules/admin/controllers","ROOT/application/modules/admin/models" and "ROOT/application/modules/admin/views" directory.
Now suppose there is a controller named as "test" under this controller directory and there is a function called "hello" in this controller. From browser you can access this function like site_url.'/admin/test/hello'. Here admin is the module name, test is the controller name and hello is the function name. If the controller and module name are the same then it can be typed once. Like if the controller name is "admin" then you can access this hello function like site_url.'/admin/hello'. Read more about HMVC form here https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc
Language Routing:
For passing selected lang with the url we've modified codeigniters default routing. Now the first segment after index.php represents the selected lang key. Like for a sample url "http://memento.webhelios.com/index.php/en/show/cat/1" there "http://memento.webhelios.com/index.php" is the site url and "en" is the language key. "en" stands for English language. You can use any two character ISO code for any language. If this segement is empty then default language selected from admin panel will be used. For changing the basic routing rule we've modified "ROOT/application/third_party/MX/Router.php".
We have also override the site_url() function on URL helper. You can find this extended function on the helper file "ROOT/application/helpers/MY_url_helper.php".
Helpers:
All the helpers used in memento are placed under "ROOT/system/helpers" directory with the prefix "dbc". If you see any function in any controller or models or views which is called without through object then it's a helper function. You can then find that function in any of these helpers files.
Extending memento or writing custom codes:
How to extend controllers?
For any controllers you will see there is two files under controllers directory. Like for admin controller there will be two files named as
admin.php
admin_core.php
under the controllers directory. All the core functions are written on this "_core.php" files. If you need to change any function please extend the same function on the other file. For next version updates we will update only these "_core.php" file. So if you write any code or make any changes to these files, they will be loast upon update. So please write your custom codes on normal files.
How to extend the models?
These is same as the controllers.
How to extend views:
All the views for front end is managed as themes. Themes are located under "ROOT/application/modules/themes/views/" directory. If you want to change any view or want to make custom theme, then follow the below procedures.
Copy the default directory under "ROOT/application/modules/themes/views/"
Rename it like as you wish.(No spaces)
Edit the NEW_DIR/assets/config.xml file and change the text within <name></name> tag
Now from admin panel > menu > themes , you can find the new theme you just make. Click the active button and activate the theme.
Now you can change any views like you wish.
We will update only default theme codes for future updates. So if you make any changes to these views under default directory, they will be lost. So please follow the above process to make a theme and update the views.
How to extend helpers?
As said before all the helpers for memento located under "ROOT/system/helpers" directory. But please don't update these files if you need any changes. Extending a helper file is very much simple. Suppose you want to extend is_installed() function on dbcbase_helper.php, then make another file named as "MY_dbcbase_helper.php" under "ROOT/application/helpers" directory and write the function with same name there. This will override the original helper file. We will update the helpers under "ROOT/system/helpers" for future updates.
Where the css, js and images located?
For front end all the css,js and images are located within "THEME/assets/" directory. For admin panel all these are located under "ROOT/assets/admin" directory.
Developer Support
If you have any question or need any support contact with us on
webheliosteam@gmail.com