Home » Drupal
Category Archives: Drupal
Note: These instructions apply to the “Basic Content” content type on our Drupal content management system. This article also assumes that you’ve already uploaded your image(s) to the appropriate “Files (hidden)” webpages and optimized the photo to these dimensions: 238 x 180 pixles.
- Make sure you are logged on and in the editing interface for the content you wish to edit.
- Scroll down to the “Image” menu.
- Select the menu, and being typing in the name of your image (Ex. “peter_shaw_thumbnail”)
- Select the image.
- Optional: Please also set the “Image Alt Text” field, a short description of the image, including relevant keywords.
- “Save” your changes. The image will automatically be pulled into the top right corner of your webpage.
1) First go to your word document and copy the section you would like on your web page:
2) Next open up the editing interface of the webpage you have created and select the Paste from Word Button and paste the material you would like to use into this screen:
3) Click Insert, and your content will automatically be pasted into the body of your web page:
4) You may have to change the adjust the “Format” of the headers to Heading 2. Also, please double check that your links are not broken after you save the new draft of your webpage.
In order to add a new link, select the text you would like to be made into a link, and then select the “Insert/Edit link” button to add the link to the “Link URL” field. You don’t need to worry about completing the other fields in the “Insert/Edit Link” window.
If you’re adding a photo to the top right corner of your webpage, you’ll want to set the width at 238 pixels and the height at 180 pixels.
1) In order to resize your photo, open the photo with Photoshop, then select “Image,” and select “Image Size.”
2) This will pull up a new window and allow you to designate the width and/or height of photo in pixels. At this time, since the width value is larger than the height value, set the height to 180 pixels.
Please note: If the height value is larger than the width value, you will adjust the width to 238 pixels in this step and then crop the image to 180 pixels.
2) We’re now going to crop the width of the photo to 238 pixels. Select the crop tool from the Photoshop tools menu on the left side of your screen.
3) Set the crop dimensions:
- Width: 238 pixels.
- Height: 180 pixels.
This will automatically crop the unwanted area out of your photo. All you need to do is press “Return,” “Save As,” and add it to your webpage!
You can add Facebook Like Boxes to the bottom of a standard webpage or to the right hand sidebar area, like Student Services. To get started follow these steps:
- Click on “Add” in the “Edit Console.”
- Select “Facebook Element” from the list of content types.
- Enter the URL of the Facebook page you want to “Like.”
- Under “Type,” select “Like Box” from the drop down menu.
- Choose the “Layout” option: “Box with Count Above.”
- If you would like to show the faces of the people who like you on Facebook, check the “Show Faces” option.
- If you would like to show the updates from your Facebook page, check the “Show Stream” option. With the “Number of Posts” field, you can also choose how many updates appear within the box.
How do I tag URLs for online marketing campaigns so that we can track their success with Google Analytics?
There are several tags you can add to the end of our www.miis.edu URLs so that we can track online marketing campaigns via Google Analytics, whether these campaigns focus on email, Facebook, LinkedIn, or external websites (grist.org, gradschools.com, princetonreview.com, etc.). You can use the Google URL Builder Tool to guide you through the process.
Please follow the step by step instructions below:
- In the “Website URL” field, enter the web address of the page you would like people to visit after they click on the link or ad.
- In the “Campaign Source” field, enter the source of the campaign such as Facebook, Linkedin, Google, Grist, Gradschools.com, Email (our MIIS Constant Contact account) etc.
- In the “Campaign Medium” field, enter the type of the campaign such as CPC, Email, Banner, Directory, etc.
- In the “Campaign Name” field, name your promotion. Be as specific as possible. Here are some examples…
- Google AdWords: “G:India Search-MBA (English)” OR “G:USA Display-Peace Corps (English)”
- Facebook Campaign: “F:YellowRibbon-MBA USA(English)”
- LinkedIn Campaign: “L: TISP – USA (English)”
- Banner Ads: “FP:Banner-IPS-Sept2011” Note: FP= Foreign Policy
- Email Campaigns: External: “FP:Email-IPS-Dec2011” or Internal (via Constant Contact): “Email:TI-Scholarships-Feb2012”
- Click “Generate URL.”
Here’s a helpful screenshot of the toolbuilder:
You can also use the “Campaign Term” field to differentiate between paid keywords (You would use this feature when tagging URLs on a Google AdWords account.) And you can use the “Campaign Content” field to differentiate between the content of your ads (i.e. the text and photos), if your running two or more ads concurrently about the same product or promo. Imagine two ads about the IEP program on Grist with different photos, or two ads about the Yellow Ribbon program on Facebook with different headline text.
Photos intended for the top right media space of www.miis.edu webpages should be vertically-oriented: the height should be greater than the width. Photos cropped and resized to about 238×260 pixels fit the space best. You can crop photos online with Picnik in under 5 minutes by following the instructions below.
- In Flickr or Picasa, choose the photo you would like to edit with Picnik.
- Click “Crop.”
- Drag the grid over the portion of the photo you would like to keep, usually to reduce the width of the photo.
- Click “Resize” to adjust the height and width of the photo. Change the width to 238 pixels.
- Save your photo.
Photos intended for the top right media space of www.miis.edu webpages should be vertically-oriented: the height should be greater than the width. Photos cropped and resized to about 238×260 pixels fit the space best. You can crop photos in Preview in under 5 minutes by following the instructions below.
- Open the photo you would like to edit in Preview.
- Choose the select tool.
- Highlight the part of the photo you would like to keep.
- Click “Edit,” then “Copy.” (Or Command “C.”)
- Click “File,” then “New From Clipboard.”
- Save your edited photo.
301 redirects help you change the URL of a www.miis.edu webpage without breaking the link. All people accessing the old link will automatically be taken to the new URL.
Please follow these steps to enable a 301 redirect:
- Navigate to the page with the old URL. (Ex. http://www.miis.edu/academics/language/diplomat)
- Take note of the Monster Menu # in the Edit Console. (Ex. 242454)
- Navigate to the webpage’s new URL. (Ex. http://www.miis.edu/academics/language/diplomats)
- Scroll down to the bottom of the page and click “Edit.”
- Within the editing interface, scroll down to the menu at the bottom of the page. Click “URL redirects.”
- Click “Add a redirect to this location,” which takes you to the 301 redirect module on the Drupal CMS admin panel.
- Complete the “From” URL field by adding this line of code mm/(Monster Menu #) (Ex. mm/242454)
- Don’t forget to click “Save.”
Meta-descriptions are text that appears under your title tag in a Google search and, therefore, provide another area to use the keywords identified in your SEO strategies. Meta-descriptions consist of well-written ad copy not exceeding 155 characters. To add a meta-description to one of your webpages, follow these quick steps:
To add a search box to your Frequently Asked Questions webpage in the style of the Admissions FAQs, you will need to use the “Quick Access” content type and also create a Drupal View of your FAQs list.
- Create a new subpage under your FAQs webpage entitled “List of FAQs” or something similar.
- Move your FAQ nodes (i.e. the individual Questions and Answers) to this new subpage.
- Delete any remaining content on your original FAQs webpage.
- Under “Edit Console” in the top left corner of your screen, click “Add,” and choose the “Quick Access” content type.
- Within the editing interface, add your “Title” (i.e. Frequently Asked Questions), “Label” (i.e. Start typing to search the FAQs.), and “Selector.” (The “Selector” for the FAQs Quick Access will always be ‘.question’)
- At this time, you can also add “Opening Paragraph” text and an “Image” so that one appears in the top right media space.
- Save the changes you’ve made.
- Return to the “Edit Console,” click “Add,” and choose “Basic Content.” Within the editing interface, add a “Title” for the content type in brackets [ ] so that it does not appear on the webpage i.e. [FAQs View]
- Here’s the tricky part. In order for the FAQ nodes to appear in one uninterrupted list (i.e. the Drupal View), you will need to add the following line of code in the “Body” text: [view:faqs==(tag)] To create the Admissions FAQs webpage, the tag used in the code was “admissions.” Therefore, this line of code was added to the webpage: [view:faqs==admissions]
- For your FAQs webpage, you will need to chose a tag relevant to your content to generate the Drupal View. Substitute your tag for “admissions” and add the line above of code to the “Body” text.
- Before you’re finished, you will now need to double check all of your FAQ nodes to make sure they have the tag you’ve chosen. If the FAQ nodes are not properly tagged, they will not appear on your new FAQs webpage.