Node Updates On Cron
Here is my problem. I am building a set of modules to sync remote objects from another server with nodes in Drupal. The particular module that I am finishing is backup mechanism in the case the remote server is not responding. The data is stored and the calls are rerun when the service is back up. This happens during cron. When a call comes back it returns a unique identifier for the object that I need to store in the node that is associated with it. My problem is that both node_save and db_query are failing to update existing nodes.
Read moreGetting a node's menu, including parents
If I have a menu that looks like this:
Home
Products
... product a
... product b
... product c
Support
Partners
... Africa
... Americas
... Asia
... Europe
Contact
Is there a function I can call with the path or node id of, for example, "product c", that will return the menu that product c is in as well as the parent menus? For example, I'd love a structure that returned:
Home
Products
... product a
... product b
... product c (active)
Support
Partners
Contact
Defeating SPAM and Address Harvesting
I'm currently using the SpamSpan module to obfuscate all e-mail addresses which appear on one of my web sites. The site owner is concerned about an up-tick in the amount of SPAM they receive so I'm looking for suggestions to better protect these addresses.
Suggestions?
Read moreProblem with Feeds and Parser Settings
I've installed and enabled Feeds and several (common syndication, iCal, REGEX) parser plug-ins but when I visit admin/build/feeds to configure a feed importer NONE of the parsers that I have tried present any configurable settings. I've tried this in a couple of different themes including Garland...nothing.
The admin URL that I end up at is always:
/admin/build/feeds/edit/feed/settings/FeedsParser. Am I looking in the wrong spot or missing something here? Anybody else encountered this kind of behavior and found a way around it?
Mark
Read moreIMCE "browsing" in D7.7
In D6 I had a "browse" button for inserting files from IMCE in the wysiwyg toolbar image button widget. I dont seem to have that it D7.7. How do I get it back? or can I?
Read moreCan I Use Organic Groups in IMCE Directory Path?
We are looking at IMCE to help manage file uploads in an OpenPublish based Drupal site. This site is also going to make heavy use of Organic Groups to help separate content, and manage authoring permissions.
Read moreExpected Memcache Behavior?
Hi, all.
I know a few of you here have experience with memcache. Wondering if you can help me out.
- User creates or edits content. Does not see it appear on the home page.*
- Logout. DOES show up.
- Log in again. Content still does not show up for authenticated user.
- Clear cache manually. Content finally shows up for authenticated user.
Is this expected? Does memcache normally get flushed along with the built-in drupal cache?
Read moreView or export of navigation
I'd like to create an xml or json listing of the menu as it shows on the site so that I can consume this on other sites. I've looked at views and not found any obvious starting points. I'm looking at the database and core modules for inspiration but wondered if you know of a good starting point. Certainly i'm not the first one to want this, have you seen a module that does this or similar?
Read moreScaling Drupal
First off, sorry I missed last Monday. Hope to see you guys next month!
I asked this on the Drupal support list, but I thought I'd get some local input. Here's my email:
I have a site that I’m working on the data structure for… I feel like I know how I’d do it, but I was told that it might not scale well, so I thought I’d run it through you guys.
Read moreHow do I list every page in my site
We have a monster of a site, poorly organized and full of pages that are not accessible through the primary navigation. We are going through an IA redesign and splitting the site into multiple smaller sites.
I need to generate a list of all of our pages so that the content owners can go through and tag each page based on which site it is relevant to. Is this a simple query to the db for each url and page title and spit that out into a document, or is there another standard way of generating this type of list?
Thanks,
Read more


