drupal-6

Drupal: Renumbering node ids

Having spent some time migrating old data into a new drupal site, my first node id is already into the 4 digit territory. Has anyone had any experience in this position of renumbering node ids starting from #1? Maybe using direct queries on the database, or a module that traverses and renumbers all the nodes? Of course, nodereferences...

Drupal CCK Text field not saving.

Hey Guys, I've been trying to write a CCK Field based on the Text field. But if I create a standard CCK Text field with only 1 value. Then edit a content item for this type, the values are never persisted. When I go back in and edit the same node, the value isn't there. I checked the database and its not in the table for the CCK nod...

Changes to the User Permissions Not saving

I am use drupal 6. it seems like permission page can not save too many settings. I have try to save permission setting, but it is just not saved into DB. I have found out this is due to "too many fields". (use content permission module). if i uncheck some fields, and then checking lesser fields, permission will be saved. for example, ...

Drupal 6: Nice_menus module at navigation block.

Hi friends, I'm new at drupal. I installed Nice Menus Module. When I add to sidebar block at Blocks Settings Page, it works fine. but when I add it to Navigation block, it doesnt work :( it just display the parent links, not the child ones. my page.tpl.php <?php if (!empty($primary_links)): ?> <div id="nav" class="clear-block"> <?php...

Drupal: how can I remove the links from taxonomy terms ?

hi, I like the taxonomy terms in my nodes pages, but I don't want user being able to click on them. I just want to remove the links. I'm trying to remove them from taxonomy module php files, but I cannot find them. Thanks ...

OR in view's argument -- How to rewrite views query?

I need an OR clause in the arguments section of a view. So if a user passes 123, I'd like to return rows WHERE Field1 = 123 OR Field2 = 123. I'm fairly certain this can't be done in the views interface (but please correct me if I'm wrong). So I'm trying to rewrite the query. Where's the best place to do this? I'm in hook_views_pre_e...

Drupal 6: Block visibility settings...

Hi friends, I'm new at Drupal. my url is like www.blabla.com/drupal/blog/ I have some blocks that must be disabled for blog part. So I go to related block configuration and make it as below: but it doesnt work :( just to test, I wrote only * , and it worked well. but i doesnt work when I want to define specific page :( ...

Need to submit the register info in eloqua from Drupal

Need to post the registration info to eloqua too. I am using Drupal 6.14 ...

Drupal 6: display image with View in blog posts listing page...

Hi friends, I'm new at Drupal, love it so far :) I added Photo and Logo File field to blog entry with CCK. I need to display these images at blog post listing page. So at View Module, I added fields as below; At View: Content: Logo URL to file Content: Photo Path to file and it displays only names of files, but I need to display i...

Drupal, Views: header doesn't accept PHP..

hi, I'm using Views for some nodes, and I want to display a different View title according to which taxonomy tags are selected in my filter. I already have taxonomy field for each node in my view. But this is not what I need. I basically need to display all the currently filtered tags on the top of my view. I was wondering if I can so...

Drupal 6: Extremely-Annoyingly slow although devel (&all development modules) are disabled!

Hi friends, I'm new at Drupal. I use Hostgator and working on my first Drupal project, at the begninning everything was fine. but later site has started loading extremely slow! I even needed to contact to HostGator, and they restarted the apache. than it was fine for 10 mins, and same again now! Sometimes it give mysql errors like Th...

Drupal menu item disappears for Anonymous User, I dont want that happening!

Good day I'm using Drupal 6, and I have a menu item that points to a Forum page. I only want the forums accesible by registered users, but if they aren't logged in/registered I want drupal to display a login/register page. Im using a 403redirect module to handle that, and that is fine. My problem is, I have the menu item pointing to ...

Drupal 6: using too many Views module causing site to go down cos of too many mysql connection.

Hi friends, I have HostGator Baby Shared Plan . I develop Drupal site on. everything was fine at the beginning, then by the time i go further with development, site started ti work really slow. now it is not working at all. giving my sql errors like TOO many connections, etc... I created so many blocks, pages with View. so it makes my...

Having a content type with a CCK file field, how to set up a view to only show nodes of that content type which do not have a file uploaded?

I have explained my problem here http://screenr.com/6rA I posted this earlier in text but no one could get the idea about my problem so I made the video. It's only 4 minutes long. I'd appreciate if anyone can help. It's the last hurdle for me to finish this university project. EDIT: Someone has done something similar to what I need a...

How to skip validate from user name taken rpin drupal register form?

Hi everyon know about drupal registration with same name but difference email address. user name must not be unique. ...

Count number of results in a View

I need to count how many people belong in pre-defined groups (this is easy to do in SQL using the SELECT COUNT statement). My Views query runs fine and displays the actual data in my table, but I simply need to know how many results it found. However there doesn't seem to be a COUNT option in views. I am guessing I am going to have to u...

Drupal 6: defining js and css for particular pages.

Hi friends, I'm a drupal newbie... When I define css and js at filename.info file, it takes effects for all pages. I have some particular css-js files for some particular pages, and I don't wanna slow site down by importing all these files for the pages actually no need these files. How can I define js and css for particular pages? A...

Drupal 6: Creating blog post page with View Module [dynamic Path]

Hi friends, I'm a drupal newbie... I created my blog post listing page with View. Everything is great... but the post detail page is not like as I need. So I wanted to create that page as well with View Module, so I can control all content, etc... but how can I create that page? url changes according to post title. somehow I need to ...

How do I programmatically apply a Drupal input filter?

I am currently exporting Drupal data to an external source (XML) programmatically. However, I want the data to run through the site's default Input Format (the filter that runs before user content is displayed on the website) before being written to file. How do I programmatically apply a Drupal input filter? Is there a specific functio...

Drupal 6: creating different profiles to list at custom page adding page and selecting as many as i want...

Hi friends, I'm a newbie drupal... I'm working on my first Drupal project. I need to make an events page for some conferences. I create event content type, and creating fields like date-place-title-etc with CCK. There are also speakers, can be up to 20. each speaker has photo-namesurname-position. same speaker can be added to more than...