How do I change the start site in liferay? - liferay

I need to change the title of the start page (e.g. "liferay"). I also need to delete the 7Cogs Inc pages from the "go to" menu. And is there a portlet for letting users register at the portal?

All administrative tasks can be handled in the Control Panel.
For deleting sites you can use the Sites panel. Simply find the Site you wish to delete and hit "action" then "delete".
Though renaming the landing site is a bit different, for that you'll have to head over to the "Portal Settings" panel and change the Name.
I would also suggest beginning with a clean database and to remove most of the bundled plugins in tomcat/webapps/. Typically, I remove all the folders except for ROOT (required for Liferay) and tunnel-web (required for web services). Doing so will allow you to start with a clean Liferay without all the default 7Cog content.

Related

How to check which user changed SharePoint Intranet site?

We have a SharePoint intranet, was accidentally changed by user significantly:
The fonts and styles are all wrong.
The menu from the Settings Cog on the top right corner also has different font styles.
I have just now locked down users permissions, so that only admin users are allowed to change, ordinary users should have read only access. It is a bit too late.
Questions:
Where could the user made the change?
What is the best way to reverse the change?
Can I find out who made the change?
Thanks
There are a few things the user could have done:
Change the "theme" of the site. This is most likely the case if the changes are only applied to one site/subsite, and not your entire site collection. This can be changed back by clicking on the gear, selecting "Site Settings", and then clicking on the "Change the Look" link.
Change the master page for the site. This can be changed back to the default by going to Site Settings again and clicking on the "Master Page" link under Look and Feel.
They EDITED the existing Master Page. This would have bee done through SharePoint Designer, and would need to be fixed through SharePoint Designer. (Find the Master Page in the Master Page Gallery, right click on it, and then select "Reset to Site Definition".
They simply applied a custom stylesheet. This can be reverted to the default by again going to Site Settings, and clicking on the "Master Page" link under Look and Feel.
(In SharePoint 2013, you can actually revert the theme, css, and master page all from the "Master Page" link in Site Settings.)

Deleting document and list libraries

Running WSS 3.0 and I've been given full access to sharepoint. I'm working on a lean initiative to clean up SP and delete old/outdated libraries from the site or at least from the main page. I've been able to get into quicklaunch where it gives me the option to remove it from quicklaunch but it's still showing on the front page. I've also found the button that lets me delete the document library but all it does is delete all the content. The link is still on the front page but when you click on it says something about the link being broken.
I'm on my own with this project and I'm not part of the IT team but I need to be able to delete document libraries and the content. Or at least edit the front page to remove these links.
I've found a lot on the internet about powershell and sharepoint designer but I don't have either of those and I'm not sure if I'd be tech savvy enough to use them. Please tell me there is some secret button I can hit to remove the useless libraries.

How to remove My Pages and My Submissions from Liferay Control panel

I'm currently working on a Liferay project and want to get rid of the My Pages and My Submissions menu items on the right side so that users of my site do not bother with them. Tried looking for the jsp that renders the left side menu, but could manage to remove the item from there. Any ideas how to proceed? Thanks!!!
You could add the following lines to your portal-ext.properties (usually found in webapps/ROOT/WEB-INF/classes under tomcat):
#deactivate Personal Community with *private* pages
layout.user.private.layouts.enabled=false
#deactivate Personal Community with *public* pages
layout.user.public.layouts.enabled=false
#hide Personal Community from my places
my.places.show.community.private.sites.with.no.layouts=false
and restart the server.
Recently I had the same task assigned. Fortunately removing this items from the menu is quite straightforward since the control panel is nothing more than a special layout for displaying portlets that are deployed in the portal server. You can read my blog post here to check the simple steps on how to customize the Control Panel and My Account portlet.
http://liferay.bdedov.eu/2012/02/clean-up-control-panel-from-unnecessary.html
You probably rather want to limit the permissions to people. Don't give out global administration roles, but create your own roles, "Define Permissions" for them as you need them and leave out the permissions that you don't want to provide to your users - e.g. "access in control panel" or the general permission to add a page.
Otherwise you'll miss other ways to use the interface and still allow them to add pages through other means (e.g. "Manage/Page").
Edit: The easiest way to get rid of "My Submissions" is to undeploy the workflow plugin (kaleo-web) - of course you can only do this if you don't need workflow.

Upgrade page layout with sharepoint feature

I use sharepoint 2010. I have a feature which contains some pages layout. When the feature is activated, page layout are applied. But when I deploy a new version of this feature with a new version of pages layout, page layout aren't take into considerations because they have the same name.
How can i do this ?
Your page layouts won't update because they're unghosted, i.e. customized in the Master Page Gallery.
It has nothing to do with the files having the same name unless you've explicitly set IgnoreIfAlreadyExists to FALSE in your elements.xml in the feature.
If your solution doesn't contain any important pages yet (development server or otherwise), the simplest solution is the following:
Delete the page layouts, (making sure no pages reference the page layouts in question, else you won't be able to delete them.)
In Central admin, uncheck "Allow Site Collection Administrators to Customize Master Pages and Layout Pages" ( see http://blogs.msdn.com/b/steve_fox/archive/2010/03/08/ghosting-unghosting-in-sharepoint-2010.aspx for details).
Redeploy your solution
See also http://blogs.technet.com/b/wbaer/archive/2007/08/10/ghosts-in-the-machine.aspx for a thorough explanation of ghosting and unghosting in SharePoint
Hope this answers your question.

show administration theme when editing page in drupal

I am using a custom theme for the front end of my drupal website.I created it by modifying garland theme.And I am using garland as the admin theme.
When I try to edit a page from admin it shows the edit page with my custom theme (http://example.com/node/2/edit?destination=admin%2Fcontent%2Fnode). And It breaks up the layout.
I want to show the admin theme for all the admin tasks. This problem also occurs on the blocks page (http://example.com/admin/build/block).
Is there any custom module or core hack to show admin theme when editing pages.
If you want to use admin theme by non-admin users you must give permissions to that user: Permitions->System->View the administration theme
Be sure that you check the option in the page example.com/admin/settings/admin
To get the admin theme showing for non-admin users, I went to admin/people/permissions/list and checked the "View the administration theme" box for all roles.
Sounds simple except that the Filter list wasn't showing that entry when I typed theme, so it took me awhile to find it. Finally I used the browser find to find all instances of the word "theme".
Or, you could type "System" in the Filter list to show only a few options in the relevant category.
You can use admin theme module, download and install it , the go to permission in dmin/people/permissions then in Administration theme set permission to waht user you want by checking Access administration theme.
Then goto http://chapboo.com/admin/appearance in bottom of the page in custom page add
admin/*
node/add/*
node/*/edit
and finally clear the cache
You have to check the checkbox under:
exemple.com/admin/appearance

Resources