Just lost the whole reply with everything pasted. Forum logged me out even.
I'm using a previous version of Menno Pietersen's Flexibility package. It's nearly identical to the one available in package management since the applicable revisions were applied before it's release.
Sorry it took so long, I keep missing your replies. I'll play with caching a bit. I'm not sure what the following information can tell you, it's fairly straightforward and basic (i.e. should work). It works just fine in the new TV that I made to replace the other one that broke when tags were added. This working TV results just below the following code from the template.
from the template, the area where these TV's are called:
<!-- START Content and optional sidebar -->
<div class="row"> <div class="content">
[[*sidebar:isnot=``:then=`
<div class="row">
<div class="four columns">
<div class="sidebar">
<div class="search">
[[!SimpleSearchForm? &tpl=`SearchFormTpl` &landing=`12` ]]
</div>
<div class="clearfix"></div>
[[*sidebar]]
</div>
</div>
<div class="eight columns">
`:else=`<div class="row">
<div class="twelve columns">
`]]
[[*content]]
<!-- START Optional content -->
[[If? &subject=`[[*liloLightbox]]` &operator=`notempty` &then=`<p>[[$page_lightbox_trigger]]</p>`]]
[[If? &subject=`[[*optional_gallery]]` &operator=`EQ` &operand=`yes` &then=`[[$page_gallery]]`]]
[[If? &subject=`[[*optional_contactform]]` &operator=`EQ` &operand=`yes` &then=`[[$landingContactform]]`]]
<!-- END Optional content -->
</div>
<!-- END Content and optional sidebar -->
</div>
From the rich text TV - (This is the same as the content of the new chunk)
<h3 style="text-align: center;">Contact Lilly Today</h3>
<h3 style="text-align: center;"><img style="margin: 10px; border: 1px solid black; float: left;" title="Lilly Glass Akoto, LCSW" src="assets/templates/flexibility/images/lillyGlassAkoto5.jpg" alt="Lilly Glass Akoto - Grief & Loss, Suicide, Identity, Cultural Counselor" width="150" height="150" /></h3>
<p style="text-align: center;"><strong><em>You may call me any time @
( 503) 442-0636</em></strong></p>
<p> </p>
<p>You may also email me through the <a title="Contact Lilly Glass Akoto" href="[[~5]]">contact form</a>. </p>
<p> </p>
<p>....I send you Hope for this hour......</p>
<p> </p>
This is the offending tag - placed just below the above html resulting in a working and not working lightbox when added or removed. This html was only created after finding out that the tag wouldn't work. Ideally only a chunk tag would be in the TV.
[[$liloLightboxContactform]]
here's the contact form chunk. The one I originally wanted to use:
[[!FormIt?
&hooks=`spam,email,redirect`
&emailTpl=`MyEmailChunk`
&emailUseFieldForSubject=`1`
&emailTo=`[[getResources? &resources =`11` &tpl=`email_adress_tpl` &includeTVs=`1` &processTVs=`1` &limit=`1` &tvPrefix=`` ]]`
&redirectTo=`13`
&validate=`name:required,email:email:required,subject:required,text:required:stripTags`
]]
[[!+fi.error_message:notempty=`<p>[[!+fi.error_message]]</p>`]]
<form class="landingContactContainer" action="[[~[[*id]]]]" method="post" class="form">
<h5>Talk to Lilly any time</h5>
<p>This form will send an email directly to Lilly, 24 hours a day, 7 days a week. Please include your phone number so we can speak directly as soon as possible.</p>
<input type="hidden" name="nospam:blank" value="" />
<p>
<label for="name">
Enter your name.
<span class="error">[[!+fi.error.name]]</span>
</label>
<input type="text" name="name" id="name" value="[[!+fi.name]]" />
</p>
<p>
<label for="email">
Fill in your email.
<span class="error">[[!+fi.error.email]]</span>
</label>
<input type="text" name="email" id="email" value="[[!+fi.email]]" />
</p>
<p>
<label for="subject">
Enter the subject of this mail.
<span class="error">[[!+fi.error.subject]]</span>
</label>
<input type="text" name="subject" id="subject" value="[[!+fi.subject]]" />
</p>
<p>
<label for="text">
Fill in your message or question.
<span class="error">[[!+fi.error.text]]</span>
</label>
<textarea name="text" id="text" cols="55" rows="7" value="[[!+fi.text]]">[[!+fi.text]]</textarea>
</p>
<br class="clear" />
<div class="form-buttons">
<input type="submit" value="Send" class="button pink nice round" />
</div>
</form>
[ed. note: frogabog last edited this post 14 years, 1 month ago.]