At the moment, the DisqusComments datatype only checks and sets the open/closed status through the data_int field in the database. This should be done through Disqus API to be fully consistent.
DisqusCommentsType::fetchObjectAttributeHTTPInput() to set the right status on the content attribute depending on what the user set in the content edit interface
DisqusCommentsType::initializeObjectAttribute() to initialize the attribute depending on what is default in the content class
DisqusCommentsType::objectAttributeContent() to return the right status
At the moment, the DisqusComments datatype only checks and sets the open/closed status through the data_int field in the database. This should be done through Disqus API to be fully consistent.
Features needed
DisqusCommentsType::fetchObjectAttributeHTTPInput()
to set the right status on the content attribute depending on what the user set in the content edit interfaceDisqusCommentsType::initializeObjectAttribute()
to initialize the attribute depending on what is default in the content classDisqusCommentsType::objectAttributeContent()
to return the right statusDisqusCommentsType::hasObjectAttributeContent()