¿Modificar el tema por default de un tipo de contenido en drupal 7?
Hola a todos, tengo un problema resulta que me estoy iniciando con drupal 7 y he creado un modulo llamado noticias de momento bien, ya cree el formulario añadi los campos con el field o cck del core, pero necesito modificar el tema de los nodos creado a mi gusto es decir:
Lo que en drupal 6 se hacia en el hook view asi:
function noticias_view(&$node, $teaser = FALSE, $page = FALSE) {
$rr = split("/",$_GET['q']);
if($rr[0]=="print"){
if (!$teaser) {
$node = node_prepare($node, $teaser);
}
}else{
if (!$teaser) {
$node->content['noticias'] = array(
Drupal 7 - Robust user profiles / Video Sharing, Rating, Promotion : Best Ways to Implement?
Hello!
I am a new user to Drupal, and have spent a few days acquainting myself with the interface, terms, modules, and other various techniques related to using Drupal. I am also currently reading through two Drupal 7 specific books. Now, to business...
Read moreRules och nodereference
Drupal 7.
Okej jag försöker skapa en nodereference med hjälp av rules.
Event:
Före sparning av innehåll (before saving content)
Min condtion ser ut såhär:
Om nodtypen är objekt
Min action fungerar såhär:
Hämta node id från entity (fungerar)
Skapa ny entity, hämtar värde från ett textfält i hämtade noden och sätter som titel i nya entityn (rum) med variabel room_created (fungerar)
//Här börjar det märkliga då jag har 2 nodereferenser, rum och plats i min nodtyp objekt och en referens till plats i rum.
Read moreTranslate terms in Views
Sorry, if this question is duplicate, but i can't find an answer how to make Views translate terms in D7. With Views 3 disabled, terms are shown according to user language (from url), but when enabled - terms are shown only in default language...
Can this be solved without hacks? It seams like a very common need, so i feel strange that it doesn't work from the box..
Read moreproblem with OG and D7...
I consistently get this error when trying to create a new group in D7.
When I try to add a public group... I get this error ( but the group is still added...)
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 177 of /home/timeetup/public_html/includes/entity.inc).
Notice: Trying to get property of non-object in og_create_perms_field_attach_validate() (line 50 of /home/timeetup/public_html/sites/all/modules/og_create_perms/og_create_perms.module).
Organizar utilizadores em Drupal 7
Olá boas.
Agradecia a vossa ajuda na organização de utilizadores numa situação tipo:
Utilizadores
- Proprietário do site admin-1
- Administrador responsável geral.
- Empresa A (editar e apagar o próprio conteúdo).
- Empresa B (editar e apagar o próprio conteúdo).
- Empresa C (editar e apagar o próprio conteúdo).
- Vendedor Comissionista (editar e apagar o próprio conteúdo).
- Particular (editar e apagar o próprio conteúdo).
O conteúdo do site é o mesmo para todos os utilizadores.
Desde já o meu muito obrigado.
roseiro
Hur kopplar man artiklar på meny-rubrik så att de kan filtreras i Views
Mitt problem är att ansluta artiklar till en bestämd rubrik.
Tidigare har jag några lyckade försök, men då till ett särskilt skapat innehåll/NodeType.
Men när jag ska göra samma sak och sortera fram artiklar som tillhör en meny-rubrik, så går det snett!
Fattar inte vad jag gör för fel (känns t o m löjligt att inte se det). Förstår inte vilket val i "filter Criteria" som ska användas och om det saknas (vilket jag börjar tro) så hittar jag inget "contexual Filters"-val, som verkar logiskt.
Read morePlain text for fields
While I was trying to beat one the oldest opened issue on xapian module IIRC: Index uploaded files, I end up figuring out that it could be useful to have a way generate a plain text representation of any field.
So, I have started a sandbox that have enough code to get a plain text version of file fields: Plain.
Read moreMeeting Minutes for Broward Drupal Meetup held on Wednesday, June 8th, 2011
We held our Broward Drupal monthly meetup on Wednesday, June 8th from 7:00pm to 9:00pm.
Participants:
Remote (from furthest to closest):
Seattle - Chris Parsons @chillin411
Boca Raton - Mark Stahlbaum @markeytoe
Coral Springs - Jason Graham @polishyourimage
In Person (Fort Lauderdale, Broward County Florida):
Claudio Vera @modulist
Jay Epstein @jeppy64
Luis Salazar @LuisPixelhead
Norman Flech @Straightalk
Me @hectoriribarne
We continued to have remote users participate in our meetup via Skype and TeamViewer.
Read more



