Hi,

     I'm reading the template guide and experimenting
on doing my own template. A requirement of my project
is to have one source page containing twenty to thirty
small boxes consisting of boxtitle, picture link, and
excerpt or caption. 

     I was able to do this by following the examples.
Other pages which are my target pages are supposed to
select two or three of these boxes and use them as
sidebars on the left side of these pages.

     My problem is, I am unable to access the source
data from the target pages. I just want to initially
access the boxtitle and display them. Thank you for
helping out.

     I've included a feature_box.inc to all my target
page templates containing the following declaration
and implementation:

<content:declareContainerList 
    name='<%="thumbnailContainer" + id%>'
    titleKey="thumbnailContainer"
    title="Thumbnail Container"
    bundleKey="<%=resBundleID%>"
>    
<content:declareContainer>        
   <content:declareField 
      name='<%="boxTitle" + id%>'
      title="Box Title"
      titleKey="boxTitle"
      bundleKey="<%=resBundleID%>"
      type="SmallText"
   />       
   <content:declareField 
      name='<%="thumbnailType" + id%>'
      title="Thumbnail Type"
      titleKey="thumbnailType"
      bundleKey="<%=resBundleID%>"
      type="SharedSmallText"
      value="<%=getMultivalues
         (resBundleID,thumbnailTypes)%>"
   />                    
    </content:declareContainer>
</content:declareContainerList>


<content:containerList 
        name='<%="thumbnailContainer" + id%>' 
        id="thumbnailContainerList"
>
    <content:container id="thumbnailContainer">
                <content:textField 
                   name='<%="boxTitle" + id%>' 
                   defaultValue="" 
                   diffActive="true" 
                   display="true" 
                   valueId="boxTitle"
                />
    </content:container>
</content:containerList>














__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to