jReviews Support Forum

General => Site showcase => Topic started by: eskwire on December 11, 2007, 02:24:58 PM



Title: Comments on Template Layout
Post by: eskwire on December 11, 2007, 02:24:58 PM
I know this is not exactly a site review and if it needs to be moved to the template forum thats fine. Wasn't sure which was the best place.

 I am updating the layout of a template and the site and would love to get all comments and reviews.

The first layout is at
http://www.paper-shredder-reviews.com/ativa/ativa-cx10w-cross-cut-shredder.html

The updated layout is:
http://www.headphone-reviews.com/bose/bose-quietcomfort-2-noise-cancelling-headphones.html

I have updated:
the background image for the editor review block
removed all many of the write review, my reviews, etc links.
The amazon link will not display if their is no ASIN number (still have to work this out)
moved some of the element around.

If there is not editor review then the editor review block does not display and the product images are moved up.


Which layout do you like better?

What could I change to improve the layout?

Should I display the social networking info?  If so where?

Thanks!


Title: Re: Comments on Template Layout
Post by: Alejandro on December 11, 2007, 02:45:43 PM
Hey, the updated one looks awesome! I am not sure how it would look with the editor rating graphic on the right side, but that would allow for shorter text below without the custom fields being too far below if the description is short.

Great job


Title: Re: Comments on Template Layout
Post by: eskwire on December 11, 2007, 03:47:39 PM
Thanks for the comments!

I had not thought about putting the badge on the right side.

One thing I want make sure is that I give enough priority to the amazon link.  I am sure as I start to get more traffic to sites with this new type of layout I will figure out the best layout for all of the different items.

I updated the template so the amazon link only displays if an ASIN number has been entered.


New Error Message
When I updated the template from the headphone site to the paper shredder site.  I received this error message on the Paper shredder site:

Quote
pat-Warning: Template 'author_my_reviews' does not exist.

I think it is related to removing many of the authorreviewheader links.

On the headphone site I had a similar error message accept this one was about the author rank.

What is the best way to remove this error? 

For the Author rank error I added this code and then commented it out.
Quote
<!--<br /><a href="{AUTHOR_RANK_URL}">{AUTHOR_RANK}</a> -->

Should I do the same for the author my review line?

Thanks!




Title: Re: Comments on Template Layout
Post by: Alejandro on December 11, 2007, 03:53:45 PM
I am sure the best way would be to get rid of warnings somewhere in a patTemplate file. But since I have no idea where that would be, the 2nd best is to put an empty template with that name:

Code:
<patTemplate:tmpl name="author_my_reviews"></patTemplate:tmpl>


Title: Re: Comments on Template Layout
Post by: eskwire on December 11, 2007, 04:01:17 PM
Thanks for the reply!

That is exactly what I was thinking.  :-)

The easiest way was just to add it and then comment it out.
Quote
            <patTemplate:tmpl name="author_rank" visibility="hidden" varscope="author_review_header">
            <!--<br /><a href="{AUTHOR_RANK_URL}">{AUTHOR_RANK}</a> -->
            </patTemplate:tmpl>
            
            <patTemplate:tmpl name="author_my_reviews" visibility="hidden" varscope="author_review_header">
            <!--<br /><a href="{AUTHOR_MY_REVIEWS_URL}"><patTemplate:translate>_JR_VIEW_MY_REVIEWS</patTemplate:translate></a> -->
            </patTemplate:tmpl>

May not be the cleanest solution, but I would prefer not to redesign the pat template system.

I may update the code to actually remove the lines not just comment them out.

Thanks!


Title: Re: Comments on Template Layout
Post by: Alejandro on December 11, 2007, 04:06:20 PM
You don't need any code inside the template, just what I put in my previous post.


Title: Re: Comments on Template Layout
Post by: eskwire on December 11, 2007, 04:08:35 PM
Thanks for the confirmation.

When I thought about it I realized it was just extra text.  I removed all of the extra code and not the template is much cleaner.

Thanks!