I know this is an old thread but I just wanted to clean it up and show how to achieve this with a template modificatin.
Create a template modification on "forum_view"
Search:
<xf:foreach loop="$threads" value="$thread">...
Thanks mate, appreciate the reply and makes sense. I guess for me there are a bunch of settings that relate to the addon so was hoping to have them all in there to minimize the locations you have to go to in order to configure the addon. It makes it easier to do it this way however, so might...
Hi All,
I am setting up a new addon that takes over certain page nodes. I want to be able to allow users to select a node in a select box, and then next to it select multiple other items from a multiple select list to link to it. This should then save as an array in the options.
The other...
I have some things that operate off of custom fields. I changed a custom thread field from numeric and made as whole number to unchecking that box and started getting this error. I can't seem to find where or what might be causing it. I changed the thread field back by rechecking the box and the...
I am using postman to work with the API. In doing so I am trying to create a new thread.
When I POST to the thread endpoint it returns a list of threads rather than adding a new thread.
- API Key and scope
# thread:read
# thread:write
Request type: http/ POST
Endpoint: api/threads...
I added a new field to see if that would work, and this updates in the same process correctly if I have the following line directly under it
$theThread->custom_fields->set('otbETS', time(), 'admin', true);
THe field has the exact same settings
Hi all,
I have a series of custom fields that get updated during a specific process All fields but one continue to get updated and I can not figure out why.
The code I have is
//Update thread details and close thread
$theThread->custom_fields->set('otbOrderState', 'bin', 'admin'...
Hi,
I have the following code in my controller class (extends abstractContrller as this is a custom controller)
if($params->slug)
{
return $this->rerouteController(__CLASS__, 'actionView', $params);
}
Then I have the public function inside that class...
Hi All,
I have an addon I am writing that elevates users based on conditions to a specific secondary user group. Once they perform a certain action I remove that permission or group from them.
Basically if they visit a certain page and match criteria X they get a new user group. That page is a...
I am building a system for a very specific use case where users attach to a parent account, kind of like employees of a business.
All posts have to be on behalf of the business account, and not the individuals, though some content is drawn from the profile of the employee, like name, phone...
Hi,
I currently have one node setup which has children nodes. When I go into that node, they are listed in a stack rather than in the grid layout that I have elsewhere.
I was wondering if there was any easy way for me to change this to make them appear in a grid layout the same as on the...