Jump to content

ngrmm

Members
  • Posts

    480
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by ngrmm

  1. pages with the same template have a page-field. i can select multiple pages and they are like tags i output them like this <?php foreach($page->tag as $tags) { echo "<a href='$tags->url'>{$tags->title}</a>"; } ?> the tag-pages ($tags->url) should just show the pages with the certain tag selected. is there a way to filter? where in the documentation do i find something about this.
  2. i solved it with $('p img').unwrap(); maybe someone knows a better solution
  3. i am using CKEditor and want the design to be like the image below is there a way to get rid auf the <p>-tag around ther inserted image and also keep the <p>-tag around the text? <p>text</p> <p><img></p> <p>text</p> to <p></p> <img> <p></p>
×
×
  • Create New...