KevyNC Posted June 5, 2020 Report Share Posted June 5, 2020 Hopefully someone can help with this. I want to add 2nd home button in the header bar when the normal HOME button appears. The reason for this is because is I have a custom WordPress integration. When a TNG page is being displayed I want a home button to return to the TNG Wordpress Page (which is the way it works now), however I also want a TNG Home page button so they do not exit back to the WordPress site. I also want to relabel them, and avoid any issues with future updates. I really prefer both appearing next to each other on the left where the normal home button appears. Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 7, 2020 Report Share Posted June 7, 2020 What's the URL of your WP homepage? When clicking on your new button where must the program go? Michel Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 7, 2020 Report Share Posted June 7, 2020 try this mod : the button returns to your home page... You can change the destination directly in the cfg file before you install it... Add_button_WPhome_12.3.0.1.zip Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 7, 2020 Report Share Posted June 7, 2020 The same mod with editing option... Michel Add_button_WPhome_12.3.0.1.zip Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 7, 2020 Report Share Posted June 7, 2020 ?? Quote Link to comment Share on other sites More sharing options...
Shazzam Posted June 7, 2020 Report Share Posted June 7, 2020 7 hours ago, Michel KIRSCH said: try this mod : the button returns to your home page... You can change the destination directly in the cfg file before you install it... Add_button_WPhome_12.3.0.1.zip Thanks for sharing in the code it has 'id'=>"coucou" If you wanted to add another button, would you change that id as well or is this css. Thanks Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 8, 2020 Report Share Posted June 8, 2020 A priori, this id has no influence for teh coportment of the button. But use the second edition of the mod, these with edit option. Michel Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 8, 2020 Report Share Posted June 8, 2020 ... the comportment... Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted June 8, 2020 Report Share Posted June 8, 2020 32 minutes ago, Michel KIRSCH said: ... the comportment... Hi Michel, Does that mean behavior or function of the mod? Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 8, 2020 Report Share Posted June 8, 2020 Hi Ron, Sorry for the comportment. Yes, behaviour. As long as the button is only used to point to a url defined in the editing options of the Mod. Sorry, but I don't make tests: It was just to answer to kevyNC, to begin to elaborate a solution. I think Kevyn's on vacation... Michel Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 8, 2020 Report Share Posted June 8, 2020 Once again, this is the mod with the edit option. Michel Add_button_WPhome_12.3.0.1.zip Quote Link to comment Share on other sites More sharing options...
SarahBeth Posted March 18, 2021 Report Share Posted March 18, 2021 On 6/8/2020 at 11:42 AM, Michel KIRSCH said: Once again, this is the mod with the edit option. Michel Add_button_WPhome_12.3.0.1.zip Hi! Thanks for this. I've never edited .cfg before, but is it possible to change the title of this button to "Family Tree Home"? Quote Link to comment Share on other sites More sharing options...
SarahBeth Posted March 18, 2021 Report Share Posted March 18, 2021 I found out how to edit it, and it works amazingly! Thank you SO much Michel for the Mod. This is wonderful. Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted March 18, 2021 Report Share Posted March 18, 2021 You're welcome SarahBeth. This Mod is unofficial because it is used by only one user. Now 2 users !! Great success !! I'll promote it on the wiki soon... Michel Quote Link to comment Share on other sites More sharing options...
SarahBeth Posted March 18, 2021 Report Share Posted March 18, 2021 It is wonderful! I have a full site for the family history, much more than just the family tree, and the TNG interface is just one section. It's great to have the option of pointing visitors to the Family Tree home page as well as the real site home page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.