Loading...
 
Features / Usability

Features / Usability


[SOLVED] Changing Banner deppending by ...

posts: 12

Hello again,

I keep doing more tests and learning more and more. Now it has occurred to me following a little the example that I had in the other topic that I opened (https://tiki.org/tiki-view_forum_thread.php?comments_parentId=71105&threadId=71256&thread_sort_mode=commentDate_asc#threadId=71256) according to the football, basketball and tennis categories, if I could change the logo depending on the categories.

I have achieved this through the categories, when I enter a page of a wiki that belongs to football, the football logo appears. This I have achieved by creating 3 different personalized modules, 1 for soccer, another for basketball and another for tennis, and in its parameters I indicate the categories where it has to be shown.

I have a category module, where only the categories to which it belongs will appear.

The problem that I have is that when they access tiki-browse_categories.php (through the module) when they are not within the category, they do not show the custom module that I created.

Is there any way to fix it?

a greeting

posts: 12

Another solution that I found, is to add logo modules, and only allow the corresponding groups.

But I have a problem, which is that, by default, I want the football logo to be visible, and the basketball logo, for example, if the user of the basketball group accesses. By always showing the football logo module, and containing the Registered and Anonymous group, you will see the two modules.

Therefore the question regarding this solution is:
Would it be possible to add a module where only anonymous and registered users can see it?

a greeting


posts: 12

I have found the solution.

I put it because in case some day someone who has the same question is with this post can have the solution.

I activated the option of themes by groups (I did not know it existed) and with that I have assigned the subject that I wanted to the group. In my example, I have only set up football so that when the users that belong to that group enter, load the soccer theme. The others, having no configured anything will load the default theme of the site.

Regarding the logo, I have duplicated the default theme, and with a CSS selector I change the logo that I want to put on.

The more you touch and try, the more things you discover.

Greetings and thanks anyway