Drupal is up and running but how do I ...?

function url(), pager.inc, clean urls combo problem

on my 4.5.1 site the 'next page' link at the bottom of a story listing, such as this:
http://v2.shorelinegreenwaytrail.org/node?from=7
fails to page to the next 7 pages.

On drupal.org, however, that style link works.

if i manually change the link to
http://v2.shorelinegreenwaytrail.org/node&from=7
or, turn off clean urls
http://v2.shorelinegreenwaytrail.org/index.php?q=node&from=7
the next page links work.

to my mind's eye, the default url node?from=7 after it's been translated by Rewrite into /index.php?q=node?from=7can't possibly be legal; it has 2 question marks in it and the second obviously ought to be an ampersand.

so i've riskily taken the step of tweaking url function definition with great success; so far nothing bad has turned up.....

on line 1542 of common.inc, i changed

> return $base . $path .'?'. $query . $fragment;
to
> return $base . $path .'&'. $query . $fragment;

i guess i could have messed around with pager.inc pager_link() function but ...

furthermore, why is the pager link's syntax different from the normal taxonomy/term/23 or node/edit/41 syntax? For consistency, i'd think it should be node/from/7

i have clean urls enabled and my hosting ISP, modwest.com, changed my Rewrite rules slightly to prevent recursive memory consumption. i don't want to mess with this change cuz they'll get mad if i bring the server to its knees.

  # Rewrite URLs of the form 'index.php?q=x':
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{QUERY_STRING} ^$  [NC]   # <-- changed
  RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]  # <-- changed with leading slash

Image module

How to insert text under the image !!, when insert e image and text, the text is next to image.

thanks

Unable to comment on events/pages even though administer->content->configure->default workflow is set for comment "read/write"

Hi,

Using a clean install of 4.5.1 this past week (http://www.HuntingtonClub.org), I went to administer->content->configure->default workflow to set it up such that authorized users (not anonymous) can comment on 4 things: Events, Forum Topics, Pages & Polls.

When I log in, I can comment on Forum Topics and Polls, however I cannot comment on pages or events.

How can I make news feed links open in new window?

Hi. I'd like to make the news feed links open in a new window rather than having people leave my site. Can someone tell me where in the code I can make this change?

Thanks.
-Jim Garrison
http://www.dietandhealthinfo.com

classifieds.module?

I'm looking into which is the best way to build a classifed area for a site. A place where authorised users can post anything from job notices to gutarist wanted to drum kit for sale notices....

I'm not sure if flexinode is the way to go and wanted to ask here if anyone has gone down that road before.

Cheers

Jason

Multiple authors?

I'm testing out Drupal to see if it can meet my site's needs, and one thing I require is the ability to mark a story as having two authors. I can set it to another user's name (as admin, anyway; haven't tested as a "staff" mmember), but not as two names. Is there a simple way to do this, or a plugin?

I did try to search this site for information, but it ignored my quotation mark encompassed phrase searches, giving me hundreds of keyword returns instead. Sorry if this has been asked a hundred times.

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Post installation