Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
In regards to adding new phrases in different languages to certain pages, how is this done? I tried using the t('new text here') but it does not work. Says there is an illegal function call at the location. Below is what I tried:
In the goofy.theme file, we want to translate the title and slogans:
first of all, I want to congratulate to all the Drupal community! It's a marvelouse tool!
I created a webside based on articles about skiing, so pictures are important. I would like to have a module that permits me to create an article and add several images (that I may load to drupal with image_import or similar) and that you can see their thumbnails together wityh the text.
Does this module exist? I think if would be very interesting.
Sorry if the question is for somebody silly. I'm not at all a webdesigner or programmer.
I would like to include some php snippet on my home page that displays the date the site was last updated, i.e. had content added or modified.
Is there an easy way to do this? Would I have to do a db query of nodes, sorted by date and then pull the date information from the first entry (hopefully not)?
If anyone has a snippet of code that would achieve this I'd be grateful.