"View" files contain the statements to render the web pages. In addition, FladsClassifieds stores the main stylesheet file together with the "View" files.
Follow the steps below to create your own set of "View" files :
index.htmlfile in your subdirectory (to do that, copy the
system/application/views/theme0/index.htmlfile to create
system/application/views/my_theme/index.html, for example).
system/application/config/Fl_viewconfig.phpfile, add your own "View" subdirectory in the
$config['Fl_view_dir_list']variable. For example,
$config['Fl_view_dir_list'] = array('', 'theme0/', 'my_theme/');
Once you have created your own set of "View" files, do not forget to adapt them when you apply a FladsClassifieds upgrade.
FladsClassifieds allows you to customize the "View" files used for posting/editing an advertisement and the "View" files used to display advertisement list and advertisement details.
Those files are the following:
system/application/views/Fl_ads/post1.php(used to display the post/edit an advertisement form)
system/application/views/Fl_ads/post2.php(used to display the post/edit an advertisement form)
system/application/views/Fl_ads/post3.php(used to display the post/edit an advertisement form)
system/application/views/Fl_ads/ads_body.php(used to display the list of the advertisements in a category)
system/application/views/Fl_ads/ads_details_body.php(used to display advertisement details)
In addition, 2.), 4.) and 5.) can be made specific to a
category. For example,
system/application/views/Fl_ads/ads_body_75.php will be used only for category whose ID is 75.
Note:Category specific "View" files are considered first. For example, suppose you have set your "View" files in the
system/application/views/my_themedirectory. Then, when FladsClassifieds displays advertisements for category whose ID is 75, it will search the "View" files in the order shown below and it will use the first file it finds:
Note:If a "View" file in the default "View" directory (
system/application/views/Fl_ads/) suits you, you do not have to copy it in your "View" directory.