Announcement

#31 2013-09-18 13:04:05

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

Re: Description of foto

when I say "understanding" I mean... understanding, not knowledge
you don't need full knowledge do modify what you need

myself I have less than 30% knowledge of all Piwigo code, but my almost complete understanding of how it works help to modify anything

obviously the common user just need to know the basics of CSS/HTML (which is actually not related to Piwigo only)


now about a list of selectors, it will take us hours (days) to create a usefull list : if I just tell you, you can use .description and .title and so on, it will be totally useless, because you still need to check if it really conrresponds to your needs (they are used in various places)
but with Firebugs it take almost 5 seconds : enable FB, click on the inspector tools, click on the element on the page, check the corresponding class/id/html tree

still you can contribute to the wiki if you want :)

Offline

 

#32 2013-09-18 13:09:20

Tadjio
Member
UK
2012-05-02
432

Re: Description of foto

Thanks ;)
(Apart from the fact I use IE not FB...)
It's a little knowledge that I and Peter seek; I believe we have the understanding as in Flop's document...
Knowing that .description exists and where it is used is what we are after.

I hope my contributing my code here has helped a few people gain both understanding and knowledge!


Tadjio

Offline

 

#33 2013-09-18 14:12:07

Peter de Bruin
Member
Netherlands
2013-09-17
35

Re: Description of foto

I am for the moment not able to give you a link of my collection of aircraft pictures project. After I saw your code I have to re-think about the way to start all over again but this time properly. I simply wrote some HTML in the description of that particular item from an album as I thought maybe this hint of <!--more--> does something. This is what the used code looks like:

<br> <!--more-->
<style type="text/css">
.container {
    width: 90%;
    max-width: 1260px;
    margin: 0 auto;
}
.content {
    padding: 10px 0;
}
</style>
<div class="container">
  <div class="content">
    <h1>Manufacturer : Boeing </h1>
       <p> some text on top of ...  </p>
  <!--up-down--> 

    <h2>Description</h2>
       <p> Some tekst below of ... . </p>
         <p>extra paragraph ...e</p>
   </div>  </div>

Understanding now this is not the way to go .. but it works and leaves tekst away in the layer above by starting with <br> <!--more--> 

However I have a site up and running which incorparates Piwigo : www.lamantijn.nl

Cheers from a cold and wet Holland, Peter

Offline

 

#34 2013-09-18 14:17:14

flop25
Piwigo Team
2006-07-06
7037

Re: Description of foto

may I suggest you to avoid generic name of class/id like content in order to avoid any side effect with plugin/theme
you also can write -and it's proper- <div style="width: 90%; max-width: 1260px;">


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

 

#35 2013-09-18 15:19:46

Peter de Bruin
Member
Netherlands
2013-09-17
35

Re: Description of foto

To be honest I have been put a few times on the wrong foot. Like I found it difficult to understand the <!--up -- down--> hint of Plop  (in the description part ) as normally it defines a comment only. Also from a user standpoint it is at least strange to put HTML in a description field of an album. How should we know this?

To me this looks like a collition between seperate worlds of engineers and users. My approach to the Piwigo gallery is from an user perspective.  Meanwhile have been pushed to learn some PHP and HTML. Not that I mind but many and have seen examples in the forum leave the product for that reason for what it is.  Therefore I agree with Tadjio that a small how to start manual with hints or good practises could improve the general understanding of the product and brings the novice user up to speed.

Further I believe Piwigo is an excelent product. And for sofware engineers/ guru's probebly heaven on earth !! Also I appreciate very much these hints and comments from the development team but sometimes they are a little short which only makes things worse for the user. RTFM does not help.

Meanwhile I will continu my strive for an collectors album as I am glad with the breakthroughs and trust you will keep up the good work. Best regards, Peter. 

Ps. I don't mind to write that user manual but then you have to teach me  the in's and out's of the product first, is this a win - win for both?

Offline

 

#36 2013-09-18 15:28:53

flop25
Piwigo Team
2006-07-06
7037

Re: Description of foto

unfortunately the manual is in French we are looking for translators in english

You could use FCK editor also


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

 

#37 2013-09-18 16:55:18

Peter de Bruin
Member
Netherlands
2013-09-17
35

Re: Description of foto

Looked at the FCK editor but find it too cumbersome. Also the extra commands like <--- > are not visible unless you swith to code view. But thanks for the advice. At least I know now the existance and working. Maybe in the fure it becomes handy. Hopefully I have not offended you by being so frank. regards

Offline

 

#38 2013-09-18 16:57:59

flop25
Piwigo Team
2006-07-06
7037

Re: Description of foto

no that's ok ^^
That's said in a constructive way
If you know a web dev which is looking for a project to contribute, you might suggest Piwigo :)


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

 

Board footer

Powered by FluxBB

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