-
Posts
20 -
Joined
-
Last visited
About luckybusted
- Birthday 05/10/1989
Profile Information
-
Gender
Male
-
Location
Munich, Germany
luckybusted's Achievements
Jr. Member (3/6)
13
Reputation
-
Hey Guys, I got one more question about foxycart: How did you get your quantity value into the foxycart link? Do you have a best practice for the &quantity=XX ? Thank you!
-
Hey Guys, here is another website we made at WPWA back in 2013, for the German luxury home accessorie brand "Twillow". The page is quite puristic and based on PW V2.3.0. We build in some cool features like the 360deg slider on the product pages. http://www.twillow.de/ Latest projects coming soon!
-
Soma was absolutly right. Thanks! Uploaded the file once again -> fixed!
-
PHP Version 5.3.3 .... mod_rewrite is on
-
Hey guys, just installed PW 2.3 on a new Server. The Website works fine but the backend (/processwire) drops this error: Parse error: syntax error, unexpected $end in /var/www/vhosts/seo-wiesn.de/httpdocs/process/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.module on line 176 What can it be? Thanks a lot.
-
Why does $page->rootParent identify current section?
luckybusted replied to isellsoap's topic in Getting Started
Hi Ryan, thank you but it still simply dont work. It takes always the last value (in this case "none"). The Problem are not the IDs. I always get the right IDs if I let them show in the Frontend. Tab #1 = 1006/1007 Tab #2 = 1007/1007 But the class is still "none" ...- 16 replies
-
- current section
- semantics
-
(and 2 more)
Tagged with:
-
Why does $page->rootParent identify current section?
luckybusted replied to isellsoap's topic in Getting Started
Hi Pete, thanx for the response but it still didnt work. "belongs_to" is a single page field (so a page ID) ... does it make a difference?- 16 replies
-
- current section
- semantics
-
(and 2 more)
Tagged with:
-
Why does $page->rootParent identify current section?
luckybusted replied to isellsoap's topic in Getting Started
Hey Guys, seems to be the right thread for my problem. This is my code for two tabs that should show or hide the subpages. <?php $tabs = $pages->find("id=1006|1007"); foreach($tabs as $t){ $active_tab = $page->belongs_to; $class_tab = $t->id; $a_class = $active_tab == $class_tab ? " class='active'" : " class='none'"; echo "<li$a_class><a href='#{$t->tab_value}'>{$t->title}</a></li>"; } ?> The comparison and the output are correct but the class of the "li" is allways "none"... Anyone an idea?- 16 replies
-
- current section
- semantics
-
(and 2 more)
Tagged with:
-
luckybusted started following Why does $page->rootParent identify current section?
-
Hey Guys, thank you for your replies but my Problem is a bit more complicated. My structure is like this: /stores/ /store-1/ /store-12/ /store-13/ ... /cities/ /berlin/ /munich/ /cologne/ ... /store-category-1/ /berlin/ /munich/ /cologne/ ... /store-category-2/ /berlin/ /munich/ /cologne/ ... Maybe it seems stupid but my thoughts behind this where: I need a domain structure like ".../store-category/berlin/..." So the Idea was to take the children of "cities" for filtering the stores and the city pages under the Store-Categorys just to show the results. I hope you understand my Problem now a little better.
-
Hey guys its me again, I'm looking for a solution to show a List of Pages that have the same value in "fieldset-x" as the current Pages "title" e.g. . My hardcoded Solution looks like this: <?php $homepage = $pages->get("/stores/"); $stores = $homepage->children("location_category=1065, city=1010"); $children = $stores->getRandom(2); foreach($children as $child){ ... echo ... } ?> Now I need to check the title of the current page "{$page->title}" and check if it is equal to the value of fieldset "city" of a child Page of "Stores" ... Any ideas?
-
Great, thank you guys! I know the API site and allready tried to read it. But sometimes its just nicer to ask and =)
- 5 replies
-
- templates
- navigation
-
(and 1 more)
Tagged with:
-
Me again, but what if I want to find two ore three different templates? Something like: $location_cat = $pages->find('template=location_category, spot_category'); ?
- 5 replies
-
- templates
- navigation
-
(and 1 more)
Tagged with:
-
If it would be more complicated it wouldnt be processwire ... Thanx a lot!
- 5 replies
-
- 1
-
- templates
- navigation
-
(and 1 more)
Tagged with: