View Single Post
  #1  
Old 07-27-2016, 07:41 PM
 
garys garys is offline
 

Newbie
  
Join Date: Jul 2016
Posts: 5
 

Default How to change the content on the front page?

I have been programming for a living for almost 35 years now and although I never claimed to know everything, I have been able to figure most things out without assistance.

That doesn't seem to be the case with X-Cart 5. I am really struggling with things that, in my mind, should be easy to solve.

I thought it would be a simple thing to replace the Featured Products from the home page with New Arrivals and remove it from the sidebar. The main reason for this is that we want the new products to be featured automatically rather than having to select them manually every week.

It's easy to disable the Featured Products module. It's easy to add my own content to the page through Catalog | Front Page in the admin section.

On the other hand, I have no clue how to add the New Arrivals module to the main content section or remove it from the sidebar. I have tried to figure out what the code is doing but I feel like I'm going around in circles. As soon as I thought I found a solution, it turned out to be a dead end.

I have looked at the page with Webmaster Mode turned on and I can see the FeaturedProducts module entry in the Theme Tweaker. When I double-click the template, I am shown a .tpl file with a few lines of code ... none of which point me to anything that makes sense.

Clearly, I am not understanding the template system that is being used here. I have worked with other scripts that also used templates but was able to figure those out pretty easily. This is pretty discouraging.

Can somebody either help me with this particular issue or at least point me to an example of a similar issue? Telling me "you just have to write a module" isn't particularly helpful because I need to understand the concepts first.

Any help would be very much appreciated.

Thank you.
__________________
5.2.15
Reply With Quote