Search through our group's posts (events, discussions, jobs, etc.) and their comments here. Results are displayed in order of post date. Use the pager below to browse results.
Themeing CCK & styling node.tpl.php. is there PHP code to show fields only if there is data entered?
I posted this on the main drupal theme development forum with no response so i thought i might try my portland buddies...
I am developing a theme for a site that has multiple listings. The site had a landing page with a summary menu produced by creating a view with an argument of city (organizes listings by city). Upon clicking on the city, the user sees, for example, all the restaurants of that particular city. Upon clicking on the restaurant name, the user sees the node page with the body output of the all fields created using CCK.
these links show the process:
Read moredrupal 5 user id variable? Not $user->id like in drupal 6. Help is appreciated!
Hey everyone,
I'm doing some custom theme-ing. I've found it extremely useful to be able to place "edit this image" above images in image galleries for content administrators. In drupal 6 I've been placing the code in node.tpl.php and and saying is user != 0 then display the edit div. Since only content admins are users, it's a safe methodology.
Anyways, I can't seem to find the variable in drupal 5. $uid is constantly set at 1 for some god awful reason, and $user->uid doesn't work either!
Thanks everyone,
Jesse
Permissions
Hello from Grand Rapids!
I've been here for two weeks and already the Drupal involvement begins! I'm not actually working on the development, but our web developer is fairly new to Drupal with very few people to consult in GR; only the support forums. So we have a question based on permissions, and the context is that we're creating a website called The Rapidian that will act as an online distribution platform for citizen journalism in Grand Rapids. In this setup, we have many roles, with first-time reporter and reporter on the lower rungs and editor on the higher rungs.
So when adding content in a custom content type like a “news story,” can we hide/show certain fields based on a users role? For example, we’d like an editor role to be able to check a field “has been fact checked” but not show this to the reporter role.
Read moreUbercart adding a "conditional" cart link to the primary menu
Hey Drupalistas,
This might be braindead simple, but I'd like to add a "cart" link to my primary menu to takes a site visitor to his/her Ubercart shopping cart. However, I only want this link to display if there are actual items in the cart.
I'm guessing that I can write a quick menu hook for this, or worse iterate through the primary navigation menu item array and just kill the link in the theme when the cart's empty. But it seems like this should be a solved problem.
Anyone got any thoughts?
Cheers,
Sean
ThinkShout.com
DrupalCamp Planning Meeting, 8-18
We'll be gathering up at the NW Quimby Lucky Lab on Tuesday night. Jhedstrom's leading tonight.
Agenda:
-- Website status and needs.
-- Thinking about sponsorship.
1945 NW Quimby St
Portland, OR 97209-1712
(503) 517-4352
luckylab.com
How can I modify the output of the Ubercart order summary page?
Hello,
I have been searching high and low to find how to override the Ubercart order summary page (/user/#/order/#) that is the page you get to by going to your account and clicking on "Click here to view your order history." then clicking on a specific order number.
I want to wrap the output in container like
In digging through the ubercart module I found this uc_order_view() function but it looks like that only contributes to a portion of that page build out...
Read moreSeptember Meeting: Paris Report & DrupalCamp PDX Roundup
- Paris Reports: We'll hear from the folks who attended the Paris DrupalCon about Paris sessions.
- Modules 101: A 5-10 minute overview of a Drupal module. The module is TBD. If you'd like to choose and present let us know in the comments.
- DrupalCamp PDX Roundup: An update on the schedule of events October 9 - 11, as well as an opportunity to pitch in and help with the remaining details.
Logistics
We meet at the OpenSourcery offices at 1636 NW Lovejoy St. Portland, OR 97209. NOTE: Please be aware that the developers at OpenSourcery will be working right up to event time. We ask that you arrive no earlier than 5:50pm. Thank you!
After the presentation finishes we'll walk over to the Lucky Lab NW for food and drink.
Read moreI need some advice about merging one content type and it's fields into three different content types.. let me explain...
On our site we have a content type called product showcase. This content type was using to store information about products our company has certified. After awhile it became apparent that what I had developed wasn't good enough. We were constantly changing how the fields worked and things were getting sloppy.
Read moreState of Oregon using Drupal?
I'm helping with a little research for a project with the State of Oregon and we're trying to sell them a Drupal site but apparently they got sold on Sharepoint. Anyone know of any places the state is already using it and might not know it?
Read moreBeer and Drupal 7?
I'm going to be back in Portland next week and wanted to try and get together with everyone who's not in Paris. I was thinking we could grab a beer at the Lucky Lab NW and I could show off some of the new cool stuff in Drupal 7. Sound like fun?
Read more






