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

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • installing wb 2.8.x from svn 1364 remarks
  • Print
Pages: [1]   Go Down

Author Topic: installing wb 2.8.x from svn 1364 remarks  (Read 5661 times)

Offline pcwacht

  • Posts: 2923
  • Gender: Male
    • Dutch ICT info
installing wb 2.8.x from svn 1364 remarks
« on: May 26, 2010, 11:46:21 AM »
installed a fresh svn 1364 and some things need thoughts

backend, settings -> advanced settings
1 - Module-order for searching: still filled with faqbaker,manual,wysiwyg
faqbaker and manual are non standard modules, no need to include them
much better to default to news,wysiwyg

2 - Section-Anchor text: is filled with wb_
better to leave this empty as default, hardly anyone uses this.
can't make this empty, it''l revert to old value
empty is needed to get rid of the anchorlinks in the output!!
Now phpmyadmin is needed


John



 
Logged
http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: installing wb 2.8.x from svn 1364 remarks
« Reply #1 on: May 26, 2010, 12:49:17 PM »
Hi John.

SVN is not a release. SVN is the floating develop environment.

1 - search_module_order is preset in install.php. This part is not touched yet.

2 - the mandatory setting for 'sec_anchor' is needed to generate valid anchor-id and anchor-name (must start with a alpha-char). This is to prevent 'normal' users without knowledge about naming s.o.. If somebody really wants to remove the anchors from final output, it can be done with a outputfilter-droplet using a simple regular expression like

Code: (Droplet: RemoveSectionAnchors) [Select]
<?php
  $wb_page_data 
= preg_replace( &#39;/<a class=\"section_anchor\" id=\".*><\/a>/iU&#39;,  $wb_page_data );
  
return &#39;&#39;;
?>

Insert this droplet somewhere in the mytemplate/index.php.
The droplet-tag will be removed and the output of WB is free of section_anchors.

Werner
« Last Edit: May 26, 2010, 01:05:27 PM by DarkViper »
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline pcwacht

  • Posts: 2923
  • Gender: Male
    • Dutch ICT info
Re: installing wb 2.8.x from svn 1364 remarks
« Reply #2 on: May 26, 2010, 02:12:41 PM »
1 - search-order
I know it isn't touched, I know it is svn. Being here a while!
Just saying it should be touched or thought about instead of not touching it.

2 - sec_anchor
You say, generate then use extra code for remove?
much easier solution not to generate the anchor at all is emptying the variable
you can't empty it with current svn, with 280 it was possible to save it empty, with svn 1305 allso
Allso I never get the idea of generating a valid anchor-id and anchor-name per section. Seem not needed in most cases.


John


PS
Glad you explained the working of a droplet to me :P being one of the authors :P :P
Logged
http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....

Offline pcwacht

  • Posts: 2923
  • Gender: Male
    • Dutch ICT info
Re: installing wb 2.8.x from svn 1364 remarks
« Reply #3 on: May 27, 2010, 11:34:17 AM »
Other issue

backend -> preferences ->
username and emailaddress are saved in the db table users but not visible in preferences screen.

Logged
http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: installing wb 2.8.x from svn 1364 remarks
« Reply #4 on: May 28, 2010, 02:31:56 AM »
Hi John,

First tks for testing,

Quote
backend -> preferences ->
username and emailaddress are saved in the db table users but not visible in preferences screen.

i can't reproduce

Quote
with 280 it was possible to save it empty

Now again it can save it empty, if not empty it will be check of beginning with a letter

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

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • installing wb 2.8.x from svn 1364 remarks
 

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