Jump to content

Leftfield

Members
  • Posts

    109
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Leftfield

  1. Yes, I thought of that idea @OLSA Sounds fantastic solution, especially for bigger sites.
  2. Hi All ? How to append canonical URL to head from certain templates? Thanks!!!
  3. home/blog/ /authors /categories /cat1 /cat2 /posts /post1 /post2 Got it from @Zeka. I will finish it. The other thing was: Does it slow down? Does it reflect on the speed?
  4. Hi All, I am newbe to PW (was in Joomla for more then 10 years)... I got this kind of URLs: www.name.com/posts/article www.name.com/categories/nameofcategory 1. Is there some natural way I can rewrite URL so it will be (except arranging backend in this order) www.name.com/nameofcategory/article www.name.com/nameofcategory 2. If rewriting, will it (significantly) impact speed?
  5. @Ivan Gretsky thank you for helping!!! I really appreciate!!! Here's how I solved thanks to my friend @OLSA: $exclude = new PageArray(); $exclude->add($fav); $exclude->add($favs); $cards = $pages->find("template=blog-post, id!=$exclude, blog_post_sticky!=1, sort=-blog_date, limit={$blogSettings->blog_quantity}");
  6. Thank You for helping me Ivan! I got 3 checkboxes in every article. I am trying to exclude articles, sorted by date, which had checkbox checked: Display all blog_post_sticky but blog_post_fav exclude last article blog_post_favs exclude last two articles. blog_post_fav>1 blog_post_favs>2
  7. $cards->prepend($pages->find("template=blog-post, blog_post_fav='', blog_post_favs='', blog_post_sticky!=1, sort=-blog_date, limit=" . $blogSettings->blog_quantity)); I am stuck with my nervs. After like 300 lines I am done. Trying to exclude only first blog_post_fav and first two blog_post_favs.
×
×
  • Create New...