Hello,
In knowledge base module, I want the publish date field to be added to
Edit and Details layouts of Articles.
as there are no Edit and Details layouts for knowledge base in Studio,
can you please advice how I can add those fields?
Thanks,
Inas
Hello,
In knowledge base module, I want the publish date field to be added to
Edit and Details layouts of Articles.
as there are no Edit and Details layouts for knowledge base in Studio,
can you please advice how I can add those fields?
Thanks,
Inas
Since KB works in legacy mode still you would have to manually edit the modules/KBDocuments/EditView.html and EditView.php files. Same with the DetailView.html and DetailView.php files.
Kenneth Brill - Help Forum Moderator
I do not respond to 'Private Messages'. Please email me directly instead
When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
Help us Help You
I just discovered that KB wasn't in studio as well (version 6.4).
Any guidance on what's required to modify a legacy mode template?
Do you only need to modify the .html file or are changes also required to EditView.php.
An example of how to add a checkbox field would be great. In looking at the code it doesn't appear to be as simple as changing the label variable and field name.
I have a checkbox called is_support_wiki_c which designates whether it's ok to display on support wiki or not.
Below is the code for the enterprise option of Is External Option. The parts that are bolded I'm not sure what i'd put in there.
Code:<td width="15%" scope="row" colspan=1>{INTERNAL_HTML} <span sugar='slot3'>{MOD.LBL_IS_EXTERNAL_ARTICLE}</span sugar='slot'> </td> <td width="35%" ><span sugar='slot3b'> <input name="is_external" id="is_external" tabindex='1' onclick="SUGAR.kb.externalChecked('{DEFAULT_TEAM_NAME}','{DEFAULT_TEAM_ID}');" class="checkbox" type="checkbox" {IS_EXTERNAL_ARTICLE}/></span sugar='slot'> </td>
Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)
My SugarForge Projects:
Email To Sugar - Archive emails in any mail client by adding a BCC line.
Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date
www.blakerobertson.com
You are going to have to edit both to add a field to a view. You would move both files to the custom directory (custom/modules/KBDocuments/EditView.html and custom/modules/KBDocuments/EditView.php)
Kenneth Brill - Help Forum Moderator
I do not respond to 'Private Messages'. Please email me directly instead
When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
Help us Help You
Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)
My SugarForge Projects:
Email To Sugar - Archive emails in any mail client by adding a BCC line.
Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date
www.blakerobertson.com
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks