Jump to content

Kemal

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by Kemal

  1. wow bulls eye, its really what i was looking for. It solves my problem thank you very much Romero. Is there a way to use ?category={$page->name} instead of ?category={$page->id} ? I am askng it for seo purposes but i dont know if its indexed by this way
  2. Hi, i have 3 template Firm , Category, City i can list Firms on the Category template- ex: construction firms list $firms = $pages->find("template=firm, categories=$page"); i can list Firms on City template ex: atlanta firms list $firms = $pages->find("template=firm, cities=$page"); but what i want to do is construction firms on atlanta and atlanta construction firms i mean on category page i want to filter city on city page i want to filter results according to category i can do it by this way $firms = $pages->find("template=firm, categories=$page"); foreach($pages->get("/cities/")->children() as $city) { $categorycityfirm= $pages->find("template=firm, categories=$page, cities=$city"); } On category template by this code above i get results. But what i want is there must be link of cities on cateory page and when i click on city name it should opens filtered result. So should i implement new template like categorycityfirms and citycategoryfirms? Page hierarchy Home Firms -firm1 -firm2 Cities - city1 - city2 Categories -cat1 -cat2
  3. i see on the top -> urlSegmentStr: category1 i am using latest version i just downloaded it this month. and i also downloaded blog profile. Is it possible to run it on your side and try to remove categories section from url? So if you success you can tell me the differences on the default blog profile. Or just send files so ican run it on my side. Thanks
  4. Thanks for your answer Ryan I did exactly all the things you said. Now category links looks without categories, for ex: before /categories/category1/ now /category1/ but when i click on the link /category1/ 404 page not found appears. i am trying it locally using wamp server http://localhost/blog -> my home page http://localhost/blog/category1 -> my category page what might be wrong? is it related with urlSegment?
  5. i am using blog profile and i want to remove categories section from url + Posts - post1 - post2 +Categories - category1 - category2 now it looks like blog/categories/category1 but i want it look like blog/category1 how can i remove categories fro url. I try what says on this topic but i couldnt do it. when i paste the apesia's code to home.php nothing happens. still categories seen on category links. help pls
×
×
  • Create New...