I am a new programmer and issues for academic and non-profit, I have to develop a module for drupal 6 for receiving tweets with certain hashtags.
I already know that there are similar modules that are more or less the same thing but I'm trying to develop it alone for purely educational.
Before twitter switched to version 1.1 i used jQuery simply using the API from javascript. Now, since we must also use OAuth to receive tweets .. so it must be done with php server side. i use the jimbo's PHP library and i want use also js(with jQuery) for view json. I already posted my problem description here but perhaps been misunderstood the question. Have you an idea how can send the json from php to js and working with $.getJSON or $.each ??or what else?
With my custom module i'm creating a block that show searched tweets with hashtags.
I try to make you understand my problem by writing a little 'code I did:
function _mymodule_get_tweet () {
.....
$Twitter = new TwitterAPIExchange ($setting);
$response = $ Twitter -> setGetfield ( $ query ) -> buildOauth ( $ url , $ requestMethod ) -> performRequest ();
$ Json = json_decode($response, true);
echo ($json);//i tried with foreach()but not work
}
I'm currently working on upgrading a relatively simple Drupal site from Drupal 6 to Drupal 7. After following the upgrade instructions and running CCK Migrate, all of my views end up breaking. Rebuilding these views is not a big issue but maybe it's tied into the reason of why after recreating those views, they no longer show ALL of my content.
Troubleshooting
I looked into the database tables to see if it all got pulled over and noticed that the Drupal 7 tables show significantly less rows than my Drupal 6 equivalent tables.
I need to calculate a series of dates and display them to the user. Ultimatley in needs to look something like this ...
Meeting Date Sumbission Date Draft Submission Notice Goes Out
01-07-2013 12-01-2012 12-14-2012 12-05-2012
02-04-2013 01-24-2013 01-18-2013 01-09-2013
etc ...
The dates are all interdependent, so Sumbission Date would be 2 Thursdays before Metting Date. Draft Sumbmission would be the Friday before the Submission Date. There is also logic for skipping holidays and such.
I need to change this because I'm not the first user:
"in /sites/default/settings.php:
$update_free_access = TRUE;"
But where I need to change this?
Is it in the backup file? If it's here how can I upload the changes to my website?
Or in the phpMyAdmin? If it's here where?
I just noticed that my Drupal website is unable to unpublish nodes. During the creation or editing of a document, I uncheck the Publish option and when I save, it goes back to Published state.
Even in Content List /admin/content/node if I use the checkmark to unpublish one of the published documents, it doesn't work.
I edited the Content Type so new documents will be created unpublished, but still when you save it, the Publish mode is forced on it!
Please help, this has become critical.
I am looking for feedback on our organization's current situation.
We are currently running Drupal 6 and are planning a complete overhaul of our website, to be launched between July and September 2014. We are doing a full review of platform options and may or may not stay with Drupal on our future site. We receive about 1.25 million hits on our website annually and our site is the main place people purchase tickets to our venues, so we cannot afford to have our site down, hacked or in some other way not functioning.