KevyNC 0 Report post 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. Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted June 7, 2020 What's the URL of your WP homepage? When clicking on your new button where must the program go? Michel Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post 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 Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted June 7, 2020 The same mod with editing option... Michel Add_button_WPhome_12.3.0.1.zip Share this post Link to post Share on other sites
Shazzam 0 Report post 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 Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post 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 Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted June 8, 2020 ... the comportment... Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted June 8, 2020 32 minutes ago, Michel KIRSCH said: ... the comportment... Hi Michel, Does that mean behavior or function of the mod? Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post 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 Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted June 8, 2020 Once again, this is the mod with the edit option. Michel Add_button_WPhome_12.3.0.1.zip Share this post Link to post Share on other sites
SarahBeth 0 Report post Posted March 18 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"? Share this post Link to post Share on other sites
SarahBeth 0 Report post Posted March 18 I found out how to edit it, and it works amazingly! Thank you SO much Michel for the Mod. This is wonderful. Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted March 18 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 Share this post Link to post Share on other sites
SarahBeth 0 Report post Posted March 18 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. Share this post Link to post Share on other sites