Setting up monthly rotating content

The site I'm working on is for a philanthropic organization that has a monthly focus (Food, School Clothes, Housing, etc.). So every month we'll have a home page block about that month's focus. First I was going to make a date field using month, but that requires a year. If I make it a text field, I'll weight it, and set up something rather complex - if the current month is July, display the focus of Food.

Has anyone else done something like this? Any good ideas about the logic of putting it together?

Thank you.

howto create a form to insert node tittle and an action button to access that node?

hello.
i searched but i couldn't find a solution to this problem.
i have setup pathauto to give a random path to nodes from a specific content type. know, when i insert a new node from that content type i can access that node using de url "http://mydomain/content/[random_string]".

"Edit" link on Translation tab doesn't work for unpublished content

When I'm editing a node and I click the "Translate" tab and then try to edit a translated version of that node who's published status flag is set to '0', the link sends me to the site's homepage. This doesn't seem correct. How can I access the edit screen of an unpublished translation from the source node? Thanks!

Impossible to update chaos tool from version 7.x-1.0-alpha4 to 7.x-1.0-beta1

Hi,

I 'mnot able to update chaos tool from version 7.x-1.0-alpha4 to 7.x-1.0-beta1. I reached the following error :"unable to delete site/all/modules/ctools.

I try several time with the permission 777 for all the ctools repository.

I have views and DS enable and a multisite installation.

Should i desactivate the DS and views module before the update ?

Does there are a manual update procédure ?

In advance thanks.

Import/Export translated nodes (Internationalization module and node_save)

I need to export the content from all the nodes on our site to be translated offsite by our i18n team. I'm having problems importing new translations into the system with node_save()

To add a new translation for a node it seems I need to create a new node with the tnid set to the original node. This all kinda works and a new node row appears in the node DB table, but some things are a bit wonky. Even though the translated content shows on the site correctly (yay!) when I click to edit the German version on the "Translate" tab, it takes me to the homepage, not the edit screen. I'm sure I'm probably doing something silly here, but are there any examples out there that I can follow?

Here's a sample of what I'm doing for node 34.

<?php
$newNode = /* here's the var_dump of the node object */
object(stdClass)#187 (11) {
["title"]=>
string(16) "Latest News (DE)"
["body"]=>
array(1) {
["de"]=>
array(1) {
[0]=>
array(3) {
["value"]=>
string(14) "DE NEWS IS FUN"
["summary"]=>
string(0) ""
["format"]=>
string(9) "full_html"
}
}
}
["is_new"]=>
bool(true)
["language"]=>
string(2) "de"
["uid"]=>
string(1) "1"
["tnid"]=>
string(2) "34"
["type"]=>
string(4) "page"
["status"]=>

theming custom menu

Hello,

I think I am just missing something simple on this one. I have the following code in my template.php :

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x