WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Wher can i find the hello world module?
  • Print
Pages: [1]   Go Down

Author Topic: Wher can i find the hello world module?  (Read 16324 times)

Offline netraam

  • Posts: 47
Wher can i find the hello world module?
« on: September 24, 2023, 04:33:13 PM »
Does sombody know wher i can find the hello world module.
I can't find it on the addon's page.

thanks in advance,
Maarten
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Wher can i find the hello world module?
« Reply #1 on: September 24, 2023, 08:04:49 PM »
Sorry, due to ongoing adjustments to the new PHP versions and web server operating system, we no longer had the time to take care of the help page and the Hello World module. I think the Hello World module will also not be developed further.

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Wher can i find the hello world module?
« Reply #2 on: September 25, 2023, 12:47:06 PM »
i test this module in the latest version 0.61 from 2018. It works, but it is very simple and outdated and makes no sense for me, becauese, it use very old structures and code and also the phplib  with htt-files or direct output directly from the php-files. the future is twig. If you need an example, take a look into the new versions of modules in the latest core-package or load from the addons-area modules like accordeon, faqbaker or the admintool wbbackup. A very simple module with the new structure is th wrapper module.

if you've questions about this, feel free to ask, here or via pm
Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Wher can i find the hello world module?
« Reply #3 on: September 25, 2023, 06:21:01 PM »
Hello

Please take a look at WB module types.

https://help.WebsiteBaker.org/en/developer-guide/wb-module-types.php

Can you describe what do you need module for , so I can send you an example ?
Logged
Web developer

Offline netraam

  • Posts: 47
Re: Wher can i find the hello world module?
« Reply #4 on: September 30, 2023, 07:00:40 PM »
I the meantime i've already started with my module. It was a good sugestion to look at the other modules.
things are going better than I expected.
I'm trying to craete a simple photoalbum whitout a lot of settings.
The module must just scan a directory with photo's and than create an album of al the photo and subfolders in the folder.
So when you want to categories your photo's you just have to make subfolders.
I've already done this in php but now i want to use this in my wb website.
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Wher can i find the hello world module?
« Reply #5 on: October 01, 2023, 10:50:06 AM »
simple question: why not the foldergallery?

it's exact, what you want

Logged

Offline netraam

  • Posts: 47
Re: Wher can i find the hello world module?
« Reply #6 on: October 01, 2023, 01:16:43 PM »
I've installed foldergallery on my offline test server but it doesen't work. It gives me an error on the frontend page.

Code: [Select]
There was an uncatched exception
Call to undefined function wb_utf8_decode()
in line (28) of (\modules\foldergallery\class\DirectoryHandler.php)

So i'm unable to test it.
And another important thing, it's a good occasion to learn how to make WB-modules.
Logged

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: Wher can i find the hello world module?
« Reply #7 on: October 01, 2023, 01:36:07 PM »
Wich WB Version did you use? Foldergallery needs minimum PHP 2.13.0
Logged

Offline netraam

  • Posts: 47
Re: Wher can i find the hello world module?
« Reply #8 on: October 01, 2023, 02:21:20 PM »
My WB-Version is 2.13.3 r166.
In the meantime is solved the error with foldergallery.
When I replace  "wb_utf8_decode()" with " utf8_decode()" on the line where the erros is located everything works.
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Wher can i find the hello world module?
« Reply #9 on: October 01, 2023, 03:00:09 PM »
do you use a windows-server?

wb_utf8_decode() is a wb-intern function, defined in /framework/functions.php
Logged

Offline netraam

  • Posts: 47
Re: Wher can i find the hello world module?
« Reply #10 on: October 01, 2023, 03:21:55 PM »
Yes, my test server is a windows server (Uniform Server).
Logged

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: Wher can i find the hello world module?
« Reply #11 on: October 02, 2023, 06:50:15 AM »
Hello,

not shure, but an update to the latest WB Version should also have fixed this. Actually we have WB 2.13.4 r199, WB 2.13.5 r211 is ready and will be released in a few days (I hope).
Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: Wher can i find the hello world module?
« Reply #12 on: October 02, 2023, 08:41:25 AM »
In my opinion, the biggest problem is the Windows server.

As long as I am with WebsiteBaker (version 2.8.3) , a Linux/Unix server is highly recommended.
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Wher can i find the hello world module?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2