Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi and thanks in advance to anyone that can help...
Here's an example of what I'm up against...
I create a page which includes an image, with the image stored in the 'files' directory. When a teaser of the page is viewed on the page, the image is there (with the correct path... mysite.com/files/image.jpg). However, when the specific page is viewed, the image is gone, the path being mysite.com/node/files/image.jpg. I've run searches on the forum but am still unable to find a fix.
On my drupal site my comments appear to be eaten up only like first 5 lines show up after that it just cuts off and you dont see full comment for example on http://tatthedon.com/node/88 on 2 comment I wrote 3 paragraphs but only 1 shows up anyway to fix this i tried searching the site but couldnt find any info my drupal instalation is 4.72 if it helps. After the "Core 2 Duo >" it cuts up any way to fix this? sorry this is my first website ever and I'm a noob in these stuff.
What would the query be to display the number of entries in a container? It should only count postings and not categories. For example on my front page, I could have a menu that says "services (10)", "stores (15)" and so on.
When displaying a node via node.tpl.php, what would the query be to display a link to the type of content of the node?
For example, for a blog entry, it would display somewhere around the title a link to /blog, a link to a custom CCK content type of "services", would have a link to the services container labeled "services" and so on. This would allow users to easily see what type of content the listing is, and also include a link to similar content.
I'm using the hook_form_alter function on the slideshow.module to make the attachment field a required entry. Here is my code:
$form['attachments']['#required'] = TRUE;
Unfortunately, this isn't working for me. I have made other adjustments on this specific form field succesfully utilizing similar code as above except for the #title, #description, etc... fields.