Login Block

I'm trying to remove the "create new account" Link in the login block, but I can't find the file anywhere. Can someone tell me where it is? I know basic php and html, so I think that the way to get rid of it would be to go into the code, and find the link to q=user/register and delete it right? If I am wrong then please correct me.

Why doesn't gallery module use menu_set_location()? Also, gallery's breadcrumb is wrong.

I don't understand why the gallery module goes through so much work to set the page title and breadcrumb when all it needs to do is call menu_set_location(). I upgraded to a more recent release of the Gallery Module thinking that it would actually integrate with the menu system only to find that it only adds its OWN menu, it still doesn't integrate correctly (well, at least I don't think it operates the way I would expect...)

The gallery modules seem to think that a callback function and menu item is required to register within Drupal's menu system, but I don't think that is true. If Gallery would only take all of the work that it does to figure out the tree to (incorrectly) set the breadcrumb, and instead use menu_set_location, it would get the correct page title, the correct breadcrumb(and actually, I think it's currently doing this incorrectly too, see below), and way more: any menus that the user had set up to correspond to an album or item name would automatically become active, and any blocks that depended upon a certain link becoming active would show automatically. I'm pretty darn sure that this automatic behavior, this true menu integration, is what the menu_set_location function is for, and yet the gallery module doesn't use it. Why not?

Image Assist JS

Users were complaining that image pop ups would only work on the first thumbnail.
What was happening is when they clicked on a second thumbnail the pop up would "pop under" and not be visible.

I went in img_assist.js and commented out

/*function launch_popup(nid, mw, mh) {
	var ox = mw;
	var oy = mh;
	if((ox>=screen.width) || (oy>=screen.height)){
		var ox = screen.width-150;
		var oy = screen.height-150;
		var winx = (screen.width / 2)-(ox / 2);
		var winy = (screen.height / 2)-(oy / 2);
		var use_scrollbars = 1;
	}
	else{
		var winx = (screen.width / 2)-(ox / 2);
		var winy = (screen.height / 2)-(oy / 2);
		var use_scrollbars = 0;
	}
	var win = window.open(BASE_URL + 'index.php?q=img_assist/popup/' + nid, 'imagev', 'height='+oy+'-10,width='+ox+',top='+winy+',left='+winx+',scrollbars='+use_scrollbars+',resizable');
}
*/

and replaced it with


function launch_popup(nid, mw, mh) {
var wins = new Array(); // Remember each separate window name.
var ox = mw;
var oy = mh;
if ((ox>=screen.width) || (oy>=screen.height)) {
var ox = screen.width-150;
var oy = screen.height-150;
var use_scrollbars = 1;
}
var winx = (screen.width / 2)-(ox / 2);
var winy = (screen.height / 2)-(oy / 2);
// Issue close to all currently open windows.

Upgrading by overwriting?

Upgrade instruction tells me to Back-up, Remove all, Extract all, then configure, and so on..

What happens when I just overwrite new version files to the old folder?

Since I don't wanna reinstall Modules or themes again, I think copying the files should work for upgrading.

What's the minimum upgrading process? Especially without removing all the files and reinstalling everything...

J2ON

Simple intranet solution needed

Hello.

I'm looking for a simple file management module to serve as an intranet solution to manage a large number of files for a drupal 4.7 install.

I need a module that can display various types of information such as file descriptions, dates submitted, last viewed / modified, type of file, etc. and list them in a tabled format.

Any suggestions? Any help is appreciated.

OG galleries not showing up

Hello all. I'm having a bit of trouble with og galleries and images in general....

I currently have a defined set of organic groups with their own respective image galleries...

However, when I go to the node/add/image page of a particular group, the galleries assigned to the group do not appear under the image galleries drop box.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x