...how do I build this...?

markgriffith - June 7, 2008 - 11:44

.

I've been told it's best to ask specific questions here.

How would I make a simple one-page site, with some thumbnail .jpgs that all load at once, with each image enlarging once it's clicked?

As far as I understand (which isn't far, I've only written static HTML sites before), one advantage of PHP is that images all load together (off a database?), not one by one.

I have XAMPP installed on my laptop to test the one-page site if I ever work out how to build it. Drupal is installed too.

Gratefully,

Mark

.

Use any image module for

ravi_9793 - June 7, 2008 - 12:09

Thank you, ravi

markgriffith - June 7, 2008 - 13:30

I shall go and have a look at once...

Thickbox

bestknight - June 7, 2008 - 13:35

You can also use thickbox to display an enlarged version of the image on clicking on a thumbnail of it - works good combined with imagecache.

See http://theartlab.net/drupal-school-009-maintainable-gallery

Thank you, bestknight

markgriffith - June 7, 2008 - 20:11

Checking out that tutorial now...

Trying to instal one of ravi's suggestions...

markgriffith - June 8, 2008 - 22:12

So here I am in a Wifi cafe trying to enable one of the Drupal modules ravi kindly suggested - the Brilliant Gallery one.

Obstacle 1 - my http://localhost/drupal won't even let me in without my password. I don't recall installing a password to access my own laptop, but never mind.

Obstacle 2 - I go to a Wifi cafe to download a new password, and I get a message saying, and I quote

<<
* warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\drupal\includes\mail.inc on line 193.
* Unable to send e-mail. Please contact the site admin, if the problem persists.
>>

What does this mean? I thought I _was_ the site admin on my own laptop, using Drupal in combination with XAMPP. Why is there always so much to learn before I can begin to actually start learning what I want to learn...?

...

zirvap - June 12, 2008 - 17:30

When you installed Drupal, you were supposed to create the first user account. That's the username and password it's asking for. Did you do that? If not, I suggest you just clean out the database and run the install script again. See http://drupal.org/getting-started/6/install/run-script for screenshots of the install process.

As for why Drupal asks for a password: Drupal doesn't know that it's safely on your PC, accessible only to you. For all Drupal knows, you've installed it on a server that's accessible from the Internet, and if so, you definitively wouldn't want anyone to be able to use the administration functions without a valid password.

...zirvap, thank you

markgriffith - June 13, 2008 - 14:13

Dear zirvap,

thanks - that was very clear. Unfortunately I put a bit too much trust in the Yugoslav techie friend who I paid to help me instal Drupal and XAMPP. I sat alongside him, and he did mutter something once or twice about this being at the limit of his knowledge... No, the accounts you described _weren't_ created. I went back to him yesterday morning to ask if he understood my problem, and it was obvious he didn't.

I now see a re-instal is necessary. Thanks for taking the time to explain this to me.

Gratefully,

Mark

.

..."base URL"?

markgriffith - June 13, 2008 - 14:41

Does this sentence in the screen-shot instal guide

<<
To run the install script point your browser to the base URL of your website (e.g., http://www.example.com).
>>

still apply even if I have no website on Drupal yet? As far as I understand, I am running Drupal only on localhost/drupal on XAMPP.

My website http://www.otherlanguages.org is a completely separate entity, which I handcoded in HTML, running on a server in Canada. Migrating it to Drupal is not among my early priorities. I want to build a couple of quite distinct small practice sites so as to get to understand Drupal a bit better first.

I shall get help here in Budapest with the re-instal - don't worry, I'm not going to keep on pestering you kind people step by step...

...

zirvap - June 13, 2008 - 15:25

In that case, I think your base URL is http://localhost, or http://localhost/drupal if you have installed Drupal on a subdirectory named "drupal".

I'm not 100% certain, as I haven't used XAMPP or similar myself.

Xampp settings

bestknight - June 13, 2008 - 19:32

If you install drupal in lets say: xampp\htdocs\drupal then in .htaccess you need to uncomment Rewritebase and set to
RewriteBase /drupal

Also there is some work to get Clean URLs to work with XAMPP
see http://drupal.org/node/43545

Regarding the mail warning, before you can send email through XAMPP you need to supply SMTP server address in php.ini, otherwise you cannot send mail through XAMPP (and Drupal).

...much appreciated

markgriffith - June 13, 2008 - 22:39

...zirvap, bestknight, very grateful for your extra notes. This fog is slowly starting to clear for me. Your patience with my ignorance is most impressive...

...apologies, everyone, but...

markgriffith - June 16, 2008 - 18:17

Sorry everyone, but I want to start a new forum thread in the General section. The software won't let me, which doesn't bode too well for building stuff in Drupal.

I go to 'General', then 'General discussion', then I click on 'Post new forum topic' and I get several drop-down menus which say 'please choose', but allow no choice, and then I am unable to proceed because I didn't choose from the drop-down menus which present no choices.

What's going on?

Apologies,

Mark

.

Create vocabulary -> then create terms

bestknight - June 16, 2008 - 19:56

It seems to me you have created vocabularies but you have not added any terms to them

Example: Create Vocabulary: Thread Category or plain Category

Then add terms, eg.

General
Sports
Financial
Lifestyle
etc

 
 

Drupal is a registered trademark of Dries Buytaert.