Jump to content

Leftfield

Members
  • Content Count

    10
  • Joined

  • Last visited

Everything posted by Leftfield

  1. OK. I got head.php, footer.php, tags.php etc... I want in tags.php, which doesn't have <head>...</head> in it, to append some Php magic so I could include the line in the head like this one: <link rel="canonical" href="http://example.com/tags/" /> Something similar to headScripts->append
  2. Yes, I thought of that idea @OLSA Sounds fantastic solution, especially for bigger sites.
  3. Hi All How to append canonical URL to head from certain templates? Thanks!!!
  4. 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?
  5. 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?
  6. @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}");
  7. 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
  8. $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...