How can we customize the page information menu options on a page in AEM6.1? - aem

When we open a page in touch UI, in the left side we have a Page Information dropdown. In that dropdown, there is a list of different options i.e Open Properties, Start Workflow, Publish Page, Lock Page etc. I need to remove some of them.Let's say I don't want Publish page option there. How can I do that?

The menu items are defined in the following JSP which you need to overlay:/libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp

Related

Displaying the wiki content dynamically beside each image

I want to display images of 10 people on my dashboard, when i hover the image dynamically it needs to display a wiki page to the side of each image related to that person, how do i achieve this in tableau?
Here are the steps after you have a dashboard with your people on one of the charts. My example uses the pesticide list from the most recent #makeovermonday.
In your dashboard, drag the web page object in.
Click the option dropdown of that new object and click Add URL Action.
In the popup place the main portion of your wikipedia url in the box and select your people field which will become the dynamic portion of the URL. Mine is pesticides.
Change Run action on to Hover
Now when you hover on your main chart it will update the web page object with the person hovered on. I just hovered on Atrazine in this image
You will probably have to update your people names to make sure they match wikipedia's url.

Sharepoint 2013 content type form edit

The problem is the folowing:
I have one list that shows up on 6 diferent forms using content types.
I have to show a name for each different form but have no idea how to do it.
I tryed googling but no luck there.
If I had 6 diferent forms I would solve it but i must use this because of the related workflows.
You have 6 content types in one list ? And you want to show some name depending on content type ?
If this is your case then you can add Content Editor Web Part or Script Editor Web Part to default forms (New, Edit, Display). This web part will contain javascript code.
Javascript code on form load will get content type id query string parameter from URL and render necessary name depending on this content type id.
Go to your library, and from the ribbon choose Library Settings
From the Settings page General Settings column choose the Advanced Settings Link
From the Advanced Settings page choose the Yes radio button for the Allow Management of Content Types option, and then click OK
From the Settings page, in the Content Type panel, choose Add from Existing Content Types
From the Add Content Types add the Content Types you want to use on your page and click OK
From the Settings page, in the Content Type panel, choose Change new button order and default content type
From the Change New Button Order page ensure all your content types have the Visible box checked (this makes the Content Types useable in the list) and then click OK
Now go back to your normal list view and from the ribbon choose New Document - you should see all your Content Type forms listed

What is the difference between disable a page and hide the page in the meu into Typo3 CMS?

I am pretty new in Typo3 world (I came from Joomla and WordPress) and I have a doubt related to well understand what is the difference between disable a page and hide the page in the menu in Typo3.
I have create a new test page and I don't want that now it appears in my left main menu.
So I click on the Access tab of this page settings and I tick the Hide (In Menus) "checkbox" so the page exist (I can access and see it using its URL) but don't appear in my main menu.
This is pretty simple but, near to the previous options, I also find the Disable (Page) checkbox. So I have try to tick this checkbox (instead of Hide (In Menus)) and happens something that I did not expect:
My test page appear again in my left main menu (I have no hide it but if I thought that if I disable a page, it is as if this page does not exist, evidently the typo3 operating logic is different from what I expect)
If, in my left main menu, I click on my test page link: the page is open but on the right top corner on the page appear to me the following textual message PREVIEW!
What it mean? I am logged as administrator, maybe the normal visitor can't see the disabled pages whereas administrator\editor see these pages? Or what?
Tnx
Andrea
Disable page = Nobody can see the page. The page is removed from the menu and it can't be accessed with the URL. You see it because you're logged into the backend. That is also why you see the red sticker 'Preview', because it is a preview.
Hide in menu = Page is hidden from the menu and the sitemap, however, it can be accessed with the URL.
Check the following documentation:
http://docs.typo3.org/typo3cms/GettingStartedTutorial/
There is a very short mapping between TYPO3 and Joomla:
TYPO3 "disable" = Joomla "Unpublish Article"
TYPO3 "hide" = Joomla "Unpublish Menu Item"
Cheers,
S.

Wordpress - Show Portfolio Categories

I'm working with a WordPress website and a client wants to show a list of categories in the footer. Unfortunately, it is showing as empty because he has no posts and has set the categories to portfolio items which he wants people to be able to click to.
So, how do I show the portfolio categories in the widget rather than the post categories?
Thanks,
Jack
Probably the easiest way I can think of to get the result that you want without having to resort to changing any Theme Files would be this:
Log into your Wordpress Dashboard
Navigate to Appearance->Menus
Create a new Menu, and (if applicable) enable the Custom Taxonomies for your menu by clicking on Screen Options (top right-hand corner of the page) and ticking your Portfolio's Custom Categories and/or Custom Post Types
Once all of the items you want is in your Custom Menu, save it.
Navigate to Appearance->Widgets
Add the Custom Menu Widget to the sidebar in which you would like your items to appear
Select the Custom Menu you just created, and Save
When dealing with Premium Themes, it would always be safest to stay out of their code and avoid changing anything altogether, so try this approach first. Otherwise, you may have to get your hands dirty and alter some code or contact the Theme Developer.

Hyperlink to Eclipse editor page

I am trying to write an editor for a particular type of file in Eclipse which has multiple pages, just like the PDE editor.
How do I get a hyperlink in the main Overview page to point at one of the individual pages?
I've got the hyperlink drawn but I don't know how to link it to the actual page so that when a user clicks it, the page view changes.
Any ideas?
Follow this recipe:
Create the main page and all the sub pages
Add links
Add HyperlinkAdapter to the links using link.addHyperlinkListener()
In linkActivated() you can switch the page with formEditor.setActivePage(...)