Gallery-type issue

classic Classic list List threaded Threaded
8 messages Options
1j1
Reply | Threaded
Open this post in threaded view
|

Gallery-type issue

1j1
I have a test forum home page of Mixed type & one category is of Gallery type. There are 2 pinned topics & 2 forums (News & Introductions) with topics in them.   However, when a new topic is posted in any of those 2 forums - it gets displayed in a category too.
http://1j1.2328899.n4.nabble.com/fghjghjk-f3.html - basically I want that category to have only 2 topics & 2 forums without the content of those forums clogging the category.  How would I do that?  
Thanks in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Gallery-type issue

GregChapman
1j1 wrote
I have a test forum home page of Mixed type & one category is of Gallery type.
I can see that. I'm with you so far!
There are 2 pinned topics & 2 forums (News & Introductions) with topics in them.
I'm beginning to get lost.

I see three sub-forums of your root (Mixed) application, one is a Gallery and it is that which has two pinned topics. The other two are not called "News" or "Introductions" but have names that are a random collection of letters.
However, when a new topic is posted in any of those 2 forums - it gets displayed in a category too.
Now you've lost me!

In reality both "sub-forum" and "category" are the same commodity! The term changes because it seems Nabble thinks that it could be confusing having sub-forums described as sub-forums when the parent application may be a "Blog", "Gallery" "Newspaper" or anything but a "Forum".

The trouble is that there is not full separation of the terms. There are places where both are used. e.g. the "Options > Structure" menu on a "Mixed" application. The first item should read "Create a sub-forum a.k.a. category" and the third "Manage sub-forums a.k.a. categories". I am beginning to think that this is what is confusing you.

Can you redefine/clarify the problem you are experiencing.
That URL takes you to your sub-forum/category set up as a Gallery application
basically I want that category to have only 2 topics & 2 forums without the content of those forums clogging the category.  How would I do that?
Now that's the question I don't understand as it seems to be based on a misunderstanding about a non-existent difference between categories and forums.

It would also be a lot easier to follow what you are trying to achieve if your test forum had some kind of "real" topic and posts had real-word titles, a sentence or two of content and a number of different users making posts/replies/comments. At the moment every thing looks like the proverbial monkey making his first attempts to write the complete works of Shakespeare.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
1j1
Reply | Threaded
Open this post in threaded view
|

Re: Gallery-type issue

1j1
Greg, I'm talking about the problem in http://1j1.2328899.n4.nabble.com/fghjghjk-f3.html category that's of Gallery type.
There are 2 pinned topics ("video" & "topic") & 2 child forums ("News" & "Introductions") - at least, that's what I want to see.
But instead of just those 2 forums I see all topics from them in "fghjghjk" category! I tried in various ways but still no result.

And don't mind the random letters & numbers in titles & contents - those are really not important to me in a test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Gallery-type issue

GregChapman
Hi,

Ah! Got it now! Complete misunderstanding on my part!

That's mainly because I have never used the Gallery application beyond my test forum, and in that have removed the sidebar from my example. I find the application unsatisfactory and I haven't the NAML coding skills necessary to change it to the way I would like it to work.

My chief objection to it, in its standard form, is that there is no way to navigate from one post in a gallery to the next. You always have to return to the parent application and secondly - and this is related to your question -  if you do without the side bar there is no way to navigate to a "subcategory" without going via an image in that sub-category.

In short the Gallery application is designed to mix posts from various sub-forums and display them on a single screen - a little bit like "Topics View" in a "Forum" application, where everything is shown in date order with a column that links to the appropriate sub-forum.

To do what you want to do you have to use other applications - and then, of course, you lose the gallery style image previews. In fact, all the "sidebar applications", i.e. Gallery, Blog and Newspaper have this same feature - showing posts from all sub-forums/categories (and issue when you remove the sidebar.)
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
1j1
Reply | Threaded
Open this post in threaded view
|

Re: Gallery-type issue

1j1
GregChapman wrote
In short the Gallery application is designed to mix posts from various sub-forums and display them on a single screen - a little bit like "Topics View" in a "Forum" application, where everything is shown in date order with a column that links to the appropriate sub-forum.

To do what you want to do you have to use other applications - and then, of course, you lose the gallery style image previews. In fact, all the "sidebar applications", i.e. Gallery, Blog and Newspaper have this same feature - showing posts from all sub-forums/categories (and issue when you remove the sidebar.)
Hi, Greg! Well, sadly to hear that but it answers my question.
I wanted that category to "work" like if it's of Category-type of application, but to have it of Gallery-type because I can see those 2 topics as pics (if they contain pics) which in result would display those pics also on home page of Mixed-type, so the whole site won't look bland.  Too bad the 2 can't go along together...  unless there's a solution that won't affect changing the structure of whole site.

Maybe it's actually possible to make Gallery-type work like Category-type by some tweaks in the code?
Reply | Threaded
Open this post in threaded view
|

Re: Gallery-type issue

GregChapman
1j1 wrote
Maybe it's actually possible to make Gallery-type work like Category-type by some tweaks in the code?
I am sure that is the case - but you'll need guidance from a NAML expert, and that's not me.

(I learnt my BASIC in the 1970s and used to regard myself as proficient in Z80 assembly language, but that doesn't help much these days, so now I only claim reasonable proficiency is in HTML and CSS :-( )
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: Gallery-type issue

Pedro
I guess the best tweak you can do in this case is edit your sub_section macro. Setting the gallery length on 2:
<n.if.current_node.type equals="gallery">
    <then.current_node.gallery_section length="2"/>
    <else> 
My test forum.
1j1
Reply | Threaded
Open this post in threaded view
|

Re: Gallery-type issue

1j1
Well, that limited it to only 2 pinned topics being displayed as pics on home page, but inside that Gallery is still a mess of topics from "News" & "Introductions" category...
I guess I'll just change the site structure then.  But thank you anyway!