Add topic image

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Add topic image

Mencey Melgar
For pinned topics i saw that there are a red pin, but non pinned topics have no image at their left(mixed style http://forums.6326.n7.nabble.com/Reports-f16.html), i want to know if there is a way to add the image like in the board or category style(category style http://forums.6326.n7.nabble.com/Greetings-f3.html), it seems strange without it :P

Thanks
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Add topic image

GregChapman
The two formats, "Mixed" and "Category" are deliberately different in style.

In your Mixed example you have no pinned topics, only pinned sub-forums.  If you go to your top level forum and start posting a significant number of unpinned sub-forums and topics you'll begin to understand why it is felt that don't need a graphic for an unpinned topic. It should be the norm. Pinned items are expected to be rare "highlighted" unusual items which have the graphic for added emphasis.

However, if, once your form begins to fill with traffic, it continues to offend your eye, you could always edit the NAML code to add that same Category graphic.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Add topic image

Mencey Melgar
thanks, i have already try via naml, but i couldn't find how to set it, anyway i'll still searching :)
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Add topic image

Mencey Melgar
I found how to do it, if anyone have the same problem:

-See how naml generates this page(from a mixed page) > view_mixed_page > view_mixed_html > mixed_table_colums > Pin_column.

- add at line 9 "<n.if.current_node.is_app>
                        <else></else>
                    </n.if.current_node.is_app>

I really like nabble!!
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Add topic image

GregChapman
Glad you found the solution. As you're obviously a good code hacker here's a tip...

It's always best to put code fragments in < raw>...< /raw> tags (under the "More v" button) so you can see the source and not have graphics and certain other code interpreted.

Nabble offer something better still in this support forum. Use this form of opening tag:

< raw class='xml' name='code'>

(Note: Throughout the text above, I have added a space after the opening < in tags in order to make them appear within the message.)

then your code appears like this:
<n.if.current_node.is_app>
                        <else><img src="/images/thread.png" width="20" height="18"/></else>
                    </n.if.current_node.is_app>
The line numbers and syntax highlighting make it far easier to describe the important features of your code to others and, if you use the "Plain text" link you'll find that, in most browsers, the code appears in a new window where it is easy to select, copy and paste.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Add topic image

Mencey Melgar
Lol, I didn't check my message after posting it.
Thanks! I'll use it :)
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Add topic image

Pedro
Nice solution!
My test forum.