PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 9th, 2007, 05:45 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Templating groups within groups

HI

I got quite complex QF to render with de default Renderer engine :
- pairs of radio buttons (on/off), each of these pairs is a group
- these groups are themeself encapsulated within a group a elements.

I can have up to 3 depth levels...

I'd like to render these groups, and the elements inside, using different templates.
But I don't manage to render the whole bunch as I'd like to, caus' I don't get how groupTemplating works... mean, how the {content} and {element} tags behave each other, in particular when you have some kind of recursive group structure. What is replaced by what ? How the elements tree is parsed by the template engine ? If I want to render a group of elements in a particular way, knowing it is inside another group, how must I set the 'setGroupElement'+'setElement'+'setGroupElement' template method for all of these elements ?

Are there any samples/tutorials beside the official PEAR manual, that could describe those features ?

well, if you're still reading this post, you'll probably commit suicid when I tell ya this is not the most confusing post I've written !

greetz.

Reply With Quote
  #2  
Old March 4th, 2007, 07:43 PM
sophie098 sophie098 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: usa MS clombus
Posts: 1 sophie098 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to sophie098 Send a message via AIM to sophie098 Send a message via Yahoo to sophie098
RE: Templating groups within groups

hi this is my frist time on this so help me?

Reply With Quote
  #3  
Old March 15th, 2007, 04:28 AM
lsolesen lsolesen is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 18 lsolesen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Templating groups within groups

Post your code, and we can help you.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > Templating groups within groups


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway