Linking field from listing page to item & more

6 posts by 2 authors in: Forums > CMS Builder
Last Post: January 22, 2009   (RSS)

By (Deleted User) - January 19, 2009 - edited: January 21, 2009

Our first CMS Builder Site.

I must say that the installation was really a “One Button Install”. Piece of cake. Also, adding editors, items and sections are very easy and simple.

Now we are up to paste the code in our design.

This is our test page:
http://qualitystrapping.com/plastic_strapping_kits/plastic_strapping_kits.php

1) How do I link any field to the item to the item page in the “Listing” page?
==> For example, I want the Title to be also a link to the item.
==> Also want the product image to be a link to the item.

2) How do I format each field? Can I set a field to lets say bold? In listing manager we just highlighted for example the $Name$ in our design program and made it bold.

Re: [RapidWeb] Linking field from listing page to item & more

By Dave - January 19, 2009

Hi RapidWeb,

Glad to hear everything is going smoothly so far! :)

Here's some answers:

1) Just copy the link tags (<a href="">...</a>) that are around the existing link and put them around your title.

2) Add bold tags <b>link this</b> around the content you want bolded.

If your design program supports it it's best to make these changes in html code view.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Linking field from listing page to item & more

By (Deleted User) - January 19, 2009 - edited: January 19, 2009

[font "Times New Roman"]Thanks for your quick reply.

[font "Times New Roman"]

[font "Times New Roman"] [font "Times New Roman"]One more question…. Will it be easy to put the results in a table?

[font "Times New Roman"]

[font "Times New Roman"]===========================================================

[font "Times New Roman"]Item Code | Strapping Width | Feet Per Coil | Tensile Strength <===Header which we will label

[font "Times New Roman"]===========================================================

[font "Times New Roman"]123456 1/2" 12,900 250 <===Results from the CMS database..

[font "Times New Roman"]With listing manager all we had to do was put the $_field1$ etc where we wanted the results.

Re: [RapidWeb] Linking field from listing page to item & more

By Dave - January 19, 2009

If you can hand code HTML (or get by with it) then yes.

Basically you have a table row with your headers, then put the foreach loop tags around a table row that will show your values.

Instead of $_field1$ you'd have something like this: <?php echo $record['_field1'] ?>. Almost the same, just slightly different code and fieldnames.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [RapidWeb] Linking field from listing page to item & more

By Dave - January 22, 2009

>Question: What function does the “Update the Viewer Urls for this section with the new url” do?

That's a reminder to go into: Admin > Section Editor > Your Section > Viewer Urls and set the urls for your viewer files so CMS Builder knows where they are and can automatically link to them.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com