피드 수집기

Drupal.org Downtime: May 9th 5PM PDT (0:00 UTC)

Drupal.org - 수, 2013/05/08 - 9:48오전

Drupal.org and its sub-sites (api.drupal.org, groups.drupal.org, etc) will be going down for 30 minutes Thursday, May 9, 17:00 PDT (May 10, 0:00 UTC). This maintenance window will be used to remove a core hack. Please follow the @drupal_infra twitter account for updates during the downtime and thanks for your patience!

UID, NID 재정렬이 가능할까요?

palpal.org - 수, 2013/05/01 - 4:21오후

테스트 계정을 만들어 테스트를 많이 하다보니..
현재 실제 등록된 회원은 약 200명이지만 UID 는 1xxx 대를 넘어가고 있습니다.
실제로 가입을 했다가 취소를 하는 경우 UID 는 그 이후의 것으로 계속 유지가 되는것 같습니다.
솔직히 nid 야 거의 가려지는 값이니 크게 상관은 없지만 UID 는 유저 고유넘버로 사용할 예정이라.. 1xxx 이면 실제 1000명이 가입된것 같은 오해가 일어나서요.
사용하지 않는 UID 혹은 NID 를 제거하거나 이미 등록되어있는 ID 들을 재정렬 (좀위험할것 같긴 합니다만..) 하는 모듈이 없을까요?

메인 메뉴에서 다중 선택

palpal.org - 수, 2013/05/01 - 1:01오후

Drupal 7:
메인 메뉴 - 메뉴명 '국가'에는 나라명 200여개가 있고,
메뉴명 '카테고리'에는 항목이 20여개가 있습니다.

컨텐츠 타입에는 '나라명'과 '카테고리' 필드가 있습니다.

이 때, 나라명 '한국'만 선택할 때 해당 컨텐츠 리스트 출력.
추가로 카테고리 '예술'을 선택하면 '한국의 예술' 컨텐츠 리스트 출력.
바꿔서 '예술' 카테고리가 선택된 상태로 나라명을 변경해서 '영국'을 선택하면 '영국의 예술' 컨텐츠 리스트가 출력되게 하고 싶습니다.

Community Spotlight: Scott Reynen

Drupal.org - 화, 2013/04/30 - 5:26오전

Scott Reynen has done some fun things in the Drupal community. Some notable examples:

  • Coordinated many meetups in Denver ensuring they happen, with interesting topics, and tasty pizza options
  • Helped to organize several Drupalcamps in Colorado (which will be June 29th/30 in 2013)
  • Presents on various topics at Drupalcamps
  • Helps as one of the 3 site maintainers for groups.drupal.org
  • Is an active Project Application queue reviewer heavily interested in new-contributor-onboarding and project quality
  • Takes care of abandoned projects and ownership requests in the Webmasters queue
  • And does a pretty darn good job as the maintainer for modules like @font-your-face.
How did you get involved with Drupal?

About 4 years ago, I took a job as a developer with Aten Design Group, where we do mostly Drupal projects. At the time, I was pretty skeptical of content management systems, after frustrating experiences with both WordPress and Joomla. But I quickly grew to appreciate Drupal’s modular architecture.

What do you do with Drupal these days?

Most of my Drupal time is spent building websites for clients. I’m fortunate to be able to work on projects I really care about, like the International Center for Transitional Justice, the National Center for Women & Information Technology, and the United Nations Development Programme. Apart from client work, I use Drupal as a platform to explore new ideas. With a wide variety of code and a huge active community, Drupal serves as a great incubator.

You’re involved with the Drupal community locally and internationally - can you describe some of the things you do and why you like them?

I co-maintain Drupal Groups (groups.drupal.org), deal with abandoned projects on Drupal.org, do some work on project review applications, help organize the local Denver Drupal meetup, actively mentor a few people, and contribute some modules. I think I like all of this because I feel like I’m actively building the future, either through directly improving the web, or by enabling other people to improve the web.

What got you started in the project application review process?

I didn’t go through the application review process to get my own Git (previously CVS) access, and didn’t realize the process existed for a long time. So I think some feeling of debt played a part in my getting involved. But I also believe the future of Drupal depends on people who aren’t yet involved, and the application process, if not handled well, can very easily be a point where we turn away this next generation of contributors.

What are some of your favorite moments from that process?

It’s always nice to get thanks from new contributors for my feedback, or to discover a cool new module before it even has a release. But I think my favorite moment was when klausi arrived. Before that, I felt like I had to stay actively involved or the whole process might fall apart. When klausi started doing a superhuman number of reviews, I could comfortably step away from the queue for a short (or even long) period of time and avoid both catastrophe and burnout.

Read a previous Community Spotlight about Klaus Purer (klausi).

Are there any cool projects you’ve learned about through that process?

Commerce Registration is, I think, a great example of why the review process is important to the wider community. After some quick minor bug fixes in the review process, that project was approved and is now part of the Conference Organizing Distribution, used in every DrupalCon site. And the maintainer has gone on to contribute several other modules, a few to Drupal Commons that will be part of the next version of the Drupal Groups site. A more frustrating project review could have easily meant the Drupal community losing all of this.

What changes do you hope will come in the project review process?

Mostly I think we just need more people with the right mindset. Right now, the “needs review” backlog is gradually disappearing, largely thanks to a lot of new reviewers. I think we just need to keep more of these reviewers involved and make sure they know, as jthorson recently wrote, “the role of reviewers in this process is that of a 'mentor', not 'traffic cop'”.

What is your favorite part about the Drupal community?

It’s rare to hear someone say “I don’t care” in the Drupal community. There’s plenty of work that goes off the rails on passionate debate over what color to paint the bike shed, and that can grow tedious. But our bike sheds are the best-painted on the web (12 coats!), because people really care. I like that.

Tell us a little about your background or things that interest you outside Drupal?

When I was young, I hit myself in the forehead with a boomerang. I wasn’t entirely unfamiliar with the concept, but I’d never had one actually come back. This one did, just as I was turning to see where it had landed. Stitches weren't great back then, so I still have a scar. I still have problems with tools doing what I say rather than what I expect.

[재등록] 프로그래밍 노드생성과 변수전달에 관한 질문이 있습니다.

palpal.org - 금, 2013/04/26 - 11:50오전

댓글 시스템에 문제가 생긴 것 같아,
cotnals2 님의 글을 다시 옮겨서 생성했습니다.

cotnals2 님, 양해를 바랍니다.

원본글 : (이상하게도 댓글이 더 이상 추가불능이네요)
http://palpal.org/node/581

------

안녕하세요 드루지기님!
요즘 한창작업하는것중 하나가.. 하나의 폼에서 노드를 만들때
설정값에따라 다른 노드가 복사되는것을 만들고 있는데요.
변수전달과정에 이해가 안되는것이 있습니다.

작성중인 컨텐트의 저장을 누를때마다 같은값의 노드가 복사되는 과정은 프로그래밍 했고 잘 동작합니다.
그런데 여기서 복사되는 노드의값에 약간의 변화를 주고 싶은데요.
컨텐츠타입 Form 에 임으로 만든 input 폼이 있고 (드루팔 DB 엔 포함안시킴)
여기에 변수를 주어서 복사되는 노드값에 변화를 주고 싶습니다.

예를들면 날짜필드엔 오늘날짜가 들어가야 하는데, 추가 input 에 넣은값으로
복사되는 노드의 날짜값이 바뀌는것이죠.

임의의 모듈을 만들어 거기에 노드복사 함수를 만들어 특정 컨텐트타입이 submit 될때마다 복사가 됩니다.
값은 $form_state 에 저장된 노드의 값이 들어있어 가져다 쓰면 되는데..
임의로 만든 변수를 어떻게 전달해야 할지 감이 안잡힙니다.

제가 생각한 방식은 이렇습니다.
1. $form_state[] 에 변수를 입력하는 방법을 찾는다.
2._GET["$variable"] 을 이용하여 URL 로 변수를 전달시킴. 자세히 보기 »

프로그래밍 노드생성과 변수전달에 관한 질문이 있습니다.

palpal.org - 목, 2013/04/25 - 12:39오후

안녕하세요 드루지기님!
요즘 한창작업하는것중 하나가.. 하나의 폼에서 노드를 만들때
설정값에따라 다른 노드가 복사되는것을 만들고 있는데요.
변수전달과정에 이해가 안되는것이 있습니다.

작성중인 컨텐트의 저장을 누를때마다 같은값의 노드가 복사되는 과정은 프로그래밍 했고 잘 동작합니다.
그런데 여기서 복사되는 노드의값에 약간의 변화를 주고 싶은데요.
컨텐츠타입 Form 에 임으로 만든 input 폼이 있고 (드루팔 DB 엔 포함안시킴)
여기에 변수를 주어서 복사되는 노드값에 변화를 주고 싶습니다.

예를들면 날짜필드엔 오늘날짜가 들어가야 하는데, 추가 input 에 넣은값으로
복사되는 노드의 날짜값이 바뀌는것이죠.

임의의 모듈을 만들어 거기에 노드복사 함수를 만들어 특정 컨텐트타입이 submit 될때마다 복사가 됩니다.
값은 $form_state 에 저장된 노드의 값이 들어있어 가져다 쓰면 되는데..
임의로 만든 변수를 어떻게 전달해야 할지 감이 안잡힙니다.

제가 생각한 방식은 이렇습니다.
1. $form_state[] 에 변수를 입력하는 방법을 찾는다.
2._GET["$variable"] 을 이용하여 URL 로 변수를 전달시킴.

form 과 node 사이 혹은 모듈과 node 사이에 변수전달방식에 관한 도움을 좀 받을수있을까요?

Rules 에 조금더 다양한 조건을 주는방법?

palpal.org - 화, 2013/04/16 - 1:56오후

안녕하세요~!
오랜만에 질문 올립니다.
Rules 를 이용하면 별다른 프로그래밍없이도 사이트에 원하는 기능들을 추가할수 있는데요.
그 한계점이 있는것인지 아니면 제가 잘 모르는것인지.. 사용하기가 조금은 힘이 듭니다.

다음과 같은 Rule 을 만들었습니다.

Profile2 를 작성하고 저장을 하면 Profile2 에 저장된 내용중 하나가
User 기본 정보필드(리스트형식)에 기입이 되고, 또 다른 리스트 필드에는 초기 날짜와 시간이 기입됩니다.
그러니깐 두개의 멀티플 리스트필드가 있고 여기에 각각 하나씩 값이 저장이 됩니다.
(특정값과,날짜)
여기까지는 잘 작동하는데요.

다음과 같은 Rule을 하나 더 만들었습니다.
Profile2 가 업데이트 될때마가 같은 형식으로 리스트필드의 하단에 특정값과 또다른 리스트필드 하단에 현재날짜와 시간을 기입합니다.
그런데 이 첫번째 특정값은 겹치는 값들이 있어 ENFORCE UNIQUENESS 에 체크하여 중복 작성을 막았는데.. 문제는 날짜가 작성되는 리스트필드엔 이것이 작동하지 않는다는것입니다. 물론 날짜는 UNIQUE 할수 없기때문이죠.
이런식으로 저장하면 두 리스트 필드는 짝짝이가 되어버리는데요.
이런것을 방지할수는 없을까요?
첫번째 리스트에 값이 들어가는 여부에 따라서 두번째 action 의 조치를 취하는방법이있다면 (아니면 혹시 다른방법이라도) 알고싶습니다.

Drupal 7.22 released

Drupal.org - 목, 2013/04/04 - 7:16오전

Drupal 7.22, a maintenance release with numerous bug fixes (no security fixes) is now available for download. See the Drupal 7.22 release notes for a full listing.

Download Drupal 7.22

Upgrading your existing Drupal 7 sites is recommended. There are no major new features in this release. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 7 includes the built-in Update Manager module, which informs you about important updates to your modules and themes.

There are no security fixes in this release of Drupal core.

Bug reports

Drupal 7.x is being maintained, so given enough bug fixes (not just bug reports), more maintenance releases will be made available, according to our monthly release cycle.

Changelog

Drupal 7.22 is a bug fix only release. The full list of changes between the 7.21 and 7.22 releases can be found by reading the 7.22 release notes. A complete list of all bug fixes in the stable 7.x branch can be found in the git commit log.

Update notes

See the 7.22 release notes for details on important changes in this release.

Known issues

#1962780: 500 Internal server error on Apache 1.x servers after updating to Drupal 7.22: Sites running on 1.x versions of the Apache web server may experience errors after updating to Drupal 7.22. (Although Apache 1.x was deprecated by the Apache project several years ago and switching to Apache 2.x is highly recommended, Drupal 7 normally does still run on it.) A patch to fix the problem is available in the above issue, and it has been committed to the 7.x development version so it will be included in the next bug fix release.

Views 에서 여러줄을 한줄로 표시하는 방법에 대해 (스샷첨부)

palpal.org - 토, 2013/03/16 - 9:36오전

screenshot 2 번은 views table 을 이용하여 데이터를 나열해 놓은것 입니다.
timetable 형식으로 만들어야 하기때문에
테이블에 월요일부터 일요일까지 열을 만들어놨습니다.
현재는 노드에 월~일요일까지 computed 필드를 만들어놓고 입력된 날짜를 확인해서
해당 시간값을 넣어주고 있습니다.
이 줄들을 이름이나 ID를 기준으로 한줄로 합쳐야 합니다.

screenshot 1 번은 views table 에서 aggregation 기능을 사용한 것입니다.
스샷2번처럼 구성했을 경우 여러줄을 한줄로 겹치게 하는 방법을 몰라 aggregation 기능을 사용했습니다. aggregation 의 기능을 이용해서 마지막열의 합계까지 만들었습니다만
스샷 3번의 문제가 발생했습니다.

스샷3번은 nid field 을 첨부한것입니다.
agreegation 은 말그대로 열의 합계나 갯수, 최대값, 최소값등을 계산해 주는것이기 때문에
nid field 는 모든 노드의 고유값이라 다시 개행이 풀려버렸습니다.
nid field 를 첨부한 이유는 각 요일값에 링크를 걸어주기 위함이었습니다.
만약 제가 aggregation 을 계속 사용한다면,
말씀하신대로 데이터가 커질뿐아니라 기능 추가시 필드를 7개씩 새로 만들어 묶어주는 방법을
사용해야 합니다만.. 아직 다른 대안을 못찾고 있습니다.

노드에 날짜값만 가지고 views table의 원하는 위치에 표시할수 있는 기능이 있을까요?
아니면 아랫글 2번에 설명하신대로 views 자체기능만으로도 가능한지 알고싶습니다. 자세히 보기 »

Views 의 aggregation 에 관해.. (파일첨부)

palpal.org - 금, 2013/03/15 - 2:04오후

아~ 파일첨부가 되는군요~! 감사합니다.

아래 내용을 3가지로 요약하여 그림파일 첨부합니다.
3번째에서 rewrite 기능은 views 의 fileds 의 rewrite results 속성값을 얘기하는겁니다. (드루팔7)

Views 의 aggregation 에 관해..

palpal.org - 금, 2013/03/15 - 9:09오전

안녕하세요!
드루팔은 정말 무궁무진 하네요. 한가지 이해가 안되는 기능이 있어서요.
바로 Views 의 Aggregation 인데요, 노드의 값이나 ID 를 이용하여 생성된 노드의 갯수및 최대값, 합계등을 구할수 있는 기능입니다만..
이 aggregation 기능에 다른 필드의 값을 붙여넣는 과정에서 이해가 안되는것들이 있습니다.
현재 만들고 있는 기능은 타임테이블입니다.
정보 Content type엔 월~일까지 요일필드가 있고 시작시간, 종료시간 필드가 있습니다.
노드에는 월요일 부터 일요일까지의 값중 하나만 들어가 있구요.

한 유저가 월요일 부터 일요일까지 일을 했고, 7개의 노드를 가지고 있습니다.
Views 의 aggregation 기능을 이용하여 각 요일 필드를 SUM 으로 묶어놨습니다.
홍길동 월:10시간 화: 20시간 수:15시간 ... 일:10시간
이런식 입니다.
(게시판에 사진 첨부할수 있는 기능이 있음 좋겠네요.)
그런데 각 노드엔 시작과 종료시간이 있는데, 원하는것은 views 에서 각 필드에 REWRITE RESULTS(Rewrite the output of this field)를 이용하여
월요일필드는 SUM 으로, 시작,종료시간은 그 뒤에 붙일 생각인데요.
문제는 노드가 하나로 합쳐져 있다보니.
각 노드에 해당하는 시작,종료시간 필드를 어떤식으로 묶어야 할지 난감합니다.
시간필드를 ID 로 정렬하면 이 Row 엔 모두 동일한 값이 들어갑니다만.
월요일의 시작시간 따로, 화요일 시작시간따로 묶으려면 자세히 보기 »

다른노드의 Field 를 select 메뉴로 참조할수 있을까요?

palpal.org - 일, 2013/03/10 - 6:58오후

점점 새로운 기능을 찾게되네요. 드루팔은 정말 끝이 없는것 같습니다.
references 를 공부하다 보니.. 아래와 같은 필드 참조기능이 필요하게 되었습니다.

어떤 노드에 field Group 이 있고 그룹아래에 여러 필드와 값이 있으면
그것을 참조하는 기능을 가진 모듈이 있을까요?

node reference 의 views 기능을 이용해도 되는데, 이땐 보여지는 Views 의 필드값이 아닌 해당 node 의 ID 값으로 입력이 되더라구요.
그리고 Argument 를 직접 입력 받을수가 없어 쓰기 힘들었습니다.

예를 들면 제조사라는 컨텐츠 타입에 제조년, 모델 이라는 필드가 그룹형식으로 들어있고
이것을 참조하는 자동차라는 노드를 만들었을때
셀렉트 메뉴에 제조사를 선택하면
다음 셀렉트 메뉴에는 제조사 노드에 들어있는 필드인 제조년 이나 모델이 나왔으면 합니다.
마치 Content type 을 만들때 필드타입 선택하면 우측에 위젯값이 나오듯이 말이지요.

찾다가 Vocab와 Taxonomy 를 이용한 Hierarchical Select 모듈을 찾았습니다.
분류별로 제가 원했던것과 유사한 아주 훌륭한 기능을 가지고 있었지만
노드값이 아닌 Taxonomy 에 한정된다는 게 문제더라구요.
사용하려면 rules 를 이용해서 제조사 node 에 값이 입력될때 자동으로 taxonomy 에 입력을 시킨다던가 하는 복잡한 방법을 사용할수 밖에 없었습니다.

연관모듈중
Hierarchical Select Entity Reference 는 작동이 불확실하고 자세히 보기 »

Drupal 7.21 released

Drupal.org - 목, 2013/03/07 - 9:24오전

Update: Drupal 7.22 is now available.

Drupal 7.21, a maintenance release which fixes incompatibilities introduced in the Drupal 7.20 security release, is now available for download. See the Drupal 7.21 release notes for further information.

Download Drupal 7.21

Upgrading your existing Drupal 7 sites is strongly recommended, especially if you encountered problems with Drupal 7.20. There are no new features in this release. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 7 includes the built-in Update Manager module, which informs you about important updates to your modules and themes.

There are no security fixes in this release of Drupal core; however, sites which were unable to upgrade to Drupal 7.20 (or upgraded but made modifications to disable the security fixes included within it) should upgrade to Drupal 7.21 to obtain additional security protection. See the Drupal 7.21 release notes for further information.

Bug reports

Drupal 7.x is being maintained, so given enough bug fixes (not just bug reports), more maintenance releases will be made available, according to our monthly release cycle.

Changelog

Drupal 7.21 is a bug fix only release. The full list of changes between the 7.20 and 7.21 releases can be found by reading the 7.21 release notes. A complete list of all bug fixes in the stable 7.x branch can be found in the git commit log.

Update notes

See the 7.21 release notes for details on important changes in this release.

Known issues

None.

다중 Views contextual filters 에서 User logged ID 를 URL 로 가져오려면 어떻게 해야 하나요?

palpal.org - 일, 2013/03/03 - 11:17오후

Views 에 여러 Contextual filter 를 넣어뒀습니다만. 작동이 원활하질 않습니다.
제가 원하는것은..
필드두개의 정보를 불러오는데,
하나는 링크에서 불러오는 entity ref 의 NID값, 하나는 현재 로그인한 유저의 ID 값으로
두개의 조건이 다 맞아야 불러오는 리스트를 만드려고 합니다.
NID는 URL 의 링크를 통해 불러오는데, 이 경우 로그인한 유저의 ID을 넣을수는 없습니다.
URL 에 "/" 구분자로 두 값을 넣어주면 잘 작동합니다만..
로그인한 유저의 ID 값은 링크를 통해 불러올 방법이 없네요. (서로다른 content type)
간단히 contextual filter를 이용하여
기본값을 무조건 로그인한 유저의 ID 값으로 넣어주고
나머지 값들을 통해 변하는 views 를 만들수는 없을까요?

Rules Condition 에 ~이 아니면의 조건식 설정이 가능할까요?

palpal.org - 목, 2013/02/21 - 9:31오후

회원이 가진 특정필드에 값을 추가하는 Rule 을 추가하고 있습니다.
Condition 중 ~와 같거나 ~중 하나 일 경우 조건은 있는데. Equal , is one of
두 값을 비교해서 틀릴경우 (~와 같지 않음) 은 없네요.
profile 이나 node 에 더 많은 조건을 달수있는 방법은 없을까요?

Drupal 7.20 released

Drupal.org - 목, 2013/02/21 - 5:55오전

Update: Drupal 7.21 is now available.

Drupal 7.20, a maintenance release which contains fixes for security vulnerabilities, is now available for download. See the Drupal 7.20 release notes for further information.

Download Drupal 7.20

Upgrading your existing Drupal 7 sites is strongly recommended. There are no new features or non-security-related bug fixes in this release. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 7 includes the built-in Update Manager module, which informs you about important updates to your modules and themes.

Bug reports

Drupal 7.x is being maintained, so given enough bug fixes (not just bug reports), more maintenance releases will be made available, according to our monthly release cycle.

Changelog

Drupal 7.20 is a security release only. For more details, see the 7.20 release notes.

A complete list of all bug fixes in the stable 7.x branch can be found in the git commit log.

Security vulnerabilities

Drupal 7.20 was released in response to the discovery of security vulnerabilities. Details can be found in the official security advisory:

To fix the security problems, please upgrade to Drupal 7.20.

Known issues

Due to the nature of the security fix, some sites will require extra testing and care when deploying this release of Drupal core, and several contributed modules require code changes in order to continue working correctly. See the release notes for more information.

Drupal.org Downtime: February 12th 5PM PST (01:00 UTC)

Drupal.org - 화, 2013/02/12 - 9:36오전

Drupal.org and its sub-sites (api.drupal.org, groups.drupal.org, etc) will be going down for 30 minutes Tuesday, February 12, 5:00 PST (February 13, 01:00 UTC). This maintenance window will be used to upgrade our single sign on system. Please follow the @drupal_infra twitter account for updates during the downtime and thanks for your patience!

Sites will remain functional for the majority of the scheduled downtime, but everyone will be logged out. You may not be able to log into sub-sites for a few minutes as the update is rolled out. If you experience authentication troubles between sites after the maintenance window please clear browser cookies for Drupal.org and try again.

내용묶음