Sepcity

Contact Numbers:
Toll Free: 866.737.2489
International: +1 440.290.2202
Fax Number: +1 440.445.0190

Login Signup My Account

Site Looks

Author: Sepcity Support
Category: Additional Topics
Viewed 986 times.


Site Looks

The site looks allows you to customize the looks and feel of your website. We store images, CSS files for colors and the website template in this directory.

Directories

Images – A directory to store pictures in

Styles – Directory to store CSS files so you can modify the colors on your website

You can also select a file from you hard drive using the file upload feature or create new directories to organize your files to fit your needs.

Working with the template.master file

This file is the main layout file that all of your web pages will follow when your users are browsing through your portal website.

CLayout.REP_Site_Menu([[#]], iModuleID) - Replace [[#]] with a number between 1-7 to dynamic draw your menu.

CLayout.REP_Ad_Server([[ID]].Text, iModuleID) - Replace [[ID]] with the id of your label.

CLayout.REP_Account_Menu(iModuleID) – Inserts the login menu, once logged in this then changes to an account menu with links related to account information.

CLayout.REP_Title_Bar(iModuleID, OverwriteTitle) – Inserts the title bar which is a navigation bar of where the user is on your website and links to go back to the previous page.

CLayout.REP_RSS_Feed([[ID]].Text) - Replace [[ID]] with the id of your label.

CLayout.REP_Content_Rotator([[ID]].Text, iModuleID) - Replace [[ID]] with the id of your label.

CLayout.REP_Live_Support – Inserts the online/offline image for the operator in the live support module. (Live Support module must be enabled for the image to be visible)

CLayout.REP_Members_Stats – Inserts statistics for how many members joined your site this month and last month and total members on your website.

CLayout.REP_Affiliate_Name – Inserts which affiliate username the visitor was referred by.

CLayout.REP_User_Postal_Code – Inserts the logged in users postal code, if a user is not logged in then this will insert your company postal code under your setup options, admin information.

CLayout.REP_Members_Newest – This function will list the 10 latest members that signed up on your website with a link to view more information on the member.

CLayout.REP_Calendar – Inserts the event calendar if activated or enabled

CLayout.REP_Friends – Inserts the friends list

CLayout.REP_Polls – Inserts a random poll.

CLayout.REP_Site_Stats – Inserts the statistics for page views today, yesterday and total page views.

CLayout.REP_Stocks – Inserts the stock quotes and a customize link so each user can type in the stock symbols they want to show on your page.

CLayout.REP_Whos_Online – Inserts the 10 latest usernames that are logged into your website with a link to view the detailed link of who’s on your website.

CLayout.REP_Print_View – Inserts a link to open a new window so visitors can have a friendly print view of your website to print out.

CLayout.REP_Messenger_Unread – Inserts the number of unread messages if a user is logged in from the messenger module.

CLayout.REP_Affiliate_Stats – This function outputs the users affiliate ID, total number of referrals they sent to your website and the total sales they made from their referrals. Only shows up if a registered affiliate is logged into your portal website.

CLayout.REP_View_Cart – This function only shows up if a user or visitor has unpaid items in their shopping cart. If will output the total items and total cost in their shopping cart.

CLayout.REP_Search_Engine – Inserts the website search engine to search your website contents.

CLayout.REP_Newsletters – Inserts a text box to enter an email address. If there is more than one newsletter that a user has access to then it puts checkboxes so they can select which newsletters they want to join.

CLayout.REP_Site_Name – Inserts the name of your website which comes from the setup option for Company Name.

CLayout.REP_Languages – Inserts the country flags that are currently support in multiple languages to allow your users to change the language by clicking on a flag. The option under General Setup, Website Setup for "Allow users to change the default language." must be changed to "Yes" for this feature to work.

CLayout.REP_Portal_List – Inserts a dropdown with all the subportals you have created using the Portals module. (Must have the Portals module enabled for this dropdown to show up)

CLayout.REP_Site_Logo – Inserts the logo that you have configured for the main website or if in a portal then the logo for the portal.

CLayout.User_Page_Stats(iModuleID) - This function is a requirement and includes the backend functions to make things work like keep track of site stats, when users join a newsletter and more. Some functionality will not work without this option.

CLayout.Menu_User_Top_Menu(iModuleID) - This option inserts the top menu that is seen in all the posts with post links, add to favorites, refer a friend and more.

CLayout.REP_Page_Text(iModuleID) - This is where your website page text that you design under "Web Pages" in the administration console will show up at.

Referencing a label in your template.master file by using the following line
CType(Page.Master, clsMasterFile).functInsert([[ID]])

Replace [[ID]] with the id of your label.

To insert a dynamic function into your template.master file you can use a label such as
<asp:Label ID="[[ID]]" runat="server" Text="[[ZoneName]]"></asp:Label>

Replace [[ID]] with an unique ID that you want to give the label.

Only the RSS Feeds, content rotator and the adserver required the text="[[ZoneName]]", you do not need to include this on anything else.

Below is an example of how to reference a label inside of your template.master file using the template.master.vb file
CType(Page.Master, clsMasterFile).functInsert([[ID]]) = [[FUNCTION]]

Replace the [[ID]] with the ID of your label and the [[FUNCTION]] with a function lists in the function list above.

Here is a list of other functions we use for customizing menus.

[[PageURL]] – Inserts the URL of the page the web page will be going to.

[[LinkText]] – Inserts the text of the link on your menu.

[[Target]] – Inserts the page target, meaning if the link is opening in the same window or a new browser window.

 
 
 




Articles from This Author


Articles Under This Category