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

Phptemplate snippets

I want to create 2 phptemplate snippet;

1) will show online user number and visitor number

2) will create a list of smilar entries with a link like similar.module

who can help me?

Create "books"?

How do I create "books" where you can click next and previous links?

EXAMPLE: http://drupal.org/node/21951 [Drupal Docs and Handbooks]

Restrict direct access to page from ...

Is there a way for me to restrict anyone to a particuliar page unless they go from the main site? If they go from the link on the main site, it'll be fine, but don't want to end up in a loop.

Example:
someone bookmarked http://localhost/forum and/or emails everyone that link

Trouble in translation land

I've been using Drupal 4.6.3 with several modules, and doing a custom Greek translation. Here's what happened:

I exported a .po file. While translating, I made a mess by replacing parts of some English strings with Greek strings. I didn't notice, I imported it back, and everythings seemed to work ok...

Later on, I exported the .po again to make some corrections to the translation of the gsitemap module. What I found was that translating the correct English strings had no effect. I had to keep translating the garbled ones!

Now, the situation is this:

  • When the site is displayed in English everything is ok (it seems that the English strings used are not the ones called "original" in the localization page).
  • When the site is displayed in Greek everything is also ok.
  • Whenever I want to edit a translated string I have to find and translate not the correct English sting, but the garbled one, which appears as "original" in the localization page.

(BTW, I also noticed that my Greek taxonomy terms also appear as "original" ones in the localization page, and I am offered the option to "translate" them to Greek.)

I can't find the garbled strings in the database because they are blobs. Any pointers to a doc explaining how the locale works with the database? Any other way out of this? What if I empty the "locales_target" table and import the .po again without the garbled strings? Will it work?

Front_page module

Hello All,

I can seem to get the front_page module to work at all. I enable it in admin>>modules then I got to admin>>setting>>frontpage and no matter what I choose (themed,redirect,etc) I get nothing for logged in users or anonymous.

Any suggestions?

Thanks.

WHY! HOW! Why is it not EASY to make base_url include "www." in domain?????

Could someone please help?

As a web developer, I expect there to be occasional issues to deal with when installing a new system like Drupal. However, this problem has me so me so angry at how much time it has wasted my time needlessly that I could spit. Please forgive me for being so upset, because I have had so much of my time wasted in this ridiculously unnecessary problem that still HAS to be solved.

All I want to do is have the base_url be a domain with the WWW. I want all links to include the "www." in the link. We do remember that, right? That's the four characters that goes between a "http://" and thew domain name. It's called "www." But in my very initial installation of Drupal with fantastic seems to have designed such a waste of time that even when I think I can easily mod it, the system purposely becomes unworkable afterward. It's just seems so NEEDLESS to be this way.

I tried editing in /includes/conf.inc

$base_url = "http://THEDOMAINHERE.com";

to instead be

$base_url = "http://www.THEDOMAINHERE.com";

But what happens? The site sends error headers messages.

So, edit it back and try editing /includes/common.inc to

function drupal_get_html_head() {

  global $base_url;
  $base_url = "http://www.THEDOMAINHERE.com";

(I add the last line so it has the actual domain with www.)

That works. But whenI try to change to different default themes (not even trying download stuff yet), the system refuses to let me change from the default Drupal.

Pages

Subscribe with RSS Subscribe to RSS - Post installation