Project:Site notes
Version:5.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:NancyDru
Status:closed (fixed)

Issue Summary

I'm trying to add a link to the title at the top of the sitenotes summary page something like this:

Site notes (add)

in order to more easily add a new note. But I must be brain dead or something, I can't figure where in the .module to add it. Any ideas?

GREAT module btw the way... its now the first on my list of new installation required modules! thanks for doing it.

Comments

#1

Category:support request» feature request
Assigned to:Anonymous» NancyDru

Hmm... Interesting idea. Changing to a feature request.

#2

Title:add "add" to title of sitenotes page» Add link to create a Site Note
Status:active» fixed

Committed a change.

#3

wow you're fast! I wasn't trying trying to give you more work, LOL. I'm just lazy and I spent the last two days setting up a few new sites and adding bunches of sitenotes all in a row-- when you do it like that it gets repetitive to repeatedly navigate the admin menu to add new notes one after the other (even with the admin menu module installed). So I thought I could just make a quick change and save myself some navigating but I went over the hole module line by line several times and I just couldn't see where to add it.

#4

Well, I had just fixed a problem on another module I contributed and, as long as I was in CVS anyway...

It took me a few minutes to figure out where to put it myself. I hope my solution was good enough for what you wanted. Has it rolled up yet? I haven't checked today.

#5

Yep, its there... I've already downloaded and installed it. Works perfectly! Thanks so much, I think you saved me from a repetitive strain injury on my wrist. LOL.

#6

one other little thing i added to my implementation was to add:

$form['#redirect'] = 'admin/build/sitenotes';

to the _form_alter hook. Now I can just live in the Site notes listing and add notes to my hearts content. Not sure how "correct" that line is though... its works for me with pathauto and clean urls. But thanks again, I'm a happy site noting camper (and of course, this hack is itself a site note, LOL).

#7

Well, I hate to disappoint you, but you'll have to delete a Site Note. You no longer need that hack. I just committed that change.

#8

holy hand grenades batman... that was even FASTER. LOL, happy to delete the site note for that one... WTG... and thanks again.

#9

Status:fixed» closed (fixed)