You are on page 1of 8

NEW TS CMS UPDATED

http://ts.workguru.co.uk/Store/StoreInfo

Add Priority value (int)


Add Priority1 value (int)
Add promo_txt varchar(255)
(add promo_txt , priority & priority1 values to database)

http://ts.workguru.co.uk/Category

Add Priority value (int)


(add priority values to database)

http://ts.workguru.co.uk/Blog/BlogInfo

Add image field, (with image uploader auto save to AWS blog folder)
Would exactly the same as store / deal image fields

New CMS Section Banners (database table: ts_banners)

View all
Add New (red are required)
o Deal_id show all active deals on site (store name deal name)
o Background_url varchar(255) save into banners AWS folder. Save file name to
databse
o Priority int
o Link_id show link module save link_id

TSFRONTEND
Download from repository: https://bitbucket.org/supposeteam/ts_frontend

This section is to intergrate the TS cms with the html frontent. Coding to be similar to the acca
project. Using .aspx pages, App_Code folder.

Please start by creating a masterpage with the main template. I would like the sections to be coded
as usercontrols, so the modules can be added to any page if we decide to make updates at a later
stage. For example:

Save all user controls to a modules folder. There should be a user control for:
o Banners
o Email Sign Up (home)
o Email Sign Up (other)
o Merchant Scrollers
o Popular Stores
o Popular Categories
o Top 2 deals
o Deals
o Blogs

Code should be uploaded to http://tsfrontend.workguru.co.uk/

Updated added to respository: https://bitbucket.org/supposeteam/ts_frontend

Generic Brief

CREATE Master page


All pages should be cached
All database SQL should be perfomred in stored procedures
Set out required url rewrite
a. all pages should be displayed as the page url from the database
i. e.g.
ii. static pages e.g. /contact/
iii. store pages e.g. /nike-deals/
iv. deal pages e.g. /nike-save-50-armed-forces-code/
v. category pages e.g. /high-street-fashion/
301 redirects
a. All http://www should redirect to https://
b. All http://www. Should redirect to https://
c. All http:// should redirect to https://
Web.config to hold static config values:
a. root_url
i. http://tsfrontend.workguru.co.uk/
ii. Will change to http://troopscout.com
b. js_url
i. /js/
ii. Will change to this after - https://troopscout.s3-eu-west-
2.amazonaws.com/js/
c. css_url
i. /css/
ii. Will change to this after - https://troopscout.s3-eu-west-
2.amazonaws.com/css/
d. images_url
i. /images/
ii. Will change to this after - https://troopscout.s3-eu-west-
2.amazonaws.com/images/
e. store_image_url
i. https://troopscout.s3-eu-west-2.amazonaws.com/merchants/
f. deal_image_url
i. https://troopscout.s3-eu-west-2.amazonaws.com/deals/
g. blog_image_url
i. https://troopscout.s3-eu-west-2.amazonaws.com/blogs/

ALL PAGES
Cookie bar one clicked OK save cookie 1 year, not show cookie bar again

Add the following to every page header:

<meta property="og:site_name" content="Troopscout" />


o STATIC
<meta property="og:locale" content="en_GB" />
o STATIC
<link rel="canonical" href="http://troopscout.com/" />
o Add url attribute onto the end of the href
o E.g. http://troopscout.com/contact/
<meta property="og:title" content="" />
o Populare with h1
<meta property="og:description" content="" />
o Populare with meta_description
<meta property="og:url" content="http://troopscout.com/" />
o Same as canonical value above
<meta name="twitter:description" content="" />
o Populare with meta_description
<meta name="twitter:title" content="" />
o Populare with h1

Banners:

Display all banners from database (priority asc order).


o if link_id selected, redirect (target = _blank to the link) /link/[random_string]/
this will redirect to the url from link table
o ELSE if deal_id selected, href should be to the deal page.
Homepage (index.html)
FUNCTIONALITY:

Email Sign Up

Valid email validation


Save email address to email address database
Once saved -> hide textbox & button, replace with email added message. Never Miss a
Military Discount! replace with Thank You For Signing Up

Merchant Scroller

Show all stores with priority1 is not null. Order by priorty1 asc
h. Logo comes from [store_image_url][store_image]
i. E.g. https://troopscout.s3-eu-west-2.amazonaws.com/merchants/nike.png
i. Text under comes from [promo_txt] value from stores database
Featured British Military Discounts

Show all deals with priority is not null. Order by priorty asc
o EXCLUSIVE if exclsuive value in deals database set to yes
o EXPIRY display if exiry date is not null
o Display TOP 100 deals (set in stored procedure so I can change if required)
o All links url should be url from database
o load more deals should display another 10 deals (until there are no more top
deals remaining)

Popular Stores

Show all merchants with priority is not null. Order by priorty asc
Popular Categories

Show all categories with priority is not null. Order by priorty asc

ALL OTHER PAGES (APART FOR HOMEPAGE)

Top 2 deals (order by priority asc)


o Text [h1] from deals database
o Link anchor See Deal >
Bottom email sign up
o Works in the same way as the homepage sign up section.

Content Pages (about.html)

No right nav
Just content on page
/about/
/terms-privacy/
/faq/
/military-broadband-discount/

Contact Us Pages (contact.html)


Same as content pages, just add contact us form at the end.
No right nav
url: /contact/
url: /merchant-contact/
Email sending

A-Z

url: /military-discount-directory/
just add mercharnt a-z sections
right nav remains from home page

CATEGORY PAGES & STORE PAGES (category-store.html)

Example url: /high-street-fashion/


Deals module only deals associated with store / category

DEAL PAGES (deals.html)

Example url: /nike-save-50-armed-forces-code/


Main image - comes from [deal_image_url][deal_image]
a. E.g. https://troopscout.s3-eu-west-2.amazonaws.com/deals/nike-armed-forces-
voucher-code.jpg
TROOPSCOUT EXCLUSIVE if exclsuive value in deals database set to yes, otherwise hide
MILITARY ONLY if Military Id in deal database is set to yes, otherwise hide
EXPIRY display if exiry date is not null, if null hide
Visit Site
o This should open in a new tab (target=_blank), url should be hidden behind the
random string. Link should be /link/[random_string]/, which will redirect to the
correct page

o
Get Code
o If Military ID is set to yes- need to complete sign-up popup_holder before
showing with popup-get-code popup holder
Validation required all values are required.
Email should be saved to email database
Email sent (same as newsletter sign up sections on site)
o If Military ID is set to no show popup-get-code popup holder
o
o If Voucher Code is empty, change text from Get Code to Get Deal, no need for
any popup, just open link in new window.

Blog (blog.html)

url: /blog
right nav list of blog categores with number of posts in each


load more blogs display 20 blogs on each page, click will show 20 more blogs on the page


Main image - comes from [blog_image_url][blog_image]
o E.g. https://troopscout.s3-eu-west-2.amazonaws.com/blog/logo-nike.png
First 100 characters of the blog post (without any html formatting)

Blog Category (blog.html)

url: /blog/category/
Blog Categories load sub categories

Blog Post (blog-post.html)

url: /blog/10-top-tips-for-happy-online-shopping/
lots of similar modules
o found in categoires
o 5 deals from same category

You might also like