문제

I've got a Drupal 6.x install, and there is one block generated by the Station module which displays the name of the show currently playing. Is there a way to make just that block exempt from caching? Alternatively, can I insert a 'refresh' for only that block at 00:59:00 ?

I'm not a php guy, but have found the place in the module where this block is generated, and think I can make the change if I new what to do.

올바른 솔루션이 없습니다

다른 팁

itemAdded 또는 ItemCheckedIn을 사용하고 spitemeVentProperties에서 파일을 아래와 같이 가져올 수 있습니다.

SPListItem item = properties.ListItem;
SPFile document = item.File;
byte[] byteArray = document.OpenBinary();

//work with the file here

item.File.SaveBinary(byteArray);
.

문서를 업로드 한 사용자의 보안 설정 및 권한 수준에 따라 높은 권한으로 코드를 실행해야 할 수 있습니다.

참고 : ItemAdded는 '이벤트 이후'(기본적으로 비동기 적으로)이므로 파일이 업로드 된 후에 발생합니다. 불행히도 itemadding에서 파일을 가져올 수는 없지만 필요할 경우 ItemAdded 동기화 (SharePoint 2010 이상)를 만들 수 있습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top