Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:35:27 AM

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
* Home Help Search Login Register
Pages: 1 [2]   Go Down
Print
Author Topic: New Module - MultiPart Page  (Read 6085 times)
amac44

Offline Offline

Posts: 12


« 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 Offline

Posts: 2156


WWW
« 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  grin
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 Offline

Posts: 225



« 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 Offline

Posts: 2295



WWW
« Reply #28 on: November 14, 2010, 02:55:18 PM »

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 cool
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 Offline

Posts: 2295



WWW
« 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
« 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 Offline

Posts: 2295



WWW
« Reply #31 on: December 17, 2010, 11:07:18 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 ...
cool

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
« 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 Offline

Posts: 225



« 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 Offline

Posts: 2156


WWW
« 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 Offline

Posts: 63


WWW
« 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? Smiley
Logged

Westhouse IT - Professional WebsiteBaker developers for hire.
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« 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 Offline

Posts: 2295



WWW
« 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 Offline

Posts: 63


WWW
« Reply #38 on: February 21, 2011, 03:09:47 PM »

I'm glad it's back up and running. Smiley
Thanks.
Logged

Westhouse IT - Professional WebsiteBaker developers for hire.
Olli

Offline Offline

Posts: 290


« 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 Offline

Posts: 2295



WWW
« 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 Offline

Posts: 290


« Reply #41 on: May 17, 2011, 01:32:54 PM »

hey ruud,

oh yes i see there is no frontend.css at all.. cool it is loaded directly from the database...

is there an approach to make it XHTML compatible to load CSS definitions inside the <head>?

thanks smiley
Logged
Olli

Offline Offline

Posts: 290


« 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 Smiley
Logged
Pages: 1 [2]   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!