(Or: AHHHHHHH! Does everything in Drupal have to be this hard???! *forehead-keyboard-slam*)
Trying to get two sizes of an image in a custom template, one for a custom <img> tag and the other for an <a> link. Eventually it'll launch a sweet Lightbox style image archive. Same image, two different sizes. The size names were defined in the Image module's control panel. Simple enough goal. (It's part of a "Photo" custom content type I made.)
Hours spent looking through documentation, not one single page on how to get the URLs for an <img src="..."> tag and <a href="..."> tag! Found this page (Imagecache), and another page claims that Imagecache is now part of Core in D7, but none of its instructions work. For example, it doesn't even say how to get that "$image" variable it uses to begin with! In my theme override file for the Photo content type, no global variable "$image" is defined, and I no idea how to get it. (I do have the core Image module active.) Spent a few hours last night on this too.
I just upgraded my site to v7 and I am total confused by the instructions I have read about setting up a multisite. In v6, I simple created a folder under ~/public_html/sites with the same named as the domain and then I copied the settings.php into the new domain's folder. Then I navigated to the the new domain.com/install.php and I finished up. Now, I keep finding references to symbolic links, etc and none of it makes since to me. Nor does it work.
How Can I delete all field revisions in Drupal 7? I could not find any option for this in Drupal Administration.
I still can empty all field_revision_* tables and also delete all record from field_data_* which their revision_id > 1, But I'm wondering is there any way to Delete Revisions from Drupal Administration?
Hi
I have got a problem with drupal 7. When a I added images by WYSWIG module (ckeditor) that images is not show in post. I can not see any images in any content when I added it by edytor. But If I added images by upload i can see it. Anybody know how to resolve this problem? I sorry for my English.