-----------
ErrorException: Fatal Error: Cannot redeclare class Waindigo_Library_DataWriter_Article_Base - library/Waindigo/CustomFields/Extend/Waindigo/Library/DataWriter/Article.php:770
--------------------
Call stack from the console :
Call Stack
{main}( )../index.php:0
XenForo_FrontController->run( )../index.php:13
XenForo_FrontController->dispatch( )../FrontController.php:134
Waindigo_CustomFields_Extend_Waindigo_Library_ControllerPublic_Library->actionAddArticle( )../FrontController.php:337
Waindigo_Library_ControllerPublic_Library->actionAddArticle( )../Library.php:96
XenForo_DataWriter::create( )../Library.php:315
XenForo_Application::resolveDynamicClass( )../DataWriter.php:2012
XenForo_Application::autoload( )../Application.php:514
XenForo_Autoloader->autoload( )../Application.php:1000
======
Request state
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Etat de la requête
array (size=3)
'url' => string 'http://localhost:8888/xenforo/libraries/cuisiniers-staff.57/add-article' (length=71)
'_GET' =>
array (size=0)
empty
'_POST' =>
array (size=12)
'prefix_id' => string '0' (length=1)
'title' => string '' (length=0)
'message' => string '' (length=0)
'_xfRelativeResolver' => string 'http://localhost:8888/xenforo/libraries/cuisiniers-staff.57/create-article' (length=74)
'attachment_hash' => string 'e5b1f3ad6db53ecb5cf861b6320f4279' (length=32)
'summary' => string '' (length=0)
'custom_fields_shown' =>
array (size=6)
0 => string 'avertissement' (length=13)
1 => string 'domaine' (length=7)
2 => string 'domaines_secondaires' (length=20)
3 => string 'nom' (length=3)
4 => string 'waindigo_select_library' (length=23)
5 => string 'waindigo_select_library' (length=23)
'custom_fields' =>
array (size=4)
'domaine' => string '' (length=0)
'domaines_secondaires' => string '' (length=0)
'nom' => string '' (length=0)
'waindigo_select_library' =>
array (size=1)
...
'_xfToken' => string '********' (length=8)
'_xfRequestUri' => string '/xenforo/libraries/cuisiniers-staff.57/create-article' (length=53)
'_xfNoRedirect' => string '1' (length=1)
'_xfResponseType' => string 'json' (length=4)
Bug fixes:
- Fixed "Cannot redeclare class Waindigo_Library_DataWriter_Article_Base" error when trying to create articles with Library by Waindigo.
- Changed callback execution order of user field data writer in XenForo 1.2 to improve compatibility with other add-ons that might want to extend it.
<dl class="ctrlUnit customFieldEdit{$field.field_id}">
<dl class="ctrlUnit customField Edit{$field.field_id}">
Depends on what type of field. For thread fields, you can set it as required in the node edit screen.How do I make a field mandatory?
Thanks!Depends on what type of field. For thread fields, you can set it as required in the node edit screen.
Added support for attachments to be uploaded with PHP callback custom fields.
So how do you get thread fields to show up below the actual post? I am trying to create an author bio section below the library post and nothing shows. It will show within the post but not below. I can understand this in a custom post field but a thread field should be available anywhere on thread view. No?
Post fields can display below the post by editing the post footer (you can do this when you edit the node).
We use essential cookies to make this site work, and optional cookies to enhance your experience.