Global updates to nav menus?

I have recently dropped Adobe Dreamweaver completely. All my favorite plugins were dated and no longer working. ONE feature I miss was the semi-automatic global update to links when you change one. E.g.: I want to change my nav menu /contactus.html to a /contact.html.
The menu was developed using DW plugins from PVII (now defunct :frowning: _ _) Is there a project feature what will allow a global change? I know i can do this using BBEdit. Just curious if there is an easier solution in PG.

Are you just editing an old DW project? Then Find and Replace is very feature rich. It was updated not too long ago. You can stack actions and all sorts of cool things.

Otherwise, becoming familiar with master pages is the solution here when building static sites.

2 Likes

THANK GOD ! and thank you !

Okay, I tried to run it on the page and the project, but nothing changed! BTW, this is an imported DW created site

You really wouldn’t even need the tag defined here, the href should be enough.

tried both ways. Nothing changed

@jefferis Oh, sorry, what I hadn’t realised was text content didn’t cover attribute/data values.

But I did a quick experiment, using the AI action to replace the href value, and that worked great, even with my badly worded prompt :rofl:

@matjaz maybe we can get an additional option for attribute values also in the Find and Replace.

Yeah, I felt the same way when I dropped Dreamweaver. Pinegrow’s Components feature makes global changes like link updates a lot easier—you don’t have to redo everything manually. Kind of like how I use Inat Box, for streaming, it saves time by keeping everything organized in one place.

I tried it as you wrote it with and without the / slash, but still nothing worked. Could the template editable area from Dreamweaver have anything to do with it? I linked the page I tried it on.

All I can say is it worked for me in the test. I haven’t used Dreamweaver since the Macromedia days :grimacing: so I am no help there.

Why not take the opportunity to rebuild the site, make use of the master pages and components in Pinegrow? Which is probably worth it, looks like your using jQuery 1.7.2, which is over a decade old. You might want to update purely for security vulnerabilities alone. :man_shrugging:

thanks. I updated the jQuery I will use BBEdit to update the links. I’m not ready to redo the entire site right now.

1 Like

Search by Attribute value is coming in the next update. Thanks for the idea @PeteSharp!

2 Likes

Thanks @matjaz :smiley:

Find and Replace, which is already great, is just about to get better.

Have one file with your menu in menu.php
Rename all your files .php (not.html)
Add <?php include 'menu.php' ?> where you want your menu to appear.
One file for menu - nice clean code.

1 Like