Announcement

#1 2018-02-09 16:36:23

pleighly
Member
2018-02-09
4

How to add link back to my homepage from my Piwigo Main Page?

Hello/Hi/Greetings,

I have a link on my site Main index page which takes people to the MyPiwigo Main page so they can view my photos & comment etc. but the Piwigo Main page has no link back to my Homepage, so I would like to ADD such a link perhaps to the Menu in the sidebar to the left???? OR even at the top of the Main Piwigo page itself?? What file do I need to edit to accomplish this?

Thanks

Piwigo version: latest
PHP version: not sure
MySQL version: not sure
Piwigo URL: http://www.yourbizhelp.info/piwigo

Offline

 

#2 2018-02-09 21:38:12

martinsach
Member
2018-02-07
3

Re: How to add link back to my homepage from my Piwigo Main Page?

I have had exactly the same issue and I have not found a perfect solution to it. My post on this is a few lines down from this thread. However, I have found a workaround that's a reasonable solution.

I installed the plugin Perso Footer and made the footer a link to my how page - this is just plain HTML. The link appears rather inconspicuously at the foot of the page.

In Piwigo - configuration - options I put a link in the page banner to my home page, again using straightforward HTML.

Now the problem was that the page banner link is hidden in mobile view, which isn't much good. However it worked fine on desktop. So what I have done is to put a bit of inline style in the Perso Footer link so that the link appears close to the top:
<p style="position:absolute; top:20px;"><a href="http://www.yoururlhere">Home Page</a></p>
and this positions the footer as actually close to the top, where it gets seen better.

For reasons that I do not fully understand the Perso Footer only appears in mobile view and the page banner link inly appears in desktop view but as both views have a link to the home page near the top I am fairy happy.

Offline

 

#3 2018-02-09 22:20:22

executive
Member
2017-08-16
1214

Re: How to add link back to my homepage from my Piwigo Main Page?

I don't know if this suits your needs, but the "Advanced Menu Manager" extension allows you to add links to the menu.

Offline

 

#4 2018-02-09 23:58:30

pleighly
Member
2018-02-09
4

Re: How to add link back to my homepage from my Piwigo Main Page?

Thank you martinsach, I will give that a try. AND executive, ADVANCED menu manager? Is that something I have to ADD or install?

Offline

 

#5 2018-02-10 02:13:17

executive
Member
2017-08-16
1214

Re: How to add link back to my homepage from my Piwigo Main Page?

Yes, there are lots of cool plugins for customizing Piwigo. In your administration panel, go to manage plugins. Click the other plugins tab and type 'menu' into the filter box.

Offline

 

#6 2018-02-10 08:35:39

pleighly
Member
2018-02-09
4

Re: How to add link back to my homepage from my Piwigo Main Page?

Thank you executive. I will check that out as well.

Offline

 

#7 2018-02-10 09:38:03

pleighly
Member
2018-02-09
4

Re: How to add link back to my homepage from my Piwigo Main Page?

Ahhh  executive, this is ALMOST perfect. I installed the Advanced Menu Manager which allowed me to create a Pesonalized Menu Block called Navigation with one link in it "<a href="http://www.yourbizhelp.info">Return To Home Page</a>"  which works perfectly EXCEPT for ONE THING... It ONLY displays for an Administrator who is logged in. It DOES NOT DISPLAY for Guests or even Registered Users who are logged in. ONLY Administrators & ONLY if they are logged in.... Am I doing something wrong?

Offline

 

#8 2022-10-13 21:00:28

indyblue
Member
2022-10-13
2

Re: How to add link back to my homepage from my Piwigo Main Page?

I put the following code to add a link to my homepage in my Configuration-> Options->Page Banner but I do not see it anywhere on the page.  Where should it show up?

I don't even see the "Welcome to my photo gallery" without modification of the banner.

Code:

<h1>%gallery_title%</h1>

<p>Welcome to my photo gallery</p>
<p>My personal website here <a>href="http://indyblue.org"</a></p>

EDIT:  I just upgraded to 13.0.0.  I lost access top the update menu (error in some php_param code), so I downloaded the zip and overwrote my piwigo dir in the www server.  I have it fixed for updates but still no link in the banner.

Last edited by indyblue (2022-10-13 21:06:13)

Offline

 

#9 2022-10-13 21:49:00

erAck
Only trying to help
2015-09-06
2031

Re: How to add link back to my homepage from my Piwigo Main Page?

Depends on the theme used, whether that displays the banner at all. If yes, then it should be visible on all pages (unless the theme handles it differently). Elegant for example displays it, Modus and others don't.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact