I18N: Make "What is DoSomething.org?" editable.#2805
I18N: Make "What is DoSomething.org?" editable.#2805sergiitk merged 2 commits intoDoSomethingArchive:devfrom sergiitk:editable-about-block
Conversation
[DOS-12](https://jira.dosomething.org/browse/DOS-12): Change the "What is DoSomething.org?" header item to "Who Are We?" for all affiliate sites.
|
DOS-12 is ready, "What is DoSomething.org?" is changeable now. However, it may also be needed to change a link to actual "About us" page. @barryclark, @julielorch could you clarify that? |
|
@sergii-tkachenko I don't think the link to the About Us page is changing. Is that right @julielorch? |
|
nope - not changing. We just want a different title in the header for "What is DoSomething.org" |
|
@barryclark What I'm worried about is node id. |
There was a problem hiding this comment.
Currently nid is hardcoded: node/538.
|
@sergii-tkachenko Thoughts on using a link to "about/who-we-are" instead of the node id? |
|
Meh, actually that's a crappy idea, as if we changed the node's alias the link would be dead. |
|
@barryclark exactly. Plus, non-english sites may want to have aliases in its language. |
|
No menus should be hardcoded with node nid's, we should use variables similar to what we use for the footer.... |
|
@barryclark But so is ugly hardcoding a nid. |
|
@sergii-tkachenko uuid is installed :) |
|
Thank you for pointing that out, @angaither! |
|
I'm thinking to use uuid_entity_autocomplete module. |
|
this looks ok! 👍 |
|
@angaither I agree with you, but I'd like to have a little experiment with the module before throwing it out. |
I18N: Make "What is DoSomething.org?" editable.
|
@angaither, you were right, this uuid_entity_autocomplete module was rubbish. After selecting a node in the dropdown it just replaces input a node title with meaningless UUID. |
|
@angaither But take a look at the Entity Autocomplete. It's 2,362 sites using this module / 17,851 downloads. Here's how selection works (It is already limited to Static Content pages only): And compare to current look and UI: I've saved a patch from my experiment and it'd take just a minute to commit it. |



DOS-12:
Change the "What is DoSomething.org?" header item to "Who Are We?" for
all affiliate sites.