[support] Optional default text in node

Cindy Dykstra, WebMaker Inc. cindy at webmakerinc.com
Thu Apr 12 18:36:04 UTC 2012


That's what I ended up doing...I gave the check box in Content Type one 
value (1|Yes) since that's the default. Then in Views, adding the field 
produced the "1" on those nodes with the box checked, so then I just 
used the Rewrite Results to display the text/links I needed. The nodes 
where the box is unchecked displays nothing as it should.

Thanks all for the help!


          Cindy Dykstra
          WebMaker Inc. <http://webmakerinc.com>
          719-276-0908
          toll-free: 866-376-0908


          Facebook <http://www.facebook.com/webmakerinc> - LinkedIn
          <http://www.linkedin.com/in/webmakerinc>


On 4/12/2012 12:16 PM, steeph wrote:
> On 04/12/2012 02:34 PM, Earnie Boyd wrote:
>> On Wed, Apr 11, 2012 at 8:10 PM, steeph<ml at mixblog23.de>   wrote:
>>> Or, without editing any file, you could create a view with the default
>>> text as its only content and show it only if the checkbox is enabled.
>> Can't this idea be done by creating a node of the default text and
>> then using views to add the node in the view if the checkbox is
>> clicked?
> Yes, but if views already is used, the text could go as well there
> (custom text field or rewrite a field).
>
> But that was just my idea in case Cindy does not want or cannot create
> an own module. That's dure the cleaner way, I guess.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120412/b4a43c33/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emailsigenviron.jpg
Type: image/jpeg
Size: 9447 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/support/attachments/20120412/b4a43c33/attachment-0001.jpg 


More information about the support mailing list