da Blocks

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

[x]

Post by Jensensen »

x
Last edited by Jensensen on Sat 20. Sep 2008, 19:59, edited 2 times in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by update »

Jensensen wrote:Yeah man, this exactly was what I tried to explain by using the expression "nested"!
:lol: ;) I know that you know that I know :lol:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by update »

WOW - this is so cool: http://code.google.com/p/phpwcms/source/detail?r=253
.... just two minutes ago - can't believe it, really. Many thanks, Oliver - will go playing with it as soon as Günther has his new r edition up !! :lol: :D
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by Jensensen »

Thank you claus for PM!
[x]
Last edited by Jensensen on Sat 20. Sep 2008, 19:46, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by update »

Jensensen wrote:Hmm, let''s see WHO made/was responsible for issue 85...
Dig it!
Jensensen wrote:(ich sach ja: "Hier wirste bekloppt bei")
:lol:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by Jensensen »

Jensensen wrote:... Hmm, let''s see WHO made/was responsible for issue 85...
ALTER SCHWEDE!
No mystery anymore --> claus [... and slackero fulfilled ]
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by juergen »

Ok claus, we are waiting for Nesters ... :D
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by update »

This is not as easy as expected (hope is a strange animal ;) )
If I have an HTML Content Part template with - let's say- 3 CUSTOM_BLOCKS {B1}{B2}{B3} I'm able to target them as usual.
But putting another CP HTML template into e.g. {B2} with two new CBs {D1}{D2} they will be rendered as plain text only (still bold or other ones are rendered fine)
One rendering step, then finito...

So I tried to put in some CBs into the text area of different CPs and nested the - this seems to work as expected and nesting woks out, but is really unhandy :?
So why isn't it rendered - is there a difference between template and text field input rendering? Especially for the CP HTML it would come in handy to be able to render at least 2 or three steps while nesting ...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by Oliver Georgi »

You cannot nest replacement tags in looped manner. It will be rendered only once!!! You have a logical problem. Think twice what you really expect. You are now at an point where it is in-effective to handle it this way without custom frontend_render scripting.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by Jensensen »

[x]
Last edited by Jensensen on Sat 20. Sep 2008, 01:19, edited 2 times in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by update »

Jensensen wrote:I'm wondering because
claus wrote:... putting another CP HTML template into e.g. {B2} with two new CBs {D1}{D2} they will be rendered ...
perfect!
No - not so!
claus wrote:they will be rendered as plain text only
showing their beauty as {CUSTOM1} ... not showing the contend that is meant to be in them....
My hope has been that this would be posible with templates too, but mmm...
... perhaps some FE-rendering script could do the trich.... I will draw some picture later on.... ;)
EXAMPLE: CP HTML
target: --> {B1}
content: --> {D1}{NAV_LIST_UL}{D2}
I'd like to have this in a template - so users don't need to fill in some {}
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by Jensensen »

x
Last edited by Jensensen on Fri 19. Sep 2008, 02:01, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by Jensensen »

x
Last edited by Jensensen on Fri 19. Sep 2008, 02:02, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by update »

Here is a little nesting test. See how it is stopping render work.
Image
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Nested Custom Content Blocks - really rocks!!! - Wow!!!

Post by Jensensen »

x
Last edited by Jensensen on Fri 19. Sep 2008, 02:02, edited 2 times in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
Post Reply