Osclass forums
Development => Plugins => Topic started by: _CONEJO on September 08, 2011, 08:21:29 pm
-
Hi,
We wrote a tutorial on how to create an attributes plugin to extend the ads' fields, ie. add extra fields and filter search results with the new fields.
http://doc.osclass.org/index.php/How_to_extend_fields
Please, check it out and post your questions and comments here.
-
This is huge!
Thank you!!!
-
Hello!!
I have one idea for the plugin!
In my site I add a Pagseguro Gateway of Payments… so the users can sell itens in my classifields!
Demo:
http://www.clikclasshelp.com.br/associacoes/pedido-de-ajuda_160
The user enter a emails login of Pagseguro when publishing the iten and can sell!
Now Need to create a interface for the users and merchants...
-
getting payed to market pagsecuro??
-
:P Thank you so much!!!
But I have a question : how can i show my field in the item page?? Thank you!
-
Hi All,
Thanks a lot for this tutorial/plugin. I have learnt a lot from it.
I am seeking help to get the s_myfield data from this plugin included in the title on the item page.
For example, the current code in the Modern theme/ item.php includes:-
"<div class="content item">
<div id="item_head">
<div class="inner">
<h1><?php if( osc_price_enabled_at_items() ) { ?><span class="price"><?php echo osc_item_formated_price() ; ?></span> <?php } ?><strong><?php echo osc_item_title() . ' - by ' . osc_item_field("s_description", $locale) . ' - ' . osc_item_city(); ?></strong></h1>
<p id="report">........."
So I thought I could include my new field into the title with something like this:-
<h1><?php if( osc_price_enabled_at_items() ) { ?><span class="price"><?php echo osc_item_formated_price() ; ?></span> <?php } ?><strong><?php echo osc_item_title() . ' - by ' . osc_item_field("s_myfield", $locale) . ' - ' . osc_item_city(); ?></strong></h1>
But this does NOT work.
Any suggestions welcome please.
-
Thank you!
It's possibile to extend the search on the extra fields created?
-
This plugin supersedes any attribute plugins. There is no longer any need to create plugins that are specific to a category (like cars, horses, bikes)
Enjoy! :)
http://forums.osclass.org/plugins/%28new-plugin%29-custom-attributes/
-
Hi,
We wrote a tutorial on how to create an attributes plugin to extend the ads' fields, ie. add extra fields and filter search results with the new fields.
http://doc.osclass.org/index.php/How_to_extend_fields (http://doc.osclass.org/index.php/How_to_extend_fields)
Please, check it out and post your questions and comments here.
Hello. Did you test each option from Custom fields?
I am using Bender and for instance Type Radio is radio when you create a new listing but in search it shows as dropdown?
Checkbox is even worse. You can't select checkbox and then show options like accommodation facilities (TV, Shower, wireless etc) so that users can select multiple values when searching.
Or do i miss something?
-
This plugin supersedes any attribute plugins.