logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Bible Basics
Houseplants
Romance Movies
Creativity
Family Travel
Southwest USA
Irish Culture


dailyclick
All times in EST

Full Schedule
g
g Digital Art and Design Site

BellaOnline's Digital Art and Design Editor

g

WebCards Language File Changes


We will continue to customize the WebCards system by making some changes to the text on the pages. This default text can be found in the lang folder of the WebCards system. The file we will work on is the en-gb.php file.

webcards/lang/en-gb.php

As you can see, this file contains a list of variables and the text assigned to each variable. You may wish to review each and make changes to match your needs. As for our example, we will make four changes.

On the front page of the system and just under the header graphic we have two links. The first is a link to this page and the second is a link for picking up an ecard. Both of these together take up most of the width of the page. We can change the "Send A Pamela Gladding Ecard" to "Send an Ecard". We will make the same change for the pickup message. Below this is the message "Choose an Image to Send with Your Pamela Gladding Ecard". This is so long that it covers two lines. We can change this to "Choose an Ecard".

  1. To make the first change, find this line of code.

    $lang['send_a_webcard'] = "Send A {{site_title}}";

    Now we will change the "A" to "An" and replace the {{site_title}} with the word "Ecard".

    $lang['send_a_webcard'] = "Send An Ecard";

  2. To make the second change, fine this line of code.

    $lang['pickup_a_webcard'] = "Pickup A {{site_title}}";

    Now we will change the "A" to "An" and replace the {{site_title}} with the word "Ecard".

    $lang['pickup_a_webcard'] = "Pickup An Ecard";

  3. To make the third change, find this line of code.

    $lang['choose_img'] = "Choose an Image to Send with Your {{site_title}}";

    Now we will change the word "Image" with "Ecard" and remove the rest of the text.

    $lang['choose_img'] = "Choose an Ecard";

Let's refresh the browser to see the changes.

On the send form, the instructions are a little too long. We can change the "Fill in the form below to create your own Pamela Gladding Ecard" to just say "Fill in the form below".

    To make this change, find this line of code.

    $lang['form_create_webcard'] = "Fill in the form below to create your own {{site_title}}";

    Change the code to the following.

    $lang['form_create_webcard'] = "Fill in the form below.";

    Now refresh your browser to view the changes.

http://www.mywebcards.net





Join us in the Digital Art and Design forum.

WebCards screenshots used by permission.

Add WebCards+Language+File+Changes to Twitter Add WebCards+Language+File+Changes to Facebook Add WebCards+Language+File+Changes to MySpace Add WebCards+Language+File+Changes to Del.icio.us Digg WebCards+Language+File+Changes Add WebCards+Language+File+Changes to Yahoo My Web Add WebCards+Language+File+Changes to Google Bookmarks Add WebCards+Language+File+Changes to Stumbleupon Add WebCards+Language+File+Changes to Reddit



 



RSS | Related Articles | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the Digital Art and Design Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2014 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.

g


g features
Review - 21-Day Drawing Challenge

How to Print and Cut Clip Art in Silhouette Cameo

Paper Bead SVG Cut Files

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor