Did you force the postbit layout to horizontal for that forum?
I don't found "5. Force Postbit Layout: Force horizontal postbit layout"
I go in: ACP - Forum and messages - Market Forum - Edit setting forum - XThreads Options (note that these settings do not cascade down into child forums) and here I don't have Force Postbit Layout.
I have: Template Prefix, Language File Prefix, Thread Grouping, Show first post on every showthread page, Enable XThreads' Inline Forum Search, Offset forumdisplay {$colspan}, Settings Overrides, Override Posts Per Page, Hide Forum, Hide Forum in Breadcrumb Trail, Allow Blank Post Message, Don't include this forum's threads/posts in global forum statistics, Default Thread Filter, Custom WOL Text
thank you, now it is perfect!
I've updated the first post for using the
Settings Overrides setting.
Thanks
Hi, Can I put a default image for a section (ex. default image only for Hardware)?
Thank you
Do you mean when a user doesn't upload an image for their product?
You can try to edit the
Blank Replacement Value setting for your
trdfimg custom field. Use conditional there.
For example:
Code:
<if $GLOBALS['threadfields']['trdfcat'] == 'Hardware' then>
<img src="path_to_default_hardware_image" alt="Hardware" />
<elseif $GLOBALS['threadfields']['trdfcat'] == 'Software' then>
<img src="path_to_default_software_image" alt="Software" />
<else>
<img src="path_to_default_other_image" alt="Other" />
</if>
|
I had a similar thing and I did this:
I put this code in my blank replacement value and the user gets a different image based on the trdftnt value, I just put the images on my server, so if the trdftnt field value is buy it gets img buy.jpg.
Code:
<img src="images/{$GLOBALS['threadfields']['trdftnt']}.jpg" alt="" title="" />
|
Not better (probably worse) just a different approach.