Announcement

  •  » Extensions
  •  » how can I add a link to my blog in the menu?

#16 2013-12-20 14:59:18

flop25
Piwigo Team
2006-07-06
7037

Re: how can I add a link to my blog in the menu?

You might rethink your html
titrePage<div class="titrePage">
  <div class="browsePath">
    <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
    <a href="http://winterssewing.com" title="Main Website">website</a><span class="arrow"> »</span>
    <h2>{$TITLE}</h2>


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#17 2013-12-20 18:37:42

Stephen Winters
Member
Oregon
2013-12-20
24

Re: how can I add a link to my blog in the menu?

Editing Note: mistic100, when I wrote this message I had only seen your first reply, which was on page 1 of this message thread right under my previous message. I had not seen your above message because it was on page 2.
-------------------------------------------------------------------------------------------

mistic100 wrote:

Hello
don't you see the "titrePage" at the very begining of your code ?

Yes, I saw it. I don't remember seeing the "titrepage" on my Piwigo gallery header before started and because it was it was in the original coding, I didn't know what to do about it. (I'm not a programer or a coder.) Just because something is "obvious" to you doesn't mean that it is to me. In your reply, it would have been helpful if you could have added a line or two telling what to do about it.

I tried just deleting that whole first line,

Code:

 titrePage<div class="titrePage">

but that caused problems. The menu split in two lines, the right margins of the title and the rest of the page didn't stay together, and the Facebook button (which had been on the top right side) moved over to the left side by the menu. Here is a picture:

http://piwigo.org/forum/showimage.php?pid=148267&amp;filename=RHeaderDisturbed.jpg


All I want is to have a simple one-line menu (and the Facebook button on the left), like this:

http://piwigo.org/forum/showimage.php?pid=148267&amp;filename=RNormalMenu.jpg

What do I need to do to achieve this? Thanks
Stephen

Last edited by Stephen Winters (2013-12-20 20:05:43)


Stephen Winters
An upholsterer since 1966, who has a passion for writing, computers, photography & video
http://winterssewing.com | http://upholsteryresource.com

Offline

 

#18 2013-12-20 18:46:28

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: how can I add a link to my blog in the menu?

I never give direct code solution on first reply because I want people to understand what they do (if you plan other change you should really read some basic online course about HTML)

the correct code is

Code:

<div class="titrePage">
  <div class="browsePath">
    <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
    <a href="http://winterssewing.com" title="Main Website">website</a><span class="arrow"> »</span>
    <h2>{$TITLE}</h2>

just remove the unecessary word (and only that)

Offline

 

#19 2013-12-20 19:06:32

Stephen Winters
Member
Oregon
2013-12-20
24

Re: how can I add a link to my blog in the menu?

Mistic100

Thank you! Thank you! Thank you!. That is exactly what I wanted!.

I did not understand that I was supposed to delete the first Titrepage<div class="titrePage">. Instead I had deleted the 2nd one,  Titrepage<div class="titrePage"> and that didn't work, but messed up the header. Thank you so much for the time and trouble you spent in helping me understand what to do.

Best Wishes,
Stephen

Last edited by Stephen Winters (2013-12-20 22:55:07)


Stephen Winters
An upholsterer since 1966, who has a passion for writing, computers, photography & video
http://winterssewing.com | http://upholsteryresource.com

Offline

 
  •  » Extensions
  •  » how can I add a link to my blog in the menu?

Board footer

Powered by FluxBB

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