Page 1 of 1
how to create my custom page
Posted: Fri Aug 31, 2012 8:26 am
by nazrul
Now, I am using MySQL DB
In the user section there are HOME, HOT SAUCES, MERCHANDIES, CLEARANCE, NEW TO HOT SAUCES, FAQS menu.
but now I want to add another menu(Like-New Product), so that I can show the new product under this custom menu.
So, now where I have to save my new product image
what I have to do(in jsp/html or in DataBase) to show my own product on that my CUSTOM MENU page.
Re: how to create my custom page
Posted: Fri Aug 31, 2012 10:16 am
by phillipuniverse
The home.html template includes a nav.html partial. This is copied below:
Code: Select all
<nav>
<div th:remove="all">
<!--
This template displays the navigation of the site by looking up the category named "Nav"
and building a list of the categories sub-categories.
-->
</div>
<blc:categories resultVar="navCategories" parentCategory="Primary Nav" maxResults="6" />
<ul>
<li th:each="category : ${navCategories}">
<a class="home" th:href="@{${category.url}}" th:class="${categoryStat.first}? 'home'" th:text="${category.name}"></a>
</li>
</ul>
</nav>
According to those docs, if you have another category under "Nav", it will automatically add it to the top-level navigation list. From there, if you have products in that subcategory, it will display those products on the page just like any other category page (see category.html which is the template that it uses for this by default, unless you specify a custom category template when adding the category).
Re: how to create my custom page
Posted: Sat Sep 01, 2012 12:49 am
by nazrul
please, can you ex-plane it broadly.
Re: how to create my custom page
Posted: Mon Sep 03, 2012 11:53 pm
by phillipuniverse
Not sure what you mean by "more broadly"... Can you elaborate on something that you're having trouble with?
Re: how to create my custom page
Posted: Wed Aug 14, 2013 1:43 pm
by bambulyator
I actually created a new category called 'Featured' and attached it as a subcategory to the primary navigation. in the mysql db it looks exactly like one of the existing records (I used Hot Souces to compare) but it doesn't automatically show up. What am I missing?
Thanks for the help.
Re: how to create my custom page
Posted: Tue Sep 17, 2013 3:03 am
by mariasam
would you please help me that how could I can change the language of broadleaf in master version 3.0.1?
is there any especial resource?
