7. Content |
|
|
|
The Contents tab is used to access many functions that relate to the content, structure, and handling of the pages, templates, components, and files of your web site. From the Content tab you can access and edit pages, templates, and components. You can transfer files, to and from your local computer to the web site. You can also access and edit or create surveys. WARNING: The Content tab is normally an area used by developers. As such, Site Administrators should exercise caution when using this tab. Changes made here can and do affect the entire catalog. If you are not sure of what you are doing, don’t do it. Contact your Interchange Developer! Briefly, a Page is the entire HTML page that is viewed on the website. A Template is a way to structure a page, or how it is arranged. Slots are areas within the template that are created to hold Components. Components are somewhat self-contained “modules” created to be portable and used within the page. Components are meant to be useable in many different situations. For example, you may anticipate wanting to have a small search box that your customers can use to locate products on your site. You may not want this search box on all pages, only some of them. And you may want it in a different location on the page depending on which page it is! Components and slots, allow you to place the slots where you want them, and then put a component into the slot. The links below provide descriptions on how to create Pages, Templates, slots, and even Components. Components can be complex and you may want to contact your Interchange Developerfor assistance. The content tab has a slightly different layout from the Orders, Customers, and Items tabs. Each of those deals with individual items that are added, edited, or dropped according to established business rules. The content tab is used more in the design mode, and directly affects the appearance of your site. So you will not find the familiar “limit with search” box or other utilities that allowed you to manipulate Orders, Items, or Customers. The Content tab has 2 levels of sub tabs, unlike most of the other Main level tabs, which only have 1 level of sub tabs. The two layers of sub tabs only affect 2 of the tabs, Content Edit, and Surveys. The layout for the Content tab is shown in the image, and described below.
|
|
The content editor tab consists of 3 sub tabs. Page Edit, Template Edit, and Component edit.
|
|
7.1.1 – Content – Content Edit – Page edit The page editor is the “Master” view of your pages. From this view you can control what your page looks like, and what goes onto it. In general, as mentioned above, the Page is at the top of the design structure. You can use a Template to help layout your page, or you can do it from scratch. You can add pre-built Components to the page, to speed up the process of building a page. When you access the Page edit tab, as in the example above you will see a list of folders and pages.
You will also see a link to a
The next
link in line is the
To access pages in one of the folders shown,
simply click on the To access an existing page for edit or deletion, simply click on the page name and the link will take you to the edit page screen. Not shown but also important: When you have a page that you are working on that has not yet been published, an In Process section will be displayed. This will show which pages are currently being worked on, but have not yet been Published. In addition, the page(s) that have not been published will be listed as links, so that you can easily navigate to them to finish your work. Along with each page link, will be a (cancel) link, which allows you to simply click on the link to DISCARD any pending changes and revert the page back to the state it was in prior to your edit session. If you have any pages that have not been published, you will also see the following link: Purge all in-process (including page, template, component edits) This link will revert all pages that you may have in progress, which have not been published. This Purge all link will be seen in Page Edit, Template Edit, and Component edit whenever there is a page, template, or component that has been worked on but not edited. |
|
|
|
The New page screen is quite simple, you select a name for your new page and if you like, a template. There can be many template choices, depending on your setup, but the demo has 3 templates with 4 choices: No template, Page with top/bottom areas only, content in middle, Page with top/left areas, Page with top/left/right areas. We will talk more about templates in the Template section. Click on the Create Page button. Now that you have created a Page, you are taken to the Content Editor . |
|
7.1.1b – Content – Content Edit – Page edit – New File
The New File page allows you to upload a file from
your local machine to the web site. First make sure you are in the
folder that you wish to upload your file to. Next, click on the
|
|
|
|
7.1.1c – Content – Content Edit – Page edit – Content Editor The content editor page is shown above. There is a lot of information on this page, and much more information is accessible from this page. I will try to give you a brief example of the steps you might use to edit a page in your catalog using the content editor and discuss each area and it’s use individually. I have put the “aboutus.html” page up as an example, because it is a relatively simple page. So lets say I want to edit the page. There are many ways to edit the page, but I will describe as broadly as I can a basic approach for editing.
|
|
|
|
7.1.2 – Content – Content Edit – Template edit
|
|
The edit template tab is the “Master” view of your Templates. There are two main sections, Edit templates and Existing Templates. The Edit Templates section simply contains the New Template link, which allows you to create a new template from scratch. The Existing Templates simply gives a list of links so that you can edit existing templates. |
|
7.1.2a – Content – Content Edit – Template edit – New Template |
|
The first page you will come to after selecting the New Template link is the Template Name. Simply enter a name for your new template, and click on the Create New Template button, which will bring you to the following screen: |
|
|
|
The edit new template page has 3 main areas. It is similar to the page edit tab in that the left hand area of the page has 2 selectable areas, and the right hand or center area displays the selection you make from the left hand column. Templates are complex and should only be created by an experienced Interchange developer. There are 4 areas all told on the edit new template page and they are:
To create a new control, you click on the link Add a new control. This will bring up a selection window in the center or right area as shown above in the example. Once a control is created, they have some common features. Each has a name that is a link. Click on the link to bring up the central edit window for the control. The control that is being operated on will have a different background color, typically gray, to distinguish it from the other controls. Each control has a Label, or a user-friendly name for the control. Each has a Widget type, which displays what type of widget the control is using. Next there is a list of Actions, delete, up, and down. The delete link will delete the control, up will move the display of the control up one place, and down will move the display of the control down one place. One final common feature is the checkbox, which will contain a check if you modify the control from the center display window. There are 3 selections to fill in or chose from so we will discuss each in turn.
yes=Yes, no=No
The final selectable area in the Template Edit New is the Page Layout. The Page Layout area normally contains template areas, NAME_OF_TEMPLATE_TOP, and NAME_OF_TEMPLATE_BOTTOM. Each of these template areas is a link, which will change; you guessed it, the center display to show the contents of the selected area. To begin with, all that will be shown in the Page Layout window will be the Template area name, a checkbox “changed”, and the words No Component. Most Interchange templates are made up of two html pages, a Top and a Bottom. Like everything in Interchange, flexibility is key. If you look at one of the existing templates in Interchange, you can see that most of the HTML for the entire template is located in the Top area, and the Bottom area pretty much just closes things up. You can set up your template in an HTML editor, and then transfer that in pieces, to Top and Bottom areas. A simple trick is to create the page as you want it to appear, then put in comments where you want to start and end each section, for example <!—Start top here All of your top area html here <!—end top here<!—start bottom here All of your bottom area html <!—end bottom here Then simply cut and paste into the appropriate template areas. See an example of this commenting highlighted in blue here. We will discuss components in the next section, but remember to plan to make use of this powerful Interchange feature when designing your template. A component is a somewhat self-contained module that can be defined in Interchange, and called from within the template. To insert a component into your template, you need to create an area or slot for the component. You can create several slots in different areas of your template. The nice part about it is that you do not have to use the slot, unless you need it. To create a slot for a component, you will need to plan the page out in advance. Do you want a column down the left side of your page that you can insert components into? Do you want to have a spot at the bottom of the page for a component or two? You can put the slots virtually anywhere, but you need to plan your page in advance. So the first step is to create an HTML location for the slot. Do this by simply creating an HTML template as mentioned earlier, but build with slots in mind. For example you may have a table that is 3 columns wide. The first column may contain an area for small search boxes and shopping cart components. The second column may be quite a bit wider and contain room for the main content of the page, and the third column may contain an area for additional “Best seller” components. They can be arranged in any way you like. Now that you have a space for a slot, you put in the slot itself. You do this by inserting one of the following:
I have included an example from the Demo template “Page with top/left areas” below, with the component slots highlighted in yellow. Also I highlighted in light blue an example of the commenting technique I mentioned earlier, which helps you lay out your template.: Finally, once you have finished creating your template, you need to save it. You can do that by clicking on the OK button every time you make a change in the center window, and then by clicking on the Publish button when you are ready to commit your changes. Clone Template: You can easily create a new template based on an existing template by entering a name for your new template into the New Name window, and click on Publish. This will create a new template based on the one you are currently working on. |
|
7.1.2b – Content – Content Edit – Template edit – Existing Template |
|
|
|
The edit existing template page has 3 main areas. It is similar to the page edit tab in that the left hand area of the page has 2 selectable areas, and the right hand or center area displays the selection you make from the left hand column. WARNING: Templates are complex and should only be edited by an experienced Interchange developer. There are 4 areas all told on the edit new template page and they are:
To create a new control, you click on the link Add a new control. This will bring up a selection window in the center or right area as shown above in the example. Once a control is created, they have some common features. Each has a name that is a link. Click on the link to bring up the central edit window for the control. The control that is being operated on will have a different background color, typically gray, to distinguish it from the other controls. Each control has a Label, or a user-friendly name for the control. Each has a Widget type, which displays what type of widget the control is using. Next there is a list of Actions, delete, up, and down. The delete link will delete the control, up will move the display of the control up one place, and down will move the display of the control down one place. One final common feature is the checkbox, which will contain a check if you modify the control from the center display window. There are 3 selections to fill in or chose from so we will discuss each in turn.
yes=Yes, no=No
The final selectable area in the Template Edit Existing Templates is the Page Layout. The Page Layout area normally contains template areas, NAME_OF_TEMPLATE_TOP, and NAME_OF_TEMPLATE_BOTTOM. Each of these template areas is a link, which will change; you guessed it, the center display to show the contents of the selected area. To begin with, all that will be shown in the Page Layout window will be the Template area name, a checkbox “changed”, and the words No Component. Most Interchange templates are made up of two html pages, a Top and a Bottom. Like everything in Interchange, flexibility is key. If you look at one of the existing templates in Interchange, you can see that most of the HTML for the entire template is located in the Top area, and the Bottom area pretty much just closes things up. You can set up your template in an HTML editor, and then transfer that in pieces, to Top and Bottom areas. A simple trick is to create the page as you want it to appear, then put in comments where you want to start and end each section, for example <!—Start top here All of your top area html here <!—end top here<!—start bottom here All of your bottom area html <!—end bottom here Then simply cut and paste into the appropriate template areas. See an example of this commenting highlighted in blue here. We will discuss components in the next section, but remember to plan to make use of this powerful Interchange feature when designing your template. A component is a somewhat self-contained module that can be defined in Interchange, and called from within the template. To insert a component into your template, you need to create an area or slot for the component. You can create several slots in different areas of your template. The nice part about it is that you do not have to use the slot, unless you need it. To create a slot for a component, you will need to plan the page out in advance. Do you want a column down the left side of your page that you can insert components into? Do you want to have a spot at the bottom of the page for a component or two? You can put the slots virtually anywhere, but you need to plan your page in advance. So the first step is to create an HTML location for the slot. Do this by simply creating an HTML template as mentioned earlier, but build with slots in mind. For example you may have a table that is 3 columns wide. The first column may contain an area for small search boxes and shopping cart components. The second column may be quite a bit wider and contain room for the main content of the page, and the third column may contain an area for additional “Best seller” components. They can be arranged in any way you like. Now that you have a space for a slot, you put in the slot itself. You do this by inserting one of the following:
I have included an example from the Demo template “Page with top/left areas” below, with the component slots highlighted in yellow. Also I highlighted in light blue an example of the commenting technique I mentioned earlier, which helps you lay out your template.: Finally, once you have finished creating your template, you need to save it. You can do that by clicking on the OK button every time you make a change in the center window, and then by clicking on the Publish button when you are ready to commit your changes. You can easily create a new template based on an existing template by entering a name for your new template into the New Name window, and click on Publish. This will create a new template based on the one you are currently working on. |
|
|
|
7.1.3 – Content – Content Edit – Component edit |
|
We have discussed what components are, and where they are used, now lets see how to create and edit one. Shown above is the main component edit screen. There are two sections to this screen; one is inaptly named Edit Components, and the other Existing Components. The first section should be named Create New Component, and the second should be named Edit Existing Component. Lets start with creating a new Component. |
|
|
|
7.1.3a – Content – Content Edit – Component edit – New Component
Once you select the New Component link you are taken to the screen above, where you enter a name for your new component. Use alpha characters only. Then click on the Create New Component button. |
|
|
|
The Edit New Component page has four areas. It is similar to the page edit tab in that the left hand area of the page has 2 selectable areas, and the right hand or center area displays the selection you make from the left hand column. WARNING: Components are complex and should only be created by an experienced Interchange developer. There are four areas on the edit new component page and they are:
<td class="someclass"> [control name=banner default="Best sellers..."] </td> This will be our banner, and if the user does not specify otherwise, the display will be “Best sellers…” Next we would create a control (as described below) with the name “banner”. We would use “banner” for the identifier, and text entry for the widget type. That’s about it. We could also enter a default value, but we already have it in the HTML so it’s really not necessary. Now when the user selects our component to add into his page, he will simply enter whatever text value he wants into the widget, and when the page loads the banner will take the place of our [control name=banner] tag.
To create a new control, you click on the link Add a new control. This will bring up a selection window in the center or right area as shown below in the example. Once a control is created, they have some common features. Each has a name that is a link. Click on the link to bring up the central edit window for the control. The control that is being operated on will have a different background color, typically gray, to distinguish it from the other controls. Each control has a Label, or a user-friendly name for the control. Each has a Widget type, which displays what type of widget the control is using. Next there is a list of Actions, delete, up, and down. The delete link will delete the control, up will move the display of the control up one place, and down will move the display of the control down one place. One final common feature is the checkbox, which will contain a check if you modify the control from the center display window.
When you create a control, as shown above, within the center window there are 3 selections to fill in or chose from so we will discuss each in turn.
yes=Yes, no=No
Finally, once you have finished creating your component, you need to save it. You can do that by clicking on the OK button every time you make a change in the center window, and then by clicking on the Publish button when you are ready to commit your changes. You can easily create a new component based on an existing component by entering a name for your new component into the New Name window, and click on Publish. This will create a new component based on the one you are currently working on. |
|
7.1.3b – Content – Content Edit – Component edit – Existing Component |
|
The Edit Existing Component page has four areas. It is similar to the page edit tab in that the left hand area of the page has 2 selectable areas, and the right hand or center area displays the selection you make from the left hand column. WARNING: Components are complex and should only be created by an experienced Interchange developer. There are four areas on the edit existing component page and they are:
[control name=banner default="[L]Other items you may like[/L]"]
This will be our banner, and if the user does not specify otherwise, the display will be “Other items you may like …” Next we would create a control (as described below) with the name “banner”. We would use “banner” for the identifier, and text entry for the widget type. That’s about it. We could also enter a default value, but we already have it in the HTML so it’s really not necessary. Now when the user selects our component to add into his page, he will simply enter whatever text value he wants into the widget, and when the page delivers the banner will take the place of our [control name=banner] tag.
To create a new control, you click on the link Add a new control. This will bring up a selection window in the center or right area as shown below in the example. Once a control is created, they have some common features. Each has a name that is a link. Click on the link to bring up the central edit window for the control. The control that is being operated on will have a different background color, typically gray, to distinguish it from the other controls. Each control has a Label, or a user-friendly name for the control. Each has a Widget type, which displays what type of widget the control is using. Next there is a list of Actions, delete, up, and down. The delete link will delete the control, up will move the display of the control up one place, and down will move the display of the control down one place. One final common feature is the checkbox, which will contain a check if you modify the control from the center display window.
When you create or edit a control, as shown above, within the center window there are 3 selections to fill in or chose from so we will discuss each in turn.
yes=Yes, no=No
Finally, once you have finished creating your component, you need to save it. You can do that by clicking on the OK button every time you make a change in the center window, and then by clicking on the Publish button when you are ready to commit your changes. You can easily create a new component based on an existing component by entering a name for your new component into the New Name window, and click on Publish. This will create a new component based on the one you are currently working on. |
|
|
|
7.2 Content - Clone Component Sets
|
|
The Clone Component Sets tab of the Content tab is a tool for propagating changes two several pages at once. What this page allows you to do is develop a page, on a specific template, with the component sets that you want to use for a certain part of your web site. Lets say that you wanted to make sure that all pages which had anything to do with your products all contained a small search window, a shopping cart, and always displayed your best selling items. You could design your page with the proper component set, and then go to each individual page, select the proper components, put them into the proper slots, and save each one. Or you could simply go to the Clone Component tab and do it with the click of a button. The Clone Component page is very simple. You just choose a source file, then select which pages you want to “Push” the components and set up to, then press the Push Components button. As shown below, once you select a source page, the pages (and the directories that contain pages) that have the same template (and are therefore eligible to be cloned) are highlighted. The pages that do not have the same template are grayed and not selectable. There are a few other convenience tools for you in this window as well. There is a Check all, an Uncheck all, and a Back Files up checkbox. The check all simply selects all of the files that are eligible for the clone. Keep in mind that the Check all feature checks ALL of the eligible files; even all those in the directories shown that are in bold. So use with care. Uncheck… yes unchecks any boxes you have selected, so you can start over. Back files up; well it backs up any files that are changed. The standard location for these backed up files is “catalogname/backup/pages/” but may be different on your system. TIP: You can clone a Template as well as a Component or component set. |
|
|
|
|
|
7.3 Content - Surveys |
|
How many times have you wished you could get customer feed back on something? Well with Interchanges built in Survey builder, its easy. You can use the survey builder for things other than surveys, want to get some consumer information prior to allowing a customer to download a file, or view a certain page? It’s all just a few keystrokes away. So lets lay it out, and then build a survey. There are three sections under the Survey tab. They are Edit an Existing Survey, Create a New Survey, and Access Survey results. |
|
From the first screen, you click on the name of the existing survey you would like to edit. To the immediate right of the survey name link, there is a link (run). This allows you to run the survey from this location, perhaps for testing purposes. But we are interested in editing an existing survey, so here is the first screen you will encounter once you click on a survey from the front section: |
|
7.3.1a Content – Surveys – Edit existing survey – General
This is the first tab in the edit existing survey group, the General tab. There are six tabs under the edit existing survey group. Each of them will have the same display on the left, and the area to the right will change depending on the tab. The area on the left is a display of the list of questions in the survey. Because this area will be seen throughout the tabs, lets discuss how the left side works. You can see a number of questions on the left side, each is formatted the same way so we will pick the first one, Product Evaluation, and examine it. Under the title Product evaluation, there are 3 sets of items. First, product_value link, then “Was our product a good value?”, and finally a results link.
Note: At the time of writing, the Graphing option is not supported on most systems. There are some technical limitations that need to be overcome on a system level. While graphing is possible, in many cases it is not practical at this time. Please contact your Interchange Developer for more information.
Now that we have discussed the Left Hand area that is the same throughout the tabs, lets get back to discussing the tabs and their uses. The display on the right hand side of the screen will change with each tab, and we will be discussing that portion of each tab. There are 3 parts to the right display area on the General tab, Main Title, Display Type, and Intro text.
|
|
|
|
7.3.1b Content – Surveys – Edit existing survey – Questions |
|
The questions tab is fairly straight forward, if you know how it is supposed to be formatted. Kind of like riding a bike, once you have done it its easy! I have included a screen shot for questions so you can see an example of how to set up the questions. You can create a survey on multiple pages, or all on one. A title string for a new page is created with the following format: =Your Title for the Page Notice that there is a blank line before and after the string. Also the string begins with an “=” sign. Then to put questions on that page, put an identifier for each question, in the format shown. Make sure you have a blank line between the Title and your identifier. If you have multiple questions per page, the identifiers only need to be separated by a carriage return, not a blank line. Make sure identifiers are a simple descriptive word, with no spaces. So a page would look like: =Your Title for the Page question1 question2 question3
=A second Page |