I need help... I am making a page with PHP format. In this node I view items based on the ID obtained from Post (or get method). I want to put comment on it that whenever I make a comment the comment goes to that certain item and not to the node. Because for example when I make a comment on item 1 and make a comment on item 2 the 2 comments that I made appears on both items.... How could I make it that comment 1 goes only to item 1 and comment 2 goes only to item 2, etc...
Hi, I'm converting my site from wordpress, I know it's not drupal's fault for stripping trailing slashes but my site has categories with a trailing slash and posts without one.
Now, any friendly URL with a trailing slash does not work in Drupal because of this in includes/path.inc:
function drupal_init_path() {
if (!empty($_GET['q'])) {
$_GET['q'] = drupal_get_normal_path(trim($_GET['q'], '/'));
...
Is it safe to remove the trim. I checked a few different types of pages and they worked :-) but that's not a very thorough test.
Does anybody know how to construct a view that allows you to filter the data between 2 dates.
If I expose the DATE field twice, and then go to the view and try "greater than '2008/01/01' and less than '2008/01/20', it seems to only filter according to the first one.
Is there a way around this?
I have a funny bug on 4.7 on the user/login page, where the "user account" title and the login, register, and request password tabs disappear, if I specify a redirect destination such as "user/login?destination=node/585". Interestingly it still happens with "user/login?destination=" but not with "user/login?destination=node/".
I am using the login_destination and logintoboggan modules, but disabling these doesn't make any difference. I am also using a user_login.tpl.php, but, again, disabling it doesn't change anything. So, I'm guessing this is a core issue?