Hello.
I have a real estate website based on drupal. My "properties" content type are viewed throught a panel. Now that panel has the URL "node/%node". After I added a webform (contact), the webform is not viewable.
I want the panels module to recognize the URL aliases of the properties "www.example.com/properties/33-evergreen-terrace.html" as a prperties, and leave the rest of the content types alone on "node/%node".
I hope I made myself understood.
Please ask for details if interested to help.
Thanks in advance.
Comments
Comment #1
merlinofchaos commented1) support requests are not critical. Please do not overstate your own importance.
2) URL aliases are invisible to Panels. If you have a node, no matter what its alias, it appears to Panels at node/%node
Comment #2
citadin86 commentedOK.
Is there any solution to my problem?! Does this mean that I can`t use webform or other content types, because it won`t show?!
Comment #3
citadin86 commentedI have another ideea. Is there a module that automatically sets the system path in something else than "node". Then I could make another panel with the "properties/%node" URL.
Thanks again.
Comment #4
merlinofchaos commentedWell, because the alias still points to node/%node you should be able to add a variant to the node/%node page for your webform. The issue there is that I don't really understand what exactly the problem is after you discuss the alias, because you're not being very clear about what because unavailable.
Comment #5
citadin86 commentedAfter I made a variant of the panel just for the webform, it then I try to add content to the panel, and I can`t find the webform to add it.
Comment #6
citadin86 commentedAnd if I add "node content" in the panel, then all it shows is "go to form" link to the form URL.
Comment #7
Renee S commentedOk, I'm having a similar misunderstanding.
I have a bunch of things in a certain section that I want to do stuff with. Say students/careers/module1, students/careers/module2, students/careers/moduleN, so students/careers/%module, right?
The closest I can get to getting it working is students/careers/NID - how can I set it up so that navigating to the alias moduleN will pass the NID into the panel? Or am I thinking about this the wrong way?
Comment #8
citadin86 commentedexactly. thank you.
Does anybody have any ideea?!
Comment #9
Renee S commented@citadin86 After looking into this a bit more, I don't think it's (currently) possible to differentiate a node context based upon path. (I tried using node:title but it borked on me.)
The answer is to use views and either Contemplate or disk-based page and node templates for the content-type you're dealing with - you're still passing in an argument via the URL and can use that to populate a page full of views that pick from CCK fields or something. A bit more cumbersome, depending upon what you're doing, but...
Comment #10
citadin86 commentedI kinda solved it. Not how I wanted, but ... it works. For the webforms (I have two) I changed the system path from node to "contact" and respectively "reserve". Then I created two veiws, for each one, displaying each webform. Then I created two panels in wich I displayed each view. BUT there is a problem. After you fill the webform with data and submitting iy, it doesn't send the data to the e-mail set, and returns to the page "node/28" wich was oriiginaly the webform (before I changed it into "contact/28"). So still not ok. Anyoe got any ideeas?!
Thanks again for the support
Comment #11
citadin86 commentedso nobody has any clue in how to combine theese two modules?!
Comment #12
esmerel commentedPanels doesn't see clean urls, it sees real paths.
Also 'combine these two modules' ... you mention multiple modules in your last comment, so it's not clear what you're looking for.
Comment #13
citadin86 commentedi figured it out. each panel has a setting in wich you select what kind of nodes you want to use with it. when I selected the "properties" type the webform node appeared and functioned properly.