41
alain01
Re: Most current Xoops 2.5.11
  • 2021/10/1 14:47

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


ok,
Glad you're using and developing your own modules.

For the submitted content, the group management allows you to easily adapt the module to your needs.
You just have to let only the webmaster group manage the edition / modification / deletion of the content.
And in the general preferences of the module, if it is well done, you can deactivate comments and votes for the whole module.
The xmnews module manages it perfectly, for example.

Concerning your own modules, do you propose them to share ?



42
alain01
Re: Most current Xoops 2.5.11
  • 2021/10/1 10:21

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
for a basic webmaster,
the answser is always the same :
The stable version is the 2.5.10 version.

But for advanced webmaster, sure,
xoops 2.5.11 comes with lot of improvement.

For modules, could list your modules ?
I think the best choice is to choose maintained modules,
I mean, with full fonctionalities on XOOPS 2.5.11.

There are several modules like that, for exemple, the xmodules.
So may be it's better for the future that your check your modules and watch ig you keep them or update to new modules...

For xoops, Know that monxoops.fr use a 2.5.11 beta 2 version.



43
alain01
Re: Need help to add a dark/light button in a theme
  • 2021/9/25 23:46

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Yes, I saw that when I was confronted with the problem I am indicating here.
So I looked it up but didn't understand the code for switching colours.
We use the style variable (values : orange / silver / dark) but how does it work ???

In fact I found Richard's code very simple for the toggling of Display / Hide toolbar and the display of the associated icon in the xswatch4 theme



44
alain01
Need help to add a dark/light button in a theme
  • 2021/9/24 13:20

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
Firstly,
I am completely new to this.

I had an idea:
Offer a button on the theme to switch from light to dark mode.
I was inspired by what Richard did with the xSwatch4 theme and the toggle to show or hide the toolbar

I started the code based on his work but I have no javascript skills.

Here is what I did:
In the nav-menu.tpl file
I added line 6:
<class="btn btn-secondary" href="javascript:xswatchLightingToggle();" role="button"><span id="xswatch-lighting-ind"></span></a>


then at the end of the same file, I added a script:

<script type="text/javascript">
    
// Alain
    
    
function xswatchLightingIndLight() {
        $(
'#xswatch-lighting-ind').attr('class''fa fa-sun-o fa-fw');
    
//    $('#xswatch-lighting').show();
        
$('#$xswatchCss == 'css-cerulean');
    }
    function xswatchLightingIndDark() {
        $('
#xswatch-lighting-ind').attr('class', 'fa fa-moon-o fa-fw');
    //  $('#xswatch-lighting').hide();
        
$('#xswatchDarkCss == 'css-slate');
    }
    function xswatchLightingToggle() {
        var lighting_cookie = Cookies.get('
xswatch-lighting');
        if (lighting_cookie == '
off') {
            lighting_cookie = '
on';
            xswatchLightingIndLight();
        } else {
            lighting_cookie = '
off';
            xswatchLightingIndDark();
        }
        Cookies.set('
xswatch-lighting', lighting_cookie, { expires: 365, sameSite: 'strict' });
    }
    // set initial conditions based on cookie
    var lighting_cookie = Cookies.get('
xswatch-lighting');
    if (lighting_cookie == '
off') {
        xswatchLightingIndDark();
    } else {
        xswatchLightingIndLight();
    }
</script>


I know that the code
$('#xswatchDarkCss == 'css-slate');

is not correct, but i dont know How to do that...

So I need some help !

Thank you



45
alain01
Tutorial "Using WAMP Neard with XOOPS"
  • 2021/9/23 14:26

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Now, you can read in english language this tutorial :

Using WAMP Neard with XOOPS

Enjoy it !



46
alain01
Re: Using Font Awesome icons in a XOOPS theme
  • 2021/9/22 10:15

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


1 from Italia, 1 from Austria !
Nice

Hey Goffy, did you read it in french or in english language ?



47
alain01
Using Font Awesome icons in a XOOPS theme
  • 2021/9/19 18:44

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,

on monxoop.fr, you can read a tutorial on
"Using Font Awesome icons in a XOOPS theme" (english).

French tutorial : "Utiliser les icônes Font Awesome dans un thème XOOPS"

Read, learn, test, apply, and enjoy!

Alain



48
alain01
Re: xSwatch4 tutorial
  • 2021/9/13 22:30

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Published on monxoops.fr and very soon here.

Enjoy the xSwatch4 tutorial (english and french language).

Here the news !



49
alain01
Re: xSwatch4 tutorial
  • 2021/9/13 15:38

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


15/15 !
I need to write a news then this tuto will be available...



50
alain01
Re: xSwatch4 tutorial
  • 2021/9/9 22:23

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Check done.
Traduction: 6/15




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



Login

Who's Online

156 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 156


more...

Donat-O-Meter

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

Latest GitHub Commits