Jump to content

evan

Members
  • Posts

    96
  • Joined

  • Last visited

Everything posted by evan

  1. Ah, thanks! I figured it was something simple, and couldn't find it via search.
  2. Hi all, Has anyone noticed a weird A-circumflex (http://en.wikipedia.org/wiki/%C3%82) appearing in their TinyMCE field text? It seems to happen after hyperlinks, and if I double-space before a sentence. It only shows up when it's rendered -- it doesn't show up in the HTML view in TinyMCE, but does on the HTML page. I thought it might be a browser or Google Font issue, but switching browsers and turning off CSS had no effect. Any thoughts? Thanks!
  3. Another question -- Is there a way to make a page editable but not deletable, on a page-by-page basis? I would like my client to be able to add children, edit the parent, but not delete the parent. Thanks!
  4. That's basically what I was thinking, yes. Thanks!
  5. Hi all, Is any kind of formatting possible in the field description? Linebreaks would make it more readable for lengthier descriptions about how information should be entered. Thanks! -evan
  6. Great, glad to know I'm on the right track! I see some nice organizational possibilities using associative arrays or classes/objects to store markup. Thanks for the responses, I'm stoked to implement a site with PW now.
  7. I should probably clarify that I'm interested in methods to abstract these elements outside of the templates, so I can reuse them. Perhaps I'm overthinking it...do people just do something like this? blog_entry.inc: function blog_entry_markup ($x) { echo "<strong>$x->title</strong><br />$x->body"; } blog_template.php: include('blog_entry.inc'); foreach ($page->children as $child) { blog_entry_markup ($child); }
  8. Hi all, I just discovered Processwire and am very intrigued as a current Textpattern user, and seeing the similarities and new possibilities. Quick question -- how do you all manage your repeatable page elements that contain Processwire variables (called forms in TXP)? By "repeatable page elements" I mean formatted content like blog entries, calendar events, etc. within a greater page layout. I realize this is outside the scope of Processwire itself, and more on the personal workflow side, but I'm curious to see what methods people use before I start building. Do you store them in a PHP include as variables? Functions? A combination of both? I'd like to hear how people typically approach this, and why. Thanks! -evan
×
×
  • Create New...