Change/rename Drupal 7 overlay tabs - php

I am having a task where I should change overlay tabs the way it appears/ rename the tabs that appears on a node edit (please have a look on this screenshot http://bit.ly/VIMMXK)
I should not have the "Edit" on the overlay
The "view" should be renamed to "View (content-type)"

Tab Tamer module lets you change the name of different tabs on the drupal site. It also allows to to disable or hide tabs.

Related

Add item to "Add menu items" section in wordpress

I am developing a wordpress theme. In the "Menus" there is a section:
How can I add an item to this programmatically? is it possible?
Update:
If that is not possible, how can I add "icon" and "open in new tab" options.
I've searched a lot but didn't find anything. Can anybody introduce a source?
You can enable the Link Target and CSS Classes options from the Screen Options avaible in the top-right of the menu admin area. Link Target is a checkbox that provides the option to Open link in a new tab. CSS Classes is a text-field that you can use to add your custom CSS class. You can then display your icon using CSS.

Lightboxed image with social overlay

I've created a filtered gallery with a plugin called GoGalleryPro for Wordpress. When you click on an image a lightbox opens showing the image.
Whilst the lightbox active i'd visible to be able to have social icons in the bottom left corner.
I've tried a couple of plugins and tried to write a snippet of code myself by no joy. Any guidance would be great!
Here is the link to the page in question;
http://176.32.230.43/wjwhites.co.uk/congress/
I like to use http://dimsemenov.com/plugins/magnific-popup/.
You will be able to add custom html within the pop up window.

Joomla 3+ how to make artcile title as a panel

How to make joomla 3 article title to be shown as per like in attachment.
Looking for any module or css to do that.
Panel Title
You can do this with CSS, in this case you need something called ribbon.
First you need select the Title for the Article, add a background color and then the ribbon code, you can inspect the source code of your page with some inspector tool like Firebug or similar, a tool like this will be of great utility, don't forget to add your custom CSS in your main css file.
Here you have two examples:
CSS powered ribbons the clean way
How to Create CSS3 Ribbons Without Images

How to add custom html-code to Joomla 2.5 menu items?

Situation: I have old site Agroteplica based on Joomla 2.5. I need to add custom html-code to menu items (for example, icons, or bold). I need unic icon for each menu item, so it's no use to edit php-template of page.
If I try to use html-code in menu item header - Joomla clear it, only text remains. I tried to find some manuals, and added line filter="raw" to file modules.xml:
<field name="title" type="text"
description="COM_MODULES_FIELD_TITLE_DESC"
label="JGLOBAL_TITLE"
maxlength="100"
required="true"
filter="raw"
size="35"
/>
But it didn't give any effect either.
Question: what I need to do to make it work? :)
Here is what Joomla provides for cases like this:
In Menu Manager -> Menu Item Edit
Editing each menu item, you will see the "Link Type Options" section at the right column.
See screenshot:
As you see in the screenshot, this group of settings contains the follow options:
Link Title Attribute : You can add your custom Title attr to the menu item's a tag.
Link CSS Style : You can add a custom css class for this menu item's a tag.
Link Image : You can add a custom image for this menu item.
Add Menu Title : If you add an image, you can choose to hide the Title of the link (setting = No), or choose to show both Image and the title (setting = yes (default)).
For you case, you can either choose you custom images-icons that should be displayed next to your menu items title. If you want bolds or other styling options, you can add your custom css rules to the items you want, and then add your css styles at your template's css.
For example you have decided that for some of your menu-items you would want their text in bold. Then you could do as follow:
1 .Give them a css class to all of them, in the Link CSS Style field: e.g. 'bold-items' (without the '').
2. Open your template's css file with a plain text editor and add the following rule at the end of the document:
.bold-items {
font-weight:bold;
}
Notice: The above settings might have no effect at all, if you are using a 3rd party menu module, or your template contains overrides for the default menu module. In such case you will need to add further template overrides for the menu module in use, in order to implement the above settings.
*Not sure what you mean with menu item header and how you did try to add html-code to it.
*Update / Answer to your comment:
You never mentioned about video in your question. You asked about adding icons and making text bold. What do you mean with headers and what kind of code and where are you trying to insert it? Are you aware of what is involved in the process from the moment you create menu items in the menu manager till you see those in the front-end of your website?
Following my answer above and assuming you have basic knowledge of the workflow (menu module, template overrides, css) you will be able to add images/icons or custom styles for each menu item. If you want to have video inside your menu, then you...
... will need a more sophisticated menu module. These are called Mega Menus and allow the user to display various types of content inside their menus, like modules, in various ways. You should either install a such module or create one on your own.

Magento Home Page Check Out Link Change

On a Magento cart I want to change the link on gray checkout button on the front page. I'm not sure in which directory is the file and were to change it.
You'll want to enable template paths. You may want to use Firebug or Google Chrome's inspector for more markup inspections, as well.

Categories