How to display default menu in zen's sub theme - menu

This is my second question about drupal. I can not add blocks to my page because i'm working with a custom page. So I would like to display a custom menu in page.tpl.php file. Is this possible? If so the let me how to do it in my sub theme.

Blocks are inserted into regions, then regions are printed in the page.tpl.php.
Here you may find useful info: Theming Guide

Related

How to implement scroll to a section/fragment on click in Liferay?

I want to implement scrolling to a particular section on click in Liferay, but I have no idea how to add functionalities in Liferay.
I have created a page using multiple fragments and in the top of the page I have headers of the sections and on click of a header the page should be scrolled to that particular section.
Attached page screenshot link below for reference
The easiest way to scroll to some place on the page is to place an anchor there, e.g. with <a name="scrollTarget"/>. In your navigation, you'll just link to this by Scroll to Target and you're set.
Of course, this can be done a lot fancier, with an animated scroll etc, but the basic start is this. There's nothing Liferay-specific hidden here - pick any of the more fancy methods, create fragments with the proper markup, and make sure they're used on your page.

Sharepoint 2013 - Remove [2] from webpart Title

My Home page with all the webparts has a number in brackets after the webpart title.
How can I remove this?
Ok, I found a solution.
Stay at the page that you can see "XXX [Number]"
Click the "Page" button at the top-left corner
Click the "Edit Properties" button
Click the text(possibly blue) "Open Web Part Page in maintenance view"
Check the duplicate web parts you want to remove and click the "delete" button above.
(If you are NOT sure which are the web parts you want to keep, please delete them all and re-add the web parts you need. Otherwise, you might end up with some white space on the web part page.)
The number gets added because you have multiple web parts configured with the same title. You need some change on the webpart's title to make the [2] disappear.
Alternatively, you might want to hide the webpart's title. Edit your webpart, expand the "Appearance" section, and select the option "None" on the "Chrome type" dropdown.
This was driving me nuts too. Follow the steps here for the steps to delete it through the webpart maintenance page:
http://www.spdeveloper.co.in/tipsntricks/pages/opening-webpart-maintenance-page.aspx
Add a space after the title, this way you can use the same title for multiple webparts.
Of course you should delete the "extra" duplicate web parts using the same title if they aren't visible on the page. But it's not unusual to want the same title showing for different web parts. In that scenario, a simple fix is to add a space after the title in the Appearance section of the duplicate web part's properties. If there are multiple web parts with the same title, just add more spaces. SP will treat the titles as unique.

Hiding Menu System

I'm looking for some code on how to create a hiding menu. Basically I'd like to have four links in a horizontal menu. When you click on a link I'd like it to hide the others perhaps above or below to provide a text box. This box would also have information in it that we be inputted by the designer only.
I have a link to preview a template for an example below:
http://www.graphicalwonders.com/archives/brian/Homepage.jpg
jQuery UI -
Accordion API -
Viral Patel
Check out these links for examples of Accordion menus. I find the Viral one to be easier to use, however the jQuery UI & API explain more in detail how it works.

Sharepoint search button customization

I am working on SharePoint Branding project, where i need to change the whole sharepoint look and feel according to Clients design guidelines/Visual Designs.
happy part, most of the branding is done but still i am facing problem with SEARCH BUTTON of sharepoint. Ia m not able to replace this default button with my designed button.
any direction ll be great help
What we did was replace the delegate control of the search button with our own, using a feature. In that feature we specified our custom image for the button.
This might help - http://labs.steveottenad.com/reskin-restyle-a-sharepoint-2010-search-box/
When we customised the search box we hide the default img for the search button using css and replaced it with a new background image.
You can't replace the default button with you own search button. You can however customize it to your needs using CSS styles. I have done the same thing. You can create your custom style to override the styles from the corev15.css file.
Create you custom styles css file, reference it in your page layout and just use it.
Hope that helps.

Changing the look of MOSS 2007 DropDown navigation menu

How can I completely change the look of the TopNavigation dropdowns in SharePoint 2007?
Basically I need to change the look of the div popup that gets display. I need to use Javascript to do this, so just changing the CSS for the menus won't work.
Grab a copy of the MossMenu code the MS team released, implement and override the render with your own code. Peasy
Telerik has a few pages that show you how to use their controls instead of the the dropdown menu in MOSS. The directions start here http://www.telerik.com/help/aspnet-ajax/moss-overview.html
Please take a look at Heather Solomon's Blog for MOSS 2007 CSS reference. You will most likely get want you want out of that.

Resources