Brothersoft.comWindows|Mac|Mobile|Games

|Message

Solve software problem quickly Share experience to help others Improve the ability of solving problem
How to Change Titles in an Ubercart Cart

10/20/2011 01:16 by LindaRodrigues

First answer posted by JoeStewart at 10/20/2011 01:16
Add Your Answer
10~1000 characters in length CAPTCHA:
2 Answers
  • JoeStewart
    1. Open the file server from the back-end of your website and scroll down until you see the file labeled "uc-cart.module".

    2. Choose this file to make edits to the title of the module page. When you click on this file it will take you to a screen that shows the XML scripts for the Ubercart cart.

    3. Scroll down to line 147 of the scripts where you should see " 'title' => t('Shopping cart')" and change the word "Shopping cart" to the new title.

    4. Save the file and return to the file server.

    5. Scroll until you see "template.php" and click on this file to open the script in a new window.

    6. Find the term labeled "uc_cart_view_form" by clicking Ctrl+F (Apple Key + F for Mac users) and typing this into the form.

    7. Add the following code directly below the uc_cart_view_form function:

      ""

    8. Save the file and return to the back-end of your website. You have now changed the module but you still need to change the shopping cart block to render the changes fully.

    9. In the domain search bar at the top of your browser type in "http://www.yourdomain.com//admin/build/block/configure/uc_cart/0". This will take you to a new page to edit the cart block.

    10. Edit the fields labeled "Block Title" and "Cart Name" to the new title you want for your Ubercart cart.

    11. Choose the save button at the bottom of the page. You can now go to the front-end of your website to view the changes and make edits as needed.

  • Was this answer helpful? 00 · 10/20/2011 01:16
  • Anonymous user
  • that's just stupid, you should never ever hack a module.
  • Was this answer helpful? 00 · 12/14/2011 23:41
Add Your Answer
10~1000 characters in length CAPTCHA:
Related Questions
Q:How to Prevent Bad User Names in Drupal

A: Sign into your website home page. Choose the "Administer" link to enter the administration section. This module allows you to control site f...(more)

Q:How to Create a Bulk User Folder for Drupal 6

A: Download the User Import module on the Drupal website. Extract the file. Log in to your website using an FTP client, then navigate to the "s...(more)

Q:How to Use Modules in Drupal

A:Install Modules Using the Drupal 7 Interface Log in to your Drupal site and click Modules at the top of the page. You will see a list of all...(more)

Q:How Do I Know What Version of Drupal a Website Uses?

A: Type the website's URL into your browser's address bar. Type /CHANGELOG.txt after the site address, being sure to use uppercase for th...(more)

Q:How to Block Cron.php in Drupal

A: Sign in to your Web host's online file manager to access the files on your server. Navigate to the folder your Drupal installation profile r...(more)

0 people are following

Ask a question now
Write a title for your question

Norton Ghost

It protects PCs including settings and files with advanced backup and recovery.
Latest version:15.0
License:Shareware
OS:Windows 7/Vista/XP
Total downloads:297,302
Rank:2 in Data Backup
Download It

Share with friends

New features is coming

  • 1. Providing high-quality answers to be a verified Q&A expert
  • 2. Ask and answer questions to get Brothersoft credits

Added Successfully!

×

Are you sure to delete your answer?

NoYes

×

Are you sure to choose it as the best answer?

NoYes

×

Voted Successfully!

×

You can't vote for yourself

×

You can't choose your own answer

×