Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:33:40 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155535 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: installing wb 2.8.x from svn 1364 remarks  (Read 975 times)
pcwacht
AddOn Development
*
Offline Offline

Posts: 2859



WWW
« on: May 26, 2010, 10: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.....
DarkViper
Development Team
*****
Offline Offline

Posts: 1252


« Reply #1 on: May 26, 2010, 11:49:17 AM »

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)
<?php
  $wb_page_data 
preg_replace'/<a class=\"section_anchor\" id=\".*><\/a>/iU',  $wb_page_data );
  return 
'';
?>

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, 12:05:27 PM by DarkViper » Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
pcwacht
AddOn Development
*
Offline Offline

Posts: 2859



WWW
« Reply #2 on: May 26, 2010, 01: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 Tongue being one of the authors Tongue Tongue
Logged

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

Posts: 2859



WWW
« Reply #3 on: May 27, 2010, 10: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.....
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #4 on: May 28, 2010, 01: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

We are human beings - and nobody is perfect at all.
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!