I've added custom fields from the admin panel and it shows on the ad's details page, but I want to show the listing page on As ok, can you tell me with file / s file, php file, css, or class file requirement. And I do not know PHP coding, but know. Thanks in advance net!
If I'm not mistaken, the listing page is the search page (where the list of items is shown ).
that you will have to look for search or after_search in the / osclass OC- hook / controller / search.php .
You will also need to have a DAO item.
osc_add_hook ('after_search', function) {if (osc_is_search_page ()) {osc_reset_items (); while (osc_has_items ()) your discount information for {$ detail = // osc_item_id () () ($ (Extension $ [[fk_i_item_id '])) {$ result [osc_item_id ()] = $ extension;}} see: newInstance () - & gt; _exportVariableToView ("your_plugin_name", $ result); Osc_reset_items ();}}); Then, in your topic search.php file, you can get your discount information with something like this:
$ discount = __get ("Your_plugin_name"); While (osc_has_items ()) {$ rebates = $ exemptions [osc_item_id ()]; }
No comments:
Post a Comment