cron job to generate all image derivatives

Follow-up to issues posted about generating image(cache) derivatives manually, i.e. to pre-populate all derivatives so they're not being generated on demand.
http://drupal.org/node/331222#comment-4863926
http://drupal.org/node/1122896#comment-4863924

I was able to effect a cron-triggered regeneration of image derivatives as follows:

1. Create a view with a page display which displays all desired image derivatives as fields in a list of nodes. I.e. so that loading this view's URL in a browser triggers image derivative generation. You don't have to use a pager; we'll be making wget wait a delay before each request.

2. For sake of simplicity, disable all blocks for this view's URL. I.e. try to only have the view display the image derivatives and as few links as possible.

3. Launch wget in a cron job on some period, e.g. every 2hrs, like so:

5 */2 * * * wget -P /tmp/wget-drupal -nH -w 5 -m -r -q -I sites/default/files/styles http://mysite.com/view-url > /dev/null 2>&1

How to get rid of "headings"?

I've got my Drupal site mostly set up and everything but one thing bothers me. When I make a page of "basic page" content and go to the page where it is at, it says "Body:" at the top before the content?

Also, when I include one of these pages on my homepage, it says the title in a large link above the content and "Read more" below, how do I get rid of those? I want to show one page of content on my site's home page ALONE, without those two things.

Also, why are my individual pages showing up as nodes?

Thanks in advance.

Link path for gallery overviewpage Drupal 7

Hello,

In Drupal 6 i copied the imagegallery from Jeff Eaton on Lullabot.

At the moment i am trying to make something similor.
I've found the videos from ghankstef on youtube. I think this is working for me, but there must be an overviewpage with the latest images from the imagegalleries.

I can't make this gallery overviewpage. Probably this has something to do with the link path.

Clearing cache breaks database

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'oneacco4_ikeslist.rules_tags' doesn't exist: SELECT rules_tags.tag AS tag FROM {rules_tags} rules_tags WHERE (id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 9 ) in RulesEntityController->attachLoad() (line 31 of /home3/oneacco4/public_html/sites/all/modules/rules/includes/rules.core.inc).
The website encountered an unexpected error. Please try again later.

CKFinder adding extra "/" to file path

I am using the CKeditor mod with ckfinder.

When I upload a file to the server and then try to embed the image onto a full html content page, I get an extra "/" in the file path.

eg: "//images/myimage.jpg"

If I edit out the extra "/" in the path, the image embeds correctly.

What setting do I need to fix this extra "/" ?

Thanks

tokens not getting expanded in drupal 7

Hi, I have tokens module enabled and created an action to send out email with tokens and a trigger to send me the email when a page gets saved/updated When I receive the email I see the [tokens] they are not expanding in to the values.

What did I do wrong or is thre something else I need to do to use tokens?

They are working in views just fine.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x