 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
March 28th, 2005, 10:06 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2004 Location: Finland
Posts: 89
| vb3enhanced categories layout problem
Another problem.
If I use IE (latest) and have vb3enhanced enabled and use categories.tmpl from vb3enhanced directory the categories layout is messed (check attachments)
- images are missing (yes, I know how to fix that)
- titles are in wrong position
- extra cell
However if I use default categories.tmpl it looks fine and it looks like it's using vb3enhanced layout(!).
What could be wrong here?
Last edited by Mikan; March 28th, 2005 at 10:09 AM.
|
| |
March 28th, 2005, 10:28 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Specifically your using a language we dont support looks like to me.
What alterations have you done to use that language?
Other than telling you how to fix your broken x's from using Vbadvanced we dont support sites that are custom from our distribution.
Most likely since every other language we do support displays fine this would be a result of your specific edits to the files
|
| |
March 28th, 2005, 12:40 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2004 Location: Finland
Posts: 89
|
I have only done direct word by word translation so it's not possible that the problem is caused by translation.
And since both layouts are using same language files why the other one would look different?
And no, I'm not using VBadvanced (what makes you think I am?) I'm using basically VB 3.0.7 and RP 2.11.
So any other ideas?
Last edited by Mikan; March 28th, 2005 at 01:01 PM.
|
| |
March 28th, 2005, 12:57 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Apr 2004 Location: Finland
Posts: 89
|
Ok I tried with english language files.... same thing happens.
|
| |
March 28th, 2005, 01:00 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Apr 2004 Location: Finland
Posts: 89
|
But what I would like to know is since you have coded this program what could be wrong when those two different layouts look like that?
Last edited by Mikan; March 28th, 2005 at 01:15 PM.
|
| |
April 6th, 2005, 08:36 AM
|
#7 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
What are the paths that are causing the Red X's?
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 9th, 2005, 04:25 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2004 Location: Finland
Posts: 89
|
I'm still having that layout problem (v2.4)
Those missing images are not an issue any more but the layout looks like above.
I suspect this probably happens if you have a nested structure (sub-sub categories) like this:
For Sale (no ads)
--> Movies (no ads)
-----> Action (ads)
-----> Suspense (ads)
.....
Wanted (no ads)
-> Some other stuff (ads)
Donate
-> More stuff
Looks annoying....
Last edited by Mikan; July 10th, 2005 at 03:52 AM.
|
| |
July 9th, 2005, 09:08 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
The layout is suppose to look like above if I am following your post here subcats are indented from there parent. If you want a clean look for parent cats set them to contains thumbs to NO and then in options set cats with no thumbs to not show details and you will get the straight bar across with the parent cat name. Provides a cleaner look in my opinion
|
| |
July 10th, 2005, 03:50 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Apr 2004 Location: Finland
Posts: 89
|
Hmm... I already have set subcats like this "Contains Ads?" -> No
And then in options:
Index Options
Show post count and photo details for cats without thumbs? -> No
The weirdest thing is that the non- VB enhanced layout doesn't have this problem - it is the vb3enhanced layout where the subcats without ads look bad
Last edited by Mikan; July 10th, 2005 at 03:54 AM.
|
| |
July 10th, 2005, 04:30 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Apr 2004 Location: Finland
Posts: 89
|
Ok.. I spent the whole day yesterday trying to figure out how to solve this problem. Finally I think that I may have found the solution.
I compared again that categories.tmpl in templates directory and that same file in vb3enhanced. I wondered why there are some mystical differences when they basically should look the same (well, of course the obvious changes has to be there).
Now the fix (these added lines are from the categories.tmpl in templates directory so I haven't invented them myself... : )
edit vb3enhanced categories.tmpl
Find and edit - (bold lines are those that are added)
-------------------------
echo<<<PPPRINT
</tbody>
<tbody>
<tr> <td width="100%" colspan="5" class="{$Style['tdnothumbs']}" align="left">
<table width="100%" border="0">
<tr>
PPPRINT;
if ( $cats['indent'][$x] > 0 ) {
----------------------------
and then:
----------------------------
echo<<<PPPRINT
<td colspan="6" align="left">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('photo_$catcol');"><img id="collapseimg_photo_$catcol" src="{$stylepath}$s
<b>{$cats['catlink'][$x]}</b>{$cats['catdescript'][$x]}
</td> </tr>
</table>
</td>
</tr>
</tbody>
<tbody id="collapseobj_photo_$catcol" style="$colobj">
PPPRINT;
-----------------------------
Then you have to remove two "class="{$Style['tdnothumbs']}" but you'll get the idea.
Last edited by Mikan; July 10th, 2005 at 04:40 AM.
|
| |
July 10th, 2005, 11:11 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Whatever works for ya thats the beauty of being able to edit your templates.
Being a VB3 user myself I dont see an issue with this as I set things as I described above which is the same way you set it in a non vb3 layout to further define parents from children.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:21 PM. | |