drupal

drupal views dynamic filter

偶尔善良 提交于 2020-01-15 12:27:42
问题 I have a Drupal website where I post tournament results. I have created a content-type where i write the result for 1 person in the tournament. So the fields are like: Date of tournament, player name, final position. If 10 people played in the tournament, I create this content for each player. Now, I would like to create a table with views, to list all the players in the tournament, and the various info, like player name/final position. I can do that pretty easy by adding the fields and

Website scrolling horizontally for unknown reason

情到浓时终转凉″ 提交于 2020-01-15 11:21:58
问题 The URL: http://pipedvan.com/ The website seems to have extra spacing to the right which is causing the horizontal scrollbar to show up, I'm not sure where this problem lies but help is greatly appreciated! PS. It is showing up in Firefox, Chrome & IE9 .. and I've only noticed it on the Home Page. Thanks! 回答1: you need to remove width: 100% on: #ddblock-custom-pager-1 div.ddblock-cycle-sardinia div.custom-pager /* on line 1076 of your style1.css*/ 100% is relative to the parent container, so

Ignore “The” when sorting a View in Drupal

淺唱寂寞╮ 提交于 2020-01-15 05:09:06
问题 How can I ignore "The" when the user sorts a view in a Drupal site ? 回答1: Have you tried looking into the Views Natural Sort Module ? taken from module page linked above.. Provides a views filter that sorts titles by a more natural manner by ignoring articles like "The" and "A." 来源: https://stackoverflow.com/questions/3189092/ignore-the-when-sorting-a-view-in-drupal

drupal user login redirect

∥☆過路亽.° 提交于 2020-01-14 19:15:31
问题 hi i wrote a module for user page generation. After login the path goes to users/[user-name] and i want to customize it using my module. how to handle it? 回答1: You can use Login Toboggan to set a login destination. There are a few modules available for login redirecting without having to code. To customize the look and feel of the user profile page, you can implement that through a TPL with CSS, or you can use Views to create Content Panes in conjunction with Panels, and override the user/%

drupal user login redirect

跟風遠走 提交于 2020-01-14 19:14:35
问题 hi i wrote a module for user page generation. After login the path goes to users/[user-name] and i want to customize it using my module. how to handle it? 回答1: You can use Login Toboggan to set a login destination. There are a few modules available for login redirecting without having to code. To customize the look and feel of the user profile page, you can implement that through a TPL with CSS, or you can use Views to create Content Panes in conjunction with Panels, and override the user/%

drupal user login redirect

我怕爱的太早我们不能终老 提交于 2020-01-14 19:12:11
问题 hi i wrote a module for user page generation. After login the path goes to users/[user-name] and i want to customize it using my module. how to handle it? 回答1: You can use Login Toboggan to set a login destination. There are a few modules available for login redirecting without having to code. To customize the look and feel of the user profile page, you can implement that through a TPL with CSS, or you can use Views to create Content Panes in conjunction with Panels, and override the user/%

Understanding htaccess Filesmatch code

寵の児 提交于 2020-01-14 11:43:01
问题 I am trying to install drupal in a subdirectory on my bluehost hosted website... It's a HUGE pain I'm thinking the following lines from the .htaccess is the problem. When I currently navigatoe to mysite.com/subdir/install.php I get a 403 error. However, when I take out "deny" from the lines below, I cease to get that error, so I suspect that this line is causing all the trouble. My question is, can someone help me understand what is happening in the following code? Especially if you can break

Understanding htaccess Filesmatch code

泪湿孤枕 提交于 2020-01-14 11:41:06
问题 I am trying to install drupal in a subdirectory on my bluehost hosted website... It's a HUGE pain I'm thinking the following lines from the .htaccess is the problem. When I currently navigatoe to mysite.com/subdir/install.php I get a 403 error. However, when I take out "deny" from the lines below, I cease to get that error, so I suspect that this line is causing all the trouble. My question is, can someone help me understand what is happening in the following code? Especially if you can break

Drupal Module Add Menu Item To Primary Links?

亡梦爱人 提交于 2020-01-14 10:15:52
问题 Is it possible to add a menu item from within hook_menu() directly to the primary-links menu instead of navigation where they like to reside by default? 回答1: Actually, it is possible. One of the optional keys in a hook_menu() implementation is in fact 'menu_name', and its value can be the unique name of a given menu. In your case, 'primary-links'. The Devel module uses that technique to add its items to a custom 'Development' menu. Also note that versions of Drupal 6 earlier than 6.6 (IIRC)

Web application integration with Drupal

久未见 提交于 2020-01-14 09:59:27
问题 We want to build a web application, that is specific to our domain, but also include forums, blogs etc in this application. Some integration points to Twitter and Facebook are also required. There will also be a desktop application that connects to our web application for uploading data and downloading configuration and reports. The question is, can we extend Drupal to host both the regular modules and our web application? (There will be business entities and their properties and daily data