When pasting content from WORD a lot of the markup is being cleared up by using "Force cleanup on standard paste" using TinyMCE and WYSIWYG module. It seems however to leave in the following code:
<p> </p>
Is there any way so that I can filter this out?
...
i m newbie to drupal presently i m using drupal 6 version
i have to generate the word document files for the selected nodes say (/node/166,node/21)
we dont have any module to generate word documents or to generate pdf files with group of nodes we can generate pdf file for one object
to generate word document file in php
will be
T...
On certain pages drupal_get_path isn't working correctly (or it is and I've got the wrong function)
The base path is wrong
Example:
Image is supposed to be at
http://domain.com/sites/all/modules/pecapture/images/headline_dontmissout.jpg
But when on
http://domain.com/node/9
The URL is
http://domain.com/node/sites/all/modules/pecaptur...
Hiya,
I'm looking to create a custom module which hooks into the Drupal timeout procedure. It needs to fire a quick ping to another server when a user times out - so that they are logged out of the systems on the second server too.
Thing is... I can't find any documentation about how Drupal manages it's timeout. What I have been able ...
hi!
I want to extract the contents of a excel file and populate them in a new post( page) . I'd like to maintain the row-column relationship.
Ex:
sample.xls
Name | Age | Sex
A | 20 | M
B | 30 | F
C | 40 | M
In Drupal (the one which i want)
Name | Age | Sex
A | 20 | M
B | 30 | F
C | 40 | M
Is there any module in Drupal to d...
hi!
I'd like to learn how to create modules in drupal- modules which can interact with the user, database, assign permissions, views.
Is there any good video tutorial or a simple sample module which covers these things?
Thanks.
...
We are currently transitioning our website to Drupal 6.x from a non Drupal source. One of the first issues we need to deal with is that of authentication. We have a central database where we keep member information. We will create a module to authenticate against this database however a question of whether or not to create users in the d...
I have been using a custom template file called user-profile.tpl.php for a while. But wanted to explore the CCK Content Profile abilities.
I renamed the template file to something arbitrary, but instead of drupal defaulting to using the standard profile view it is complaining that it can't find the user-profile.tpl.php file.
So either ...
I have an article content type with a node reference CCK field that links to other articles (related articles) .
I need to add a text field for each node reference that allows an admin to specify "why it's related". How do I go about this in D6?
Articles can be related with other articles so it makes sense to have the "why it's relat...
Hi,
I have my Drupal site here so far: selkirk.treethink.net
Each Primary Link at the top has a bunch of other primary links under it (sub links)
I need to display these sub links when you hover over the parent primary link in a dropdown menu.
Everything is in the primary links but there are parents (what you see at the top of the dem...
i have small problem....
i have one content type say cars with various fields, say more than 30 , user can create the content types...
now i would like to show only few fields in different phases,is there any possibility to do that.
more explantaion:-
user may enter the car model and car details in the first page and upload images in sec...
i have written a small code which creates a word document but
i got the following errors
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
global $user;
$fp = fopen("test.doc", 'w+');
$str = "<B>This is the text for the word file created through php programming</B><br>test to create a doc file from ph...
i have a content type named Properties, users can create the content types
i have file cck field in the content type(properties)
now i want to add the attachments to the or edit the attachments field only in a block or panel for the particular property,
not showing all the fields when user try to edit the content type.
i have heard th...
how to pass arguments to panels then to contexts in drupal,
when we add the context node edit in panels 3 it shows a autocomplete field where i have to enter the NID
is there is any way where this node ID can get from arguments, so that editing of the content is made more dynamic....
thanks and regards....
...
I have a Drupal setup like this:
Content type: Apartments
Vocabulary: Areas, that can be used with Apartments.
Content type: User profile, with a Content Taxonomy Field for Areas so users can select what areas they are interested in.
I would like a view that shows all the user profiles that matches the apartments in their area. A "Us...
I currently have nodes setup on my site, and each node belongs to a particular menu (not primary or secondary prebuilt menues).
How can i find out which menu a node belongs to?
...
I've had this issue numerous times on sites using drupal and not really found a way that feels right when building menus. Take an example such as this
Primary Navigation [i.e. top of the page]
Item 1
Item 2
Item 3
Item 4
Item 5
Then within each Item there would be a secondary menu specific to it:
Item 1 Pages
Link 1
Link 2
Link 3...
The following code is the default for the method theme_jcalendar_view which is a theme function.
<?php
function theme_jcalendar_view($node) {
$output = node_view($node, TRUE);
$output .= '<div id="nodelink">'. l(t('more', array(), $node->language), calendar_get_node_link($node)) .'</div>';
return $output;
...
We use Drupal aggregator to get RSS feeds and present in views. However we are seeking a RSS editor module that can perform the following functions:
*Allow to remove some RSS items if selected (not taken as-it-is from Aggregator module). We experimented Yahoo pipes filtering function, however keyword filtering does not work perfectly....
I am trying to create an auto-refresh for a table using ajax/jquery, php/html, and Drupal 6.
Code once the database insert has finished and was successful:
echo "<script type='text/javascript'>autoRefresh()</script>";
Code for the link that eventually calls the javascript code that actually performs the refresh of the table:
$b...