I am able to remove MyTasks and My workflow from the dashlet how to remove it from the header? I removed from the dashlet by editing my-tasks.get.html.ftl. But how to remove from the header menu. Which file should I modify. I am using 4.2e community edition
The 4.2.e uses the new Dojo based header. The share-header.get.js is the file you are looking for. Read up on Dave Drapers blog posts on the subject.
http://blogs.alfresco.com/wp/developer/2013/09/04/customizing-the-share-header-menu-part-1/
All the menu definitions can be found in the file share-header.lib.js
The one you want to hide has the id: HEADER_TASKS.
Related
I want to have a template when people from support group want to add bugs.
Here is an example (https://github.com/photonstorm/phaser/issues/new) in GitHub that I want to implement in Phabricator if possible.
Phabricator supports customizing forms, including the 'create task' form. There are a couple of ways to go about it and they are covered in the documentation.
The simplest way to customize forms is to provide default values in the URL for the links you provide, for example, say you link to the bug submission form from your documentation. You can supply the template text as part of the link itself. This can result in long ugly URLs but that can be masked by using a url shortening service.
I'll use Wikimedia's phabricator as an example of how this works. If you want to make a link to the create task form with your template text pre-filled, you construct a url like the following:
https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?description=[insert template text here]
The other way to do this, which doesn't require you to store the template text in the url, is to edit the form and specify a default value for the description field. Editing forms is covered in the phabricator upstream documentation so I won't go into that, instead I refer you to the documentation section under the heading creating new forms.
On the main page of my drupal 7 website I have a a block called "active forum topics. At the moment only the topic title is shown in the preview:
Is there a way to modify this block? I want to add more content to this block like author of the topic, related forum, date/time, maybe number of posts.
Thanks in advance
Well I actually have an answer for this, after looking to do it myself, I found the "view" for the "Active Forum Topics" page (the forum tab page that generates active forum topics). From that view I added a block, which now allows you to create a block from that existing view - with whatever items you want in there.
Assuming you are using advanced forum - this view is at: admin/structure/views/view/advanced_forum_active_topics
Where is says "displays" click the (+add) button and choose block. From there it is pretty straight forward if you know how to use views.
On our dev site, I'm experiencing issues with WordPress and how it's suddenly handling Media Attachments. When I upload Media (such as an image) inside a post, it's creating another Post (as a Draft) that simply references that media. Also, any changes to that piece of Media (in the Media Library) results in another Post.
For example, let's say I am writing a post about Mark Twain. If I add an image of Tom Sawyer and Huck Finn, it will add it to the post fine. No problem. The issue is when I go back to the Posts Dashboard, I'll see Draft Posts called Huck_Finn & Tom_Sawyer. These will be empty, uncategorized drafts without any content. It also appears to create a new post whenever I modify that piece of Media in the library. For example, if I were to have renamed Huck_Finn and Tom_Sawyer to Huck Finn and Tom Sawyer, I'd see the following in the Posts Dashboard: Huck_Finn, Tom_Sawyer, Huck Finn, Tom Sawyer.
From looking at wp-admin/includes/post.php - line 197, the comment indicates that the parent was forced into existence (via a draft) because the attachment needs the parent to to have a valid id to associate with.
I started deactivating plugins and it looks like it was a problem that was caused by the Content Audit plugin. wordpress.org/extend/plugins/content-audit
I am looking to add separate buttons that will be displayed at the top of the view that I am creating in Drupal.
So far all the fields that I have added appear inside of the table as they should. The only thing that shows outside of the table is the search filter above (as it should).
I would like to add 3 buttons(links) in a row that are positioned above the table and below the search area.
Is there any way to do this in Views? If so could someone describe the process? Thanks!
The most straightforward way to do this is through the theme layer. Edit the view, and go into the Header option under Basic settings. There, you can put in your custom HTML for the buttons.
However, as you might've noticed, this places the header above the exposed filters, whereas you want the header below them. To do this, go into the Theme information option under Basic settings, and find the Display output section.
There, you'll see a list of file name hints. Create a file within your theme using one of those filename hints. Then, click on Display output: you'll receive the default code you'll need to put within your newly created template file.
You'll notice in this new template of yours that the $header code block is before the $exposed code block. Just switch the positions and save your template. Back on the view configuration page, click on Rescan template files, save your view, and the header you've added will now be below the exposed filters.
I am new to drupal, so sorry for this noob question, but I was wondering how to display articles only in the central column. Currently there are also blog entries, etc and I would like to get rid of them. I have a Views plugin installed but I am not sure how to do this.
In your View create a filter for Node: Type. Here, you can tell it specifically what kind of content to show.
you can change your frontpage settings in admin/settings/site-information
so let's say you created a view - with a page display
set the page url of your view (eg. articles), and then in your settings (the path i mentioned before) you set the drupal frontpage to the page path of your view (that would be 'articles')
i hope that's clear enough for you