I am looking for the syntax to add node fields to the body of an email. Examples I looked at indicate the the format is:
[content_type:content_type_title]
However my email arrives with just the string :
[content_type:content_type_title]
Even better would be a PHP snippet that loads the node and dumps filed title and filed value int...
Hows does Drupal 6 interact with MySQL for connections and transactions? Does connection pooling get used? How are transactions handled? At what level are these things managed by Drupal vs being handed off to be handled by MySQL?
I did a good amount of searching on the web and within Stack Overflow, but mainly, I only found articles ...
hi,
i built a page in Persian.
set it's path to front
set drupal frontpage to /front
everything is O.K. in mysite.com/fa
i translate the page to en
problem arises. now the path of Persian page changes to default node/33. now in language's frontpage drupal says Can't find the page.
i tried to set path front to the translated english ...
How can I use jQuery for messing with a particular div, but not in the current document - in a variable, that contains HTML?
The point is that I want to show a preview of a page (a piece of it's content) in a modal window, when the link to this page is clicked. Well, onClick I load this whole HTML into a variable via JSON and then... ho...
hi,
I need a sequence of text, image, video CCK fields, repeated twice in my content type.
I need to create 2 different groups (I don't want to use multi-upload functionality).
I was wondering if I have to create a new field Image - File Upload for the second group, or I can somehow to re-use the first one (which is already added, and ...
Does anyone know the php code to check if you are in edit mode? I want to edit how my theme looks when in edit mode so need to work out if I am or not.
...
Hi.
I need to set up Drupal 6 as a multilanguage site.
1 installation, several language versions = several domains, i.e.
English at englishsite.com
French at frenchsite.com
German at germansite.com.
I've found a Tutorial that suggest that you need access to server's http.conf - this is quite unlikely on shared hosting.
Is it really ...
Can a PAGE override the priority of a NODE?
I want to use the power of "Pages" to override my links from the nodes...
For example: A nodes link is
/content/202/hello-world
I want to use my Panels to use the URL to create a "PAGE"... The panels can use the arguments from the URL to create a pretty cool page around the content of a no...
[Drupal 5.22, CCK 5.x-1.10]
I have a Sermon content type that accepts a CCK text field labeled Minister. After creating a new Sermon, the Minister field label is shown, but not the value. I've verified that the value is being stored in the database. I am logged in as user1 with all permissions, but the field still does not display.
How...
Can someone help me render a form and table on the same page? I'm sure it's easy, but can't think of how to do it.
Here's hook_menu:
function ncbi_subsites_menu() {
$items = array();
$items['admin/content/ncbi_subsites'] = array(
'title' => 'NCBI Subsites Module',
'description' => 'Informs Drup...
I am trying t o create img captions based on src value match.
JQUERY : What is the best way to extract "Author-ABC" from an img with src value wwww.abcd.com/images/imagename_Author-ABC_.jpg and replace the alt value with this value.
DRUPAL : Is there a way to preprocess this a drupal template function and save the value in img alt attr...
I am trying to get this code to work with another form element...
if($error != ' field is required.') {
//print 'in field is required<br>';
$_SESSION['err_counter'] = $_SESSION['err_counter'] + 1;
//print 'error counter = '. $_SESSION['err_counter'] . '<br>';
$idx = array_search($error, $_SESSION['messages']['error']);
...
Guys,
I was hoping that someone can shed some light on why I am getting this error:
Parse error: syntax error, unexpected '{' in /homepages/22/d223624283/htdocs/drupal_new/includes/install.core.inc on line 74
Could it be something that I missed?
Thanks,
Matt
...
It seems to be working ok for me, as long as I don't try to put 2 fields in a node. Then it doesn't include any view.
Is there a limitation?
...
Hello there. I am attempting to obtain PCI compliance for my site but the Mcafee security scan has thrown a:
Potential Sensitive Persistent Cookie Sent Over a Non-Encrypted (SSL) Channel
Drupal (default behavior) sets a session cookie when you simply arrive at the site. This is causing the problem. Clearly, the entire site shouldn't...
Hello, all.
I have installed a fresh copy of Drupal 6 on an Xampp server. Within that install is a collection of modules for creating an event calendar. There's actually a great instructional video at http://www.youtube.com/watch?v=qO4TeEydtMs for getting all the necessary fields up.
So far everything is working except... the events wo...
How can I configure Drupal 6 to work with gmail IMAP?
These are the errors I get when trying to send email from Drupal.
warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. 23sm231165iwn.2 in C:\inetpub\wwwroot\acquia-drupal\includes\mail.inc on line 193.
Unable to send e-mail. Please c...
hi,
I'm using CCK Image field (multi-images) and for each image I have the "Description" field, where I can add the image description.
I was wondering if I can have multi-line description, instead of only one line.
(Even using some specific symbol to go next line)
thanks
...
I don't know why but i had written clear cut code for uploading file in my page.
i had written like this... on the client side.
<form id="recipeform" onsubmit="return checkAll()" action="submit.php" method="post" class="niceform" enctype="multipart/form-data">
<input name="uploaded" type="file" />
And on submit.php... i am writtin...
hi,
I've added the description field to my Image CCK Fields (in my nodes).
I filled the description field from back-end. However I dunno how to enable it in my front-end.
I cannot display the descriptions. I checked, they are not hided by css. The HTML element doesn't exist.
thanks
...