How to edit a node
Greetings!
I am building a community website and I chose the Acquia Prosper as my theme.
Now what I would like to do is add an additional line of text under the "Submitted by (user), on (date)" line, in each post, which it will say "Message (user) now!". I am already using the privatemsg module for personal messages communication for the website's users.
Any ideas on how is that possible? I really like this theme and I don't want to have change to it now...
Cheers,
Mike
Lägga till en Node i CCK-field
Hej!
Har behov av att kunna hämta en nod och vissa den inbäddad i en annan nod.
Jag har sökt och försökt hitta någon modul till CCK som ska kunna göra det men det närmaste jag kom var Node in CCK. Problemet där var att den modulen enbart tillät mig att koppla en Nod för den specifika Innehållstypen. Jag vill kunna välja vilken inbäddad Nod som ska visas i samband med att jag lägger upp en ny post.
Helst skulle jag vilja ha ett fält i CCK där jag enbart skriver id-numret på Noden som ska bäddas in.
Read moreUI for translators or How to make translator life easier
Hello.
I think the best way for me is to parse body with regexp to translate needed strings.
Strings are stored in DB table.
Any ideas how implement this in drupal?
I have a lot of English nodes on my site. I want to make UI for my translators.
Nodes have a lot of the same strings, and I want give opportunity to my translators to batch translate any string to other language in all nodes bodies. Do you have any idea about it? Or is it another way to make translator life easier?
Thank you...
Read moremenu, breadcrumbs, links, page and node template... how?
また、クダラナイ質問かも知れません。オックスファムのサイト、Drupal 5.x で運営してるみたいですが、 http://oxfam.org のメニューと残パンの作り方に感心しています。例えば、"About Us" をクリックするとそのメニューにバックグランドのイメージを変える事によりそれを焦点とし、残パンもそれに従っている。その "About Us" の中の真中のリンクにクリックしても、メニューの焦点は、変わらず、また残パンも一致している。これは、node template を使って、それとも page template で出来る事でしょうか?
また、6.x で残パンが思うようにならないので、検索し下記のコードを template.php に入れてみましたが、思った通りには出来ません。やはりノードか、ページで振り分けるのでしょうか?
宜しくお願い致します。
Read moreFlera noder i en view
Hejsan!
Nu har jag letat efter ett svar på detta i tre dagar utan att hitta något. Det är säkert enkelt att lösa om man vet hur som vanligt.
Det jag försöker åstadkomma är en nyhetsfunktion som visar tre nyheter för olika länder. Den ska visa deras egna nyheter och om de endast har en nyhet så ska den visa två nyheter från de globala nyheterna för att fylla ut utrymmet.
Har fått till det med views, taxonomy och block så att olika nyheter visas på olika sidor. Men hur lägger jag till en nod till i min view? Använder mig av storys när jag gör nyheter...kanske är det där det blir fel?
Read morereplacing pages by panels
Hi!
i have some big problem with panels!
I would like to replace profile page by panels. To do this i created panel page and i set the path to "user/%". After submiting I get the error "The path is already in use" and the URL path box turns red. The same with node/%.
Do you know how to override this? Or how can I replace every user profile page by panels?
Thank you very much, and sory for my english ;)
Read moreTablesorting on taxonomy terms within a node view
I have a view which displays nodes. There are a bunch of terms attached to those nodes, all single-select vocabularies. I display the terms by using the "Taxonomy: All Terms" field in three separate columns and limiting each field to its particular vocabulary.
The display plugin is a table, and I want the user to be able to tablesort these taxonomy term fields.
As far as I know, there are two ways to display terms associated with a node within a node view - "Taxonomy: All Terms" and "Taxonomy: Term".
Read morecreate event from calendar clicking on date
I`m trying to make a calendar block with clickable dates. this is for a guest house to make reservations.Clicking on date would take to /node/add/my_event/2009-06-05 or /node/add/my_event/?date=05-05-2009 or similar. I want to pass the date as argument to "create content" form. any guest has access to create this type of node, but the default state is "unpublished" so that only administrator can approve (publish) the node. after that the created event would appear in calendar block and have CSS "has-event" definition (e.g. red color).
Read moreUsing Views to embed an Image gallery in another node
I want to create an image gallery using the "Image Gallery" module, but instead of having the gallery displayed on it's own page, I'd like to embed & display the gallery in another node.
Read moreTheming a node several ways
Theming a node in the node.tpl.php only gives you to options, full page view or teaser! What do you do, if you want to theme the same node in several different ways depending on what region the node is shown in?
The thing I'm trying to do is, to have a node (an article) be a top story in the "Top story" region one day, and another story in another region the other. That is, I want to be able to theme a node differently depending on region.
I would like to do it in node.tpl.php, but as I see it, there are no variables available in a node that can tell you what region the node is in.
Read more