Latest product

6 posts by 3 authors in: Forums > CMS Builder
Last Post: June 24, 2009   (RSS)

By Bassman - June 22, 2009

Was planning on purchasing a few months ago, got sidetracked on something else, and i'm now revisiting CMS Builder. I have another question:

We have a list of product images, which would be displayed 1 to a page with previous/next links. From reading other posts & looking at the sites of others, I can see that this part is easy. But I would like to know if it's possible to link to the most recent record in the hard coded link?
From what I can see, the records keep going up by 1 for every new page, so you get www.mypage.com/products/page=1, followed by page=2, etc. So how can you have a link that always goes to the most recent record?

Re: [Bassman] Latest product

By isdoo - June 23, 2009

If you link to say www.mypage.com/products it would always display the latest article or product first. You can specify the sort order, so that the latest article or product is at the top.

Iif you are limiting to one per page then it would be on the first page.

You would then link to the List Page Url rather than the detail page URL.

If you wish to have a longer article (multi-page) then simply link to the longer article in the detail page URL.

Can't think of any way to always link to the detail page to show the latest, but if there is an obvious method that I have not thought of, then I am sure someone will respond :)

Good luck with your site development :)

Re: [ross] Latest product

By Bassman - June 23, 2009

Thanks for the reply, guys!

Is it possible to have, say, a list of products, each item in the list being a link to a detail page for that product? And the detail pages having Previous/Next links?

My apologies if this is obvious, I really should just bite the bullet and buy, but it's not my money to spend and I need to make sure it does what we want :)

Re: [Bassman] Latest product

By ross - June 24, 2009

Hi.

No problem. Looks like you are on the right track. Setting up the list page that links to the detail page is really easy. That's what CMS Builder does. List pages that link to detail pages. In fact, it even generates all the code for this.

Once you get that part setup, check out this post by Dave:


http://www.interactivetools.com/forum/gforum.cgi?post=66131#66131


That will show you how to get next and previous links on your detail page.

Keep me up to date with how you are making out :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Latest product

By Bassman - June 24, 2009

I understand what you mean, and I read Dave's post and I get that too. Thanks so much, awesome advice!