Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 25, 2012, 09:35:27 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155484
Posts in
21709
Topics by
7735
Members
Latest Member:
love7ddora
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
New Module - MultiPart Page
Pages:
1
[
2
]
Go Down
Author
Topic: New Module - MultiPart Page (Read 6085 times)
amac44
Offline
Posts: 12
Re: New Module - MultiPart Page
«
Reply #25 on:
November 01, 2010, 12:05:40 AM »
This is cool. What I'm really looking for is something like this that could have multiple types, as it seems here that any user defined fields are single line texts. Would be nice if I could specify type (single line text, text box, image, radio, checkbox, dropdown ...) along with the field names. Nice work though.
Logged
Argos
Moderator
Offline
Posts: 2156
Re: New Module - MultiPart Page
«
Reply #26 on:
November 03, 2010, 01:09:06 AM »
I agree, that would be a huge improvement (on this already very handy module)! Maybe Ruud will come up with something like that in the future
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Availor
Offline
Posts: 225
Re: New Module - MultiPart Page
«
Reply #27 on:
November 14, 2010, 09:10:37 AM »
I'll second that. In such a way it will be possible to create complicated sites like realestate sites where the custom fields are used to describe the item/product.
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2295
Re: New Module - MultiPart Page
«
Reply #28 on:
November 14, 2010, 02:55:18 PM »
Quote from: amac44 on November 01, 2010, 12:05:40 AM
This is cool. What I'm really looking for is something like this that could have multiple types, as it seems here that any user defined fields are single line texts. Would be nice if I could specify type (single line text, text box, image, radio, checkbox, dropdown ...) along with the field names. Nice work though.
I doubt this will ever happen
Along all of these types, you will also need configurations for all of them (name / type / option-lists / sizes). It would need much more management tools and storing options to do this.
On the other hand, if someone sees a good and simple way to do something like that.. droplets maybe?
Logged
Professional WebsiteBaker Solutions
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2295
Re: New Module - MultiPart Page
«
Reply #29 on:
December 17, 2010, 10:57:13 AM »
Today I released a new version (0.1.5). [
download
]
Starting with this version it is possible to use some of the GLOBALS of website baker in the fielddata, wysiwyg and the template.
The way to do it is by adding the global name, enclosed in %. This way you can add the page title as
%PAGE_TITLE%
or the current logged-in user as
%DISPLAY_NAME%
.
A list of supported variables can be found on the help pages:
http://multipage.allwww.nl/pages/help/websitebaker-globals.php
Ruud
Logged
Professional WebsiteBaker Solutions
snark
Guest
Re: New Module - MultiPart Page
«
Reply #30 on:
December 17, 2010, 09:41:45 PM »
What happens / will be visible when using a session variable and someone that is not logged in looks at the page, is there a standard replacement?
It would be nice if the personalized options would return a standard value like 'visitor' if watched by a not logged in person, as far as we know Ruud, it might be the case allready ...
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2295
Re: New Module - MultiPart Page
«
Reply #31 on:
December 17, 2010, 11:07:18 PM »
Quote from: snoork on December 17, 2010, 09:41:45 PM
It would be nice if the personalized options would return a standard value like 'visitor' if watched by a not logged in person, as far as we know Ruud, it might be the case allready ...
If there is no login, it will be replaced by blank.
I cannot use "visitor", because a Swahili webmaster might not like that.
You can always use the "Droplet method" to do the same thing.
[[showuser]]
return isset(
$_SESSION
(
'DISPLAY_NAME'
) ?
$_SESSION
(
'DISPLAY_NAME'
) :
"Visitor"
;
Logged
Professional WebsiteBaker Solutions
snark
Guest
Re: New Module - MultiPart Page
«
Reply #32 on:
December 18, 2010, 10:56:47 AM »
In some newsletter applications i have seen troughout the year i saw comparable functionality for personalisation, the good ones offered fields to fill in a standard for when f.e. No name was submitted.
Maybe you can add a settingspages for the variables where the swahili man cal fill in "mgeni" , dutch man can fill in "bezoeker" and the english man can fill in "visitor".
I and a lot of others will be able to work with droplets but for a lot of clients droplets are scary as it looks like programming etc...
«
Last Edit: January 24, 2011, 02:30:50 PM by Argos
»
Logged
Availor
Offline
Posts: 225
Re: New Module - MultiPart Page
«
Reply #33 on:
January 24, 2011, 01:37:06 PM »
I tried tweaking the DB but didn't quite make it out: I wanted to create something like real estate website, where the pages are replaced with MultiPart page module. This it will use the custom fields as tags like number of rooms, bathrooms etc. The only part that is missing is a search option to be able to sort it later on.
Logged
Argos
Moderator
Offline
Posts: 2156
Re: New Module - MultiPart Page
«
Reply #34 on:
January 24, 2011, 02:32:06 PM »
I think Ruud has a custom module for this kind of catalogs. please ask him about it.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Paul - Westhouse IT
Offline
Posts: 63
Re: New Module - MultiPart Page
«
Reply #35 on:
February 21, 2011, 02:58:32 PM »
Ruud's website has been down for a few days now, and websitebakers doesn't have the latest version. Anyone mind sending it to me?
Logged
Westhouse IT - Professional WebsiteBaker developers for hire.
Argos
Moderator
Offline
Posts: 2156
Re: New Module - MultiPart Page
«
Reply #36 on:
February 21, 2011, 03:00:42 PM »
No problems on this side with the site. Please try:
http://multipage.allwww.nl/pages/download.php
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2295
Re: New Module - MultiPart Page
«
Reply #37 on:
February 21, 2011, 03:07:49 PM »
The server has been offline for a few days.. It is back online again since this morning.
Logged
Professional WebsiteBaker Solutions
Paul - Westhouse IT
Offline
Posts: 63
Re: New Module - MultiPart Page
«
Reply #38 on:
February 21, 2011, 03:09:47 PM »
I'm glad it's back up and running.
Thanks.
Logged
Westhouse IT - Professional WebsiteBaker developers for hire.
Olli
Offline
Posts: 290
Re: New Module - MultiPart Page
«
Reply #39 on:
May 11, 2011, 07:19:20 AM »
hi ruud,
thank you very much for sharing this nice module.
this is so flexible when using it with global blocks and custom output.
but the frontend.js and/or forntend.css does not get included properly. is this a confirmed bug? i took a look at the code and maybe the logical operator is too strict for including these files?
hmm... can you confirm this?
thanks
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2295
Re: New Module - MultiPart Page
«
Reply #40 on:
May 11, 2011, 01:14:26 PM »
The frontend.css/js should not be included by the module at all.
Your template should have the definition where frontend.css and .js are included.
(see:
http://www.websitebaker2.org/en/help/designer-guide/enhanced-template-elements.php#anker5
)
Many modules still have some option for old (< WB2.7) templates, where very often the frontend.css is included twice, resulting in invalid html.
If it does not work becuse of the "global blocks" method used, you can always add the css in your standard template css file.
Logged
Professional WebsiteBaker Solutions
Olli
Offline
Posts: 290
Re: New Module - MultiPart Page
«
Reply #41 on:
May 17, 2011, 01:32:54 PM »
hey ruud,
oh yes i see there is no frontend.css at all..
it is loaded directly from the database...
is there an approach to make it XHTML compatible to load CSS definitions inside the <head>?
thanks
Logged
Olli
Offline
Posts: 290
Re: New Module - MultiPart Page
«
Reply #42 on:
May 19, 2011, 11:50:56 AM »
hey there,
i patched the multipart page using these two lines in the view.php for valid XHTML-output:
search for:
Quote
echo $css.str_replace($vars, $values, stripslashes($settings['template']));
replace it with:
Quote
opf_register_fronte
nd_files($css, 'css');
echo str_replace($vars, $values, stripslashes($settings['template']));
aditionally you need to install the admin extension "output filter dashboard" to be able to move the CSS into the <head> ... </head> before the output starts...
see here for the documentation:
http://nettest.thekk.de/docs/opf/files/EN/intro-txt.html
@ruud: maybe you can check for the function existance inside the view.php and include this to the next release so this feature becomes optional depending on the filter beeing installed or not?
thanks to all who helped
Logged
Pages:
1
[
2
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...