Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / New Items link on home page and date search calendar on advanced search page

New Items link on home page and date search calendar on advanced search page

Started by joseph_m on 4 Sep 2014, 9:32 PM · Views: 1,090

Results 1 to 2 of 2
4 Sep 2014, 9:32 PM
#1
joseph_m avatar

joseph_m

Zen Follower

Join Date:
Apr 2008
Posts:
150
Plugin Contributions:
0

Post #1 by joseph_m

How can I place a link on the home page of my site which returns new items for the current month.
My new items section on the front page is limited to six items and I want customers to be able to see everything I've listed for the current month on a single page.

Also, is there some kind of modification I can do to put calendar dropdowns on the advanced search page?
I think this is called a 'date picker'... like the one on the product entry page to enter the date available.
Currently, if the date isn't written in the correct format in advanced search it gives an error. I want to make it easy for visitors to select a date.

Thank you

5 Sep 2014, 12:05 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #2 by mc12345678

Joseph M:

How can I place a link on the home page of my site which returns new items for the current month.
My new items section on the front page is limited to six items and I want customers to be able to see everything I've listed for the current month on a single page.

Also, is there some kind of modification I can do to put calendar dropdowns on the advanced search page?
I think this is called a 'date picker'... like the one on the product entry page to enter the date available.
Currently, if the date isn't written in the correct format in advanced search it gives an error. I want to make it easy for visitors to select a date.

Thank you

Both of those things can be done by typically mirroring existing code. Assuming that your template is not a modification of the default template, the new items link should be in one of your menu drop down options (at least is so in more recent versions of ZC, which I highly suggest upgrading to.) I would ask/suggest providing a link to your site for those that help to provide more specific guidance, but the version of ZC you are using is prone to security risks, so I recommend not posting it for that reason.

As for the date picker, if you can narrow down on what page it appears, you could use the developers toolkit to find the applicable code, and copy/paste that to the similar area on the desired page.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...