drupal

Displaying a list of objects with Views - Drupal

Hi folks, I'll briefly explain what I'm trying to do: I need to sort a set of content-types within a paginated page. Also I need to add filtering to the page, for example each content-type should have a set of tags and the filter needs to filter through these tags. This is a basic mockup of what this page consists of: I'm finding ...

Grouping content by category - Drupal

Hi folks, is there a good way of grouping content up by category. I wish I could have a CCK category field. ...

Drupal 6: Blank pages at Ads Module Settings.

Hi friends, I uploaded and activated Ads Module with no error. I can see Ads-List pages. List | Remote ads | Reports | Settings | Ad groups | Channels but all other pages are blank :( as below What can be the problem? Appreciate helps!!! Thanks a lot! ...

Are the ususal database performance-tuning tips invalide for a third-party app like Drupal

When you have a slow database app, the first suggestions that people make is to: Track the slow queries Add appropriate indexes In the case you are building your own application this is very logical, but when you use a CMS like Drupal, that are people have developed and tuned, is this approach valid? I mean, aren't Drupal tables alr...

Drupal: Many fields/content-types equal *many* tables and after a point make MySQL very slow

As I create more and more fields and content-types, I see that Drupal creates a huge numbers of tables (>1k) in MySQL and after a point my system becomes very slow. I have tried several MySQL performance tuning tips, but nothing has improved the performance significantly. Enabling caching makes for good speed in the front-end, but if I...

Drupal cck and views

I have added a new content type event. Now, i have to make a view in which it shows a set of fields if the dateOfEvent (one of the fields) is less than the present date and some other set of fields of the 'event' content if the dateOfEvent is more than the present date. how can I do that in the views.. thanks in advance for helping... ...

Drupal Views Relationship problem using nodes and profiles

Hello, I'm using nodes as profiles so I dont think standard Views relationships are working, can you advise if this is the case? I have users profile nodes with a CCK field called "field_sports" and a CCK field for a content type of events called "field_sport". I only want the view to display sports that match in these two fields. Se...

drupal content image not showing

hi, I'm doing a drupal site. i want show a facebook image in my page content in home page. i have edited content of that page. i have edited the body of that content through admin and put the text in body like this The BikeGlow™ Safety Light runs on 2-AA batteries. Light tube length is 10'. Complete unit weighs under 2 oz (without b...

Changing CCK content-types details results in numerous DB calls for the menu system

Every time I make a change in the details of a content-type it takes too long. I though it had to do with the fact that I had too many content-types and fields (~500), but when I load the devel module to see the queries that take that long I see: Executed 32212 queries in 12267.57 milliseconds. Queries taking longer than 5 ms and que...

RSS.xml is only including some posts and not others in Drupal

Is there a way to make all the posts promoted to font page to be included in RSS? ...

A question about Drupal Node and Views

I have created an "Add Question" content-type node which lets users ask questions. The questions have a title, image attachment option, and the content. I am showing the questions which have image as a block by filtering it as "Content: Photofield - list True" in Views. This way, only the questions which have images attached to the ques...

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...

Joomla to Drupal migration problem

AFter migrating a joomla 1.5 site to Drupal 6 by using Joomla to Drupal module. While importing I ticked full HTML. Now some of the pages have are annoying codes as shown below: <!--[if gte mso 9]> Normal 0 21 false false false TR X-NONE X-NONE MicrosoftInternetExplorer4 <![endif]--><!--[if gte mso 9]> DefSemiHidden="true" DefQF...

Which open source cms has the most extensions ?

Hello, I am interested in a complex, mature and admin friendly cms. I am also searching the one with most extensions, packages, add-ons ... I found these to be the most popular: alfresco, drupal, ez, joomla, dotcms, plone ... Can you help me find the one I am looking for ? (dotcms and drupal are on my mind now) Thank you. ...

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, ...

Adding item to taxonomy menu vocabulary in the create content form?

I've implemented taxonomy menu in Drupal, and trying to set it up so that it is pretty easy for the user to add new items to the vocabulary from the create content form instead of having to administer the vocabulary itself. So far, all I can manage is the default behaviour of displaying the existing items. Edit: Enabling the 'tags' op...

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...

Adding a javascript immediate after body tag

I am making a drupal module. My requirement in the module is that when the module is activated then it needs to add a javascript in page.tpl file just after the body tag. Can anyone help me how to do this. I have tried using drupal_add_js but it will not exactly put the script after body tag, rather puts inside the head or below in foote...

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 ...