Forum Replies Created
-
AuthorPosts
-
Hazmi
ParticipantHi,
i checked it again and don't see a problem now.. :/ Thank you for your time.
Hazmi
ParticipantHi,
there is no value saved only if i have "std=>0" .. if i have anything else then "0", the value is saved - it's ok?
Hazmi
ParticipantOK, thank you for your support.
Hazmi
ParticipantHi,
i don't know, how i get 0 in DB with 'std' => ' ', but now it's really empty.. :/ Nevermind. Back to my last question. Is there a way to have default value for field "datetime"?
There is basic setting for fields 'std' .. but how it works? For example i have this:
array(
'name' => __( 'URL', TEXTDOMAIN ),
'id' => $prefix . 'url',
'type' => 'text',
'std' => 'test'
),If i don't fill this field and save the post, than this field doesn't exists in DB. I forgot something?
Is there a way to have 'std' setting work with datetime field? If so how?
Hazmi
ParticipantI have this:
array( 'name' => __( 'Show until', TEXTDOMAIN ), 'id' => $prefix . 'show_until', 'type' => 'datetime', 'size' => 20, 'js_options' => array( 'regional' => 'cz', 'appendText' => '', 'dateFormat' => 'yy-mm-dd', 'changeMonth' => true, 'changeYear' => true, 'showButtonPanel' => false ) ),What i have to do, if i would like default (empty?) record in DB (like 0 in switch)? The reason is, that i must query posts with conditional test EXISTS on this field - this is performance issue on larges sites..
Hazmi
ParticipantHi,
fix is ok. (i must resave every post (thousands of posts)) to work with this.
One more question: if i would like to have default value in "datetime" filed, what can i do? If i set "std => ' '" (white space string), i get "0" ind DB - it's ok?
Hazmi
Participant.. and please, it has for me a high priority ..
Hazmi
ParticipantHi,
i'm sorry, but your plugin upgrade with fix this issue didn't work. I don't see 0 in DB (meta field doesn't exist).
Can you confirm this and make a really fix?
Hazmi
ParticipantHi,
i don't see any error in the console.
One more time - i have multiple wysiwyg on the page (in clonable group) - if i have active all "Editor" tabs and save the post - there is no problem, if i try add a new group of fields. But when i have one wysiwyg in the HTML tab and save the post, then next adding a new group of fields have active both "Editor" and "HTML" tabs in the wysiwyg of this group. If i refresh the page, the problem disappear.
Hazmi
ParticipantThanks for Your support!
Hazmi
ParticipantHi, that is not, what i want (if i upload new multiple images at once, i don't want every image drag&drop).
How do that automatically?
Hazmi
ParticipantCan you answer me?
Hazmi
ParticipantI'm using main Meta-Box plugin (latest version), MB Term Meta (latest version) and MB Group (older version with problems as i described .. uptodate version is ok).
Hazmi
ParticipantI solved this problem - MB Group addon was not uptodate, so i tried to install latest version and now it seems it works fine .. :/
Hazmi
ParticipantHi,
i noticed, that there must be a problem or conflict not in MB Term Meta, but maybe in other adddon together with main plugin (meta-box). I'm using a MB Group too - if i deactivated this, problem is done. Have you an idea, where the problem would be?
-
AuthorPosts