Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Creating a Custom Page

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-29-2016, 01:45 PM
 
benlind benlind is offline
 

Member
  
Join Date: Feb 2016
Posts: 24
 

Default Creating a Custom Page

How can I create a new page on my site and use a custom model and view with it? I want to create a Brands page (brands.html) that simply lists the brands. Listing the brands isn't difficult, but I need help creating a new page type and having the URL redirect properly.

Thank you.
__________________
X-Cart version 5.2
Reply With Quote
  #2  
Old 02-29-2016, 04:45 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Creating a Custom Page

Look at the Contact Us module. That is the simplest that I can think of. The viewer class is XLite\Module\CDev\ContactUs\View.

Oh here is an tutorial by Tony, even simpler: http://kb.x-cart.com/display/XDD/Webinar+1+-+18+Mar+2014+-+Developing+modules+for+X-Cart+5#Webinar1-18Mar2...modulecreation
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
qualiteam (03-01-2016)
  #3  
Old 03-01-2016, 08:20 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Creating a Custom Page

Isn't this module what you are looking for?
http://www.x-cart.com/extensions/addons/shop-by-brand.html
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:59 PM.

   

 
X-Cart forums © 2001-2020