Skip to content

Commit

Permalink
removing more misc files
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcwilson committed Sep 3, 2020
1 parent 0f118c6 commit 8ab5d5a
Show file tree
Hide file tree
Showing 9 changed files with 116 additions and 150 deletions.
46 changes: 0 additions & 46 deletions content/user/first_steps/first_steps_misc.md

This file was deleted.

9 changes: 9 additions & 0 deletions content/user/new_user_topics/category_tabs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: How do I turn off the listing of categories that goes across the top of my page?
description: Disabling category tabs
category: new_user_topics
weight: 10
---

These are called the *Category Tabs*, and can be switched off by going to [Admin > Configuration > Layout Settings](/user/admin_pages/configuration/configuration_layoutsettings/) and setting *Categories-Tabs Menu ON/OFF* to zero.

25 changes: 25 additions & 0 deletions content/user/new_user_topics/congratulations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: How do I change the "Congratulations! you have successfully installed..." Message?
description: Removing the installation confirmation
category: new_user_topics
weight: 10
---

The default `Congratulations! You have successfully installed your Zen Cart; E-Commerce Solution` text is rendered as an `H1` tag in the site template's HTML code. It is a perfect opportunity to provide some rich SEO text related to your store/business. It is best to put something useful here, instead of merely deleting it.

To edit this important text, do the following:

Open the `includes/languages/english/index.php` file and find the following code:

```
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.');
```

Replace the text starting “Congratulations” with your own text that is welcoming and describes your business.

Make sure that the single quote marks at the beginning and end are not left out. If your text includes single-quotes (apostrophes) be sure to add a `\` before them to "escape" them for proper PHP syntax.

**NOTE: This line occurs twice, so be sure to replace both lines.**

Save the edited file to `includes/languages/english/YOURTEMPLATE/index.php` and upload it to your server.

13 changes: 13 additions & 0 deletions content/user/new_user_topics/home_in_middle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: How do I remove the word "Home" in the middle column?
description: Removing the home breadcrumb
category: new_user_topics
weight: 10
---

On some pages, to the right of the categories sidebox, the word "Home" (or perhaps "Home > some-category-name") appears above the page content.

These are called the *breadcrumbs* (think Hansel and Gretel). They show where you are and how to get back to previous locations. You can either turn them off completely or you can turn them off only on the main page. Although breadcrumbs may look a little odd on your home page, they can very useful to your users as they go deeper into your site.

To turn them off, go to [Admin > Configuration > Layout settings](/user/admin_pages/configuration/configuration_layoutsettings/) and set *Define Breadcrumb Status* to 0.

102 changes: 0 additions & 102 deletions content/user/new_user_topics/new_misc.md

This file was deleted.

12 changes: 12 additions & 0 deletions content/user/new_user_topics/no_such_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ name of the file?
Template files (the ones with `YOURTEMPLATE` - the [template name](/user/first_steps/basic_terms/#yourtemplate) in their path) are all
altered copies of the default file.

So if a referenced template file doesn't exist, you would create it from the default file.

### Example
To create

```
includes/languages/english/YOURTEMPLATE/header.php
```

copy
`includes/languages/english/header.php` to `includes/languages/english/YOURTEMPLATE/header.php`

### How do you find the default file?

a) For files under `/includes/templates`, the default file is `includes/templates/template_default/FOLDER/FILENAME`.
Expand Down
25 changes: 25 additions & 0 deletions content/user/new_user_topics/sales_message.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: How do I change the "Sales Message Goes Here" or "Tagline Here" text?
description: Removing the placeholders "Sales Message Goes Here" and "Tagline Here"
category: new_user_topics
weight: 10
---

To change the `Sales Message Goes Here` or `Tagline Here` text to say what you want, do the following:

Open `includes/languages/english/header.php` in your text editor. Find the following line of code:

```
define('HEADER_SALES_TEXT', 'Tagline Here');
```

Replace `Tagline Here` with your own text, making sure that the single quote marks are not left out.

Save the edited file to `includes/languages/english/YOURTEMPLATE/header.php` and upload it to your server.

NB: By default, the text “Sales Message Goes Here” is also located in `includes/languages/english/header.php`

```
define('HEADER_SALES_TEXT', 'Sales Message Goes Here');
```

30 changes: 30 additions & 0 deletions content/user/new_user_topics/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: How do I change the "Welcome Guest" message?
description: Removing or changing the message for non-logged-in users
category: new_user_topics
weight: 10
---

If you want to eliminate “Welcome Guest! Would you like to log yourself in?” message completely, turn off the Customer Greeting in your
[Admin > Configuration > Layout settings](/user/admin_pages/configuration/configuration_layoutsettings/). Go to *Customer Greeting - Show on Index Page* and set it to 0.

If you want to replace this message with one of your own,
edit the file
`includes/languages/english/YOURTEMPLATE/index.php`,
and locate these lines of code:

```
if (STORE_STATUS == '0') {
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
} else {
define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
}
define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>!');
```

As you can see, there are two Welcome messages depending upon whether you wish Zen Cart to be a fully functioning store, or just a showroom.

Edit the message starting from the word “Welcome” but be careful not to change the text in angled brackets, or the brackets themselves. Make sure that the single quote marks are not left out. If you want to include an apostrophe in your text e.g. “Lucy's Store”, you will need to put an escape character before the apostrophe, i.e. “Lucy\'s Store”.

Save the edited file and upload it to your server.

4 changes: 2 additions & 2 deletions content/user/running/blogging.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Tools like MailChimp have inexpensive offerings for small businesses that allow

### Use a static site generator

Static Site Generators (SSGs) like [Hugo](https://gohugo.io/) and [Jekyll](https://jekyllrb.com/) allow you to build a sophisticated website using a tool, and output raw HTML which can run without a database or code interpretation. This is much less risky than a dynamic application like WordPress.
Static Site Generators (SSGs) like [Hugo](https://gohugo.io/) and [Jekyll](https://jekyllrb.com/) allow you to build a sophisticated website using a tool, and output raw HTML which can run without a database or code interpretation. Since the final output of these tools is HTML-only, it is much less risky than WordPress (which has both PHP and MySQL as potential attack surfaces).

### Create a blog offsite

Really committed to a blog, are you? Instead of self-hosting a WordPress blog, use [wordpress.com](https://wordpress.com/) and let them host it. There are, of course, other hosted blogging services like [Blogger](https://www.blogger.com/) or [Tumblr](https://www.tumblr.com/).
Really committed to a blog, are you? Instead of self-hosting a WordPress blog, why not use [wordpress.com](https://wordpress.com/) and let them host it. There are, of course, other hosted blogging services like [Blogger](https://www.blogger.com/) or [Tumblr](https://www.tumblr.com/).

0 comments on commit 8ab5d5a

Please sign in to comment.