Advertisement:

Author Topic: [ Solved ] category field is gone - item-post  (Read 1086 times)

spevoli

  • Jr. Member
  • **
  • Posts: 83
[ Solved ] category field is gone - item-post
« on: March 03, 2016, 10:12:53 pm »
Hello!
category field is gone

urgently need your help!
in a publish item, the category selection suddenly I miss ...
have a screenshot settled ...

item-post.php
Code: [Select]
<?php ItemForm::location_javascript_new(); ?>
    <div class="form-container form-horizontal">
        <div class="resp-wrapper">
            <div class="header">
                <h1><?php _e('Publish a listing''infinity'); ?></h1>
            </div>
            <ul id="error_list"></ul>
                <form name="item" action="<?php echo osc_base_url(true);?>" method="post" enctype="multipart/form-data" id="item-post">
                    <fieldset>
                    <input type="hidden" name="action" value="<?php echo $action?>" />
                        <input type="hidden" name="page" value="item" />
                    <?php if($edit){ ?>
                        <input type="hidden" name="id" value="<?php echo osc_item_id();?>" />
                        <input type="hidden" name="secret" value="<?php echo osc_item_secret();?>" />
                    <?php ?>
                        <h2><?php _e('General Information''infinity'); ?></h2>
                        <div class="control-group">
                            <label class="control-label" for="select_1"><?php _e('Category''infinity'); ?></label>
                            <div class="controls">
                                <?php ItemForm::category_multiple_selects(nullnull__('Select a category''infinity')); ?>
                            </div>
                        </div>
thanks for any help!

regards, spevoli
« Last Edit: March 03, 2016, 10:33:17 pm by spevoli »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: category field is gone - item-post
« Reply #1 on: March 03, 2016, 10:15:12 pm »
@spevoli
I would make sure you do not have any javascript errors on publish site.

spevoli

  • Jr. Member
  • **
  • Posts: 83
Re: category field is gone - item-post
« Reply #2 on: March 03, 2016, 10:19:16 pm »
Hello Frosticek,
see no javascript error

thanks for your feedback

spevoli

spevoli

  • Jr. Member
  • **
  • Posts: 83
Re: category field is gone - item-post
« Reply #3 on: March 03, 2016, 10:20:18 pm »
my site (cancelt)
« Last Edit: March 03, 2016, 11:13:56 pm by spevoli »

spevoli

  • Jr. Member
  • **
  • Posts: 83
Re: category field is gone - item-post
« Reply #4 on: March 03, 2016, 10:32:44 pm »
Hello Frosticek,

it was because of javascript, sorry!
 ... the "accordion script" has caused an error

thanks for the tip! ;-)

best regards, spevoli

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: [ Solved ] category field is gone - item-post
« Reply #5 on: March 04, 2016, 09:32:36 am »
@spevoli
Welcome, it happen pretty often as category selects (multi-dropdowns) are called via javascript.