31
alain01
Re: Module translation and special characters
  • 2021/11/30 23:33

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


???

What ?

You mean that ""Topics manager" should be "Topics_manager" to avoid a bug?
lol ?
We can't write "Topics_manager", not in 2021, it's not a variable, it's a label displayed for the webmaster.



32
alain01
Re: Tag 2.35.0 Beta 2
  • 2021/11/30 9:10

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


Ok!
Too bad but thanks for the answer.
So I will use "-".
Here, "Tennis-de-table".

This module, which I didn't really know, can really be very useful.
Via email exchanges, you gave me a very good example.
It would probably be good to give this kind of example so that webmasters can understand the usefulness of this module.

To be honest, I thought this module was a bit like a word cloud.
It's not and your example is very good.
So I urge webmasters to use this module, check that the modules you use have the plugin tag https://github.com/XoopsModules25x/tag/tree/master/plugin,
otherwise open an issue on the module you want the plugin tag



33
alain01
Re: Tag 2.35.0 Beta 2
  • 2021/11/29 21:49

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


Hi,
I test tag 2.35beta 3,
all is ok but i want to add a tag with space.

For example: tennis de table
Tag generated:
- de
- table
- tennis

I try with: "Tennis de table"
Tag generated:
- de
- \"tennis
- table\"

Tennis-de-table is ok but i dont want to use the "-" charactere

Is there a solution for that ?



34
alain01
Re: My overloads of the templates search.tpl and userinfo.tpl
  • 2021/11/11 17:34

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


Thank you.
Here, The relevant PR : https://github.com/XOOPS/XoopsCore25/pull/1124



35
alain01
Re: Home Page
  • 2021/11/11 10:53

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


Ok, well done !
Is the website visible? (url ?)



36
alain01
Re: Home Page
  • 2021/11/6 21:09

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


Using custom blocks is indeed much easier.
No need for php.
As Mamba proposed in his first answer, there is the solution to act in the theme.tpl file

The best is to use the available tools which are the management of the custom blocks but if we want to use tpl files, we could do this :

In the theme.tpl
<{if $xoops_page == "index"}>
    <{include 
file="$theme_name/tpl/my_content.tpl"}>
<{/if}>
and in the file my_content.tpl
<{if $xoops_isuser|default:false}>
     <
h3>My content for members</h3>
    <
p>Content here</p>
<{else}>
     <
h3>My content for anonymous</h3>
    <
p>Content here</p>
<{/if}>



37
alain01
Re: Home Page
  • 2021/11/6 18:40

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


There is a very simple solution.
You just have to add 2 custom blocks only on the homepage and on the top for example.
"block-anonynous" : with content and visible only to anonymous people
"members-block" : with content and visible only for connected members.
This is a very simple and effective solution.

Do you understand the principle?



38
alain01
Re: Most current Xoops 2.5.11
  • 2021/10/25 7:48

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


Hey,
you can change this jgrowl redirection, here:

/modules/system/admin.php?fct=preferences&op=show&confcat_id=1#redirect_message_ajax1



39
alain01
My overloads of the templates search.tpl and userinfo.tpl
  • 2021/10/22 12:48

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


I just finalized the overload of the templates search.tpl (Module system) and userinfo.tpl (Module profile).

- I added an "automatic" image overload mode.
If image overloading is present then use it otherwise use the default image

- I modernized the page with a presentation by module in cards
I also changed the location of some elements in order to have an optimal reading

- I replaced "<< Previous Next >>" with nice buttons.
They are now always visible and are simply disabled if the Next or Previous page does not exist

- I also optimized the width and so now the display is responsive.

Links :
Search:
https://www.monxoops.fr/search.php?query=xswatch4&action=results&lang=english
Userinfo :
https://www.monxoops.fr/modules/profile/userinfo.php?uid=2&lang=english

Please leave your comments and suggestions.

Finally, once completed, I could propose a Pull Request of these 2 templates in the xswatch4 theme in the core



40
alain01
Re: Overload the images on the search.php page
  • 2021/10/21 7:37

  • alain01

  • Just can't stay away

  • Posts: 544

  • Since: 2003/6/20


Ok, so much the better, this solution was my preference.
Thank you for this information on good practices




TopTop
« 1 2 3 (4) 5 6 7 ... 40 »



Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!