PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 26th, 2010, 08:12 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 35
vb4 template cathead.tmpl

RP5.1 and vB 4.0.7

When navigating to a category w/ products (showcat.php) the top table's formatting is thrown off.

After most of the day debugging, it looks like the cathead.tmpl may have issues.

The very bottom, after the final </table> and </div> tag looks like this:

</table>
</div>
<ol class="childforum">
<li class="forumbit_nopost">

<div class="forumrow table">
<!-- END TEMPLATE: cathead.tmpl -->
PPPRINT;

?>

and those tags should be up near the front of the file. Not to mention, there is not a close tag for the form (</form>) that is at the top of the template. This is compared to the indexhead.tmpl which has this at the end:

</table>
<!-- END TEMPLATE: indexhead.tmpl -->
PPPRINT;
}

echo<<<PPPRINT
</div>

</div>

</li>
</ol>

</li>
</ol>
<br />
<!-- END TEMPLATE: indexhead.tmpl -->
PPPRINT;
?>

I JUST downloaded another copy of RP, and got this out of that template just to make sure it wasn't something I introduced.

Thanks
-t
todknight is offline   Reply With Quote
Old September 26th, 2010, 08:35 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
You can not compare cathead and indexhead templates

Dry-Goods Dealers - Reeftalk Reviews

Please explain how your formatting is off

The cathead at top opens up properly 2 ol and li statements and they are closed in the showcat template

As you see things look properly formatted from what I can see on my end. We use the same structure in all 3 products.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2010, 08:37 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 35
finally got it working

Bottom of the template is messed up and there is also an issue w/ the forumhead div at the top and a missing div (these may have been the bits at the bottom of the template). This is what I got to work:

top lines (beginning to the first <form ):
<?php

echo<<<PPPRINT
<!-- BEGIN TEMPLATE: cathead.tmpl -->
<ol class="floatcontainer" id="cathead"><!--ReviewPost, Copyright All Enthusiast,Inc. REPLACEME -->
<li class="forumbit_nopost" id="cathd">
<div class="forumhead foruminfo L1">&nbsp;</div>

<ol id="cathd_1" class="childforum">
<li class="forumbit_post">

<div class="forumrow table">
<div class="blockrow">

<form method="get" action="{$Globals['maindir']}/showcat.php">


very bottom lines (from </form to the end):

</table>
</form>
</div>
<br />
<!-- END TEMPLATE: cathead.tmpl -->
PPPRINT;
?>
todknight is offline   Reply With Quote
Old September 26th, 2010, 09:19 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
You may do as you wish but we can not support that. I have shown you my site running the default code. There is no missing form elements nor issues one can see.

This is the cathead template in our downloaded code

Code:
Content visible to verified customers only.
If your template does not look like this you are not using the latest downloaded code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2010, 09:26 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 35
and one tweak

I have several cats/sub-cats and the breadcrumbs get kind of long, throwing off the formatting.

The bit below in bold helps. These are all the lines at the top of cathead.tmpl:

echo<<<PPPRINT
<!-- BEGIN TEMPLATE: cathead.tmpl -->
<ol class="floatcontainer" id="cathead"><!--ReviewPost, Copyright All Enthusiast,Inc. REPLACEME -->
<li class="forumbit_nopost" id="cathd">
<div class="forumhead foruminfo L1">&nbsp;</div>

<ol id="cathd_1" class="childforum">
<li class="forumbit_post">

<div class="forumrow table">
<div class="blockrow">

<form method="get" action="{$Globals['maindir']}/showcat.php">
<table cellpadding="2" cellspacing="1" width="100%">
<tr>
<td align="{$Globals['align1']}" colspan="$cols">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="{$Globals['align1']}" class="{$Style['menubarnb']}">
<span class="smallfont">&nbsp;$childnav</span>
</td>
</tr>
<tr>

<td align="{$Globals['align2']}">
PPPRINT;

include( "{$Globals['TMPL_PATH']}/searchbox.tmpl" );
....

Last edited by Chuck S; September 26th, 2010 at 09:38 PM.
todknight is offline   Reply With Quote
Old September 26th, 2010, 09:39 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
well your bold part would help your issue but your getting kinda complicated why not simply do what I posted in your post.

I edited your post simply placing the searchbox in a new table row. You do not need a colpan or some empty td. The td already has an align right which is what align2 is
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2010, 10:06 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 35
i guess it is a matter of consistency and preference

You are correct, my site was working and looking like yours.

However, as users navigated into categories, I would prefer the top portion look the same.

Before I changed it, the top-level and category-only levels, had a white background and blue-text breadcrumbs, but when you got to a category with products, the header section was blue (colored) with blue (colored) text -- in my style, the text was indistinguishable from the background.

Now, my header is the same, whether it is the top level, a category with only sub-categories, or a category with products in it.

See the screen-shots for a top, cat-with-sub-cats, and cat-with-products navigation -- the top portion w/ breadcrumbs is the same...
Attached Images
File Type: jpg msr-header.jpg (92.5 KB, 4 views)
File Type: jpg msr-cat.jpg (46.2 KB, 4 views)
File Type: jpg msr-cat-prod.jpg (50.7 KB, 4 views)
todknight is offline   Reply With Quote
Old September 26th, 2010, 10:08 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 35
that's what i had, but i couldn't see the text on the colored background, and the search section gets thrown-off.
todknight is offline   Reply With Quote
Old September 26th, 2010, 10:54 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
well thanks I will do my own testing and see what I come up with. I guess we shall see whether the color issues are with a custom style etc. The work I have done is with the default vb style.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2010, 07:19 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 35
That's cool.

Question -- so is creating custom templates not supported? I've been trying to steer clear of modifying the php files and keeping to the templates.
todknight is offline   Reply With Quote
Old September 27th, 2010, 08:06 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
You can modify anything you wish when you own a license however we only support the code we release and is in our download area. Pretty much the same policy as any software company. vbulletin has the same policy.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit CatHead: Remove Bold, Change Link Color TMSBrad Classifieds How do I...? 8 May 26th, 2010 11:59 AM
Move Search box from Cathead to menubar theojones ReviewPost How do I...? 3 May 26th, 2009 09:17 PM
Error in template vb3enhanced/calpal.tmpl Andy R ReviewPost Pro Support Forums 1 April 22nd, 2009 10:27 AM
embed-qt.tmpl Template - Broken Javascript ryand789 Photopost Pro Bug Reports 0 December 22nd, 2006 06:33 PM


All times are GMT -5. The time now is 04:38 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0