photo

Mark Strozier

shared this question
4 years ago

Employees Involved

photo

PIV Support

Admin

Statistics

4
Comments
316
Views

Relates to

Share

Tags

1
votes

Can't get {featured_listing_block_row repeat="4"} or {image_thumb_fullurl_4} to work.

I need to display two rows of 4 thumbnails hyperlinked to their respective URLs. I've used {featured_listing_block_row repeat="4"} in the <div> I need the thumbnails to appear in and I used the {/featured_listing_block_row} as the closing tag. However when the browser renders the code I get "{featured_listing_block_row repeat="4"} instead of the thumbnails.

I also tried {image_thumb_fullurl_4} (which actually makes more sense) but when it rendered the tag was completely stripped out.

Any ideas what to do next?

Best regards,

Mark

Add Comment

Comments (4)

photo Employee
1

1) what version of OR? You always need to disclose that

2) Where exactly are you trying to use that block tag?

3) Where did you get the tag: {image_thumb_fullurl_4}

photo
1

1.) 3.2.7

2.) In a left sidebar <div> dressed out to show the 10 Most Wanted on the page1_main.html and the main.html.

3.) The documentation under the Featured/Random Template Tags page.

Apologies about the forgetting the version #.

Thanks,

Mark

photo Employee
2

2) Assuming "in a left sidebar" means you are using it exactly within your 'main.html' template file, you are not using the block tag in the correct place. That block tag only works when placed within one of the template files listed at the top of the following page in the docs:

http://docs.transparent-tech.com/open-realty/latest/featuredrandomtemplatetags.html

If you want featured listings to display within your 'main.html' template file (or elsewhere), you need to use the tag: {featured_listings_horizontal} which loads the 'featured_listing_horizontal.html' file, which can in turn contain your customizations:

see docs:

http://docs.transparent-tech.com/open-realty/latest/featuredrandomlistings.html

Alternatively you could use the {listings_custom_search_result_block} which has more granular options, and can be embedded just about anywhere.

docs:

http://docs.transparent-tech.com/open-realty/latest/maintemplatetags.html

photo
1

Thank you for the very helpful answer!

Mark

Leave Comment

photo

Attach files...

The file must be a jpg, gif, png, bmp, ico, pdf, doc, rtf, txt, zip or rar no more than 20M