English > Development

Script for egafd.com

<< < (7/27) > >>

Ivek23:
If you do not mind, would have answered the skin in the morning.

I'm in Bio adding links movies that are now in the movies section (see picture attached).

egafd_people (4)(Ivek23).psf is attached

[attachment deleted by admin]

pra15:
Thanks,
Extra but with this method the list of movie in the database risk growing  rapidly, even if you don't have the movie.
This for this reason i opted for the first solution (the list just for info).
It's for this too, i asked up if it was possible to know in the script the movie who are also in database for not write them two times in the biography and in the filmography.

But filters are here for that i suppose!

pra15:
Suggestion :
Declare Origt

After Get Movie


--- Code: ---//If Original:
actposstart := actposEnd + 5;
actposstart := PosFrom('">', HTML, actposstart) + 2;
actPosEnd := PosFrom('</', HTML, actPosstart) - 1;
If copy(HTML, actposstart, 3) = 'alt' then
OrigT := Copy(HTML, (actPosstart + 22),(actPosEnd-actPosStart-21))
else
OrigT := Title;
--- End code ---


--- Code: ---AddPersonMovie(Trim(OrigT), '', '', Year, LowerCase(URL1), ctActors);
--- End code ---

That's reduce the number of new Database Movie, just original title.

Ivek23:
I apologize for the late reply.
As far as I found out I would like to change People skin.
People section does not allow custom fields, for now does not (version 1 is also supposed to allow).


--- Quote from: pra15 on December 02, 2011, 04:30:45 pm ---I know nothing about skin, i tried to modify one skin in putting :
<Link memo valsperline="2"/>, before the line <bio/> ---> give an error. (no egality)
--- End quote ---
This one is not - does not work - error
The potential is as follows

--- Code: ---<tab>
              <caption>&amp;Biography</caption>
              <color>$E0ECFE</color>
              <row>
                <column halign="center">
                  <fieldlabel field="bio" />
                </column>
              </row>
              <row>
                <column>
                  <bio collapsedlines="3" valsperline="1">
  <font>
                    <size>11</size>
<name>Arial Black</name>
                   </font>
                  </bio>
                </column>
              </row>
            </tab>
--- End code ---
or
--- Code: ---              <color>$E0ECFE</color>
              <row>
                <column halign="center">
                  <fieldlabel field="bio" />
                </column>
              </row>
              <row>
                <column>
                  <bio collapsedlines="3" valsperline="1">
  <font>
                    <size>10</size>
<!-- <name>Arial Black</name> -->
                   </font>
                  </bio>
                </column>
              </row>
           
--- End code ---
This is also the approximate answer to this:

--- Quote from: pra15 on December 02, 2011, 07:05:46 pm ---I have seen this page but i don't know how use the infos!

How use the properties, how write?

Up, i say i take a xml skin, and i tried to add this line <link memo...., because in the help page this propertie valsperline=”X”    says Number of separate values that should be shown on one line. So if i can separate the link of movie and note of this movie, perhaps i'll can align them.

i tried for example add </italic> manually in the field between the link and the notes but doesn't work!
So i need a tutoriel for learning to use the help?
--- End quote ---


--- Quote from: pra15 on December 02, 2011, 07:05:46 pm ---What i can write directly in the field, (like <Link url=....) and what i must write in a xml?
I don't know if i'am clear!

--- End quote ---
If for example in the skin Bio box do it Url hyperlink (as shown in the attached picture), then those in xml skin not necessary to enter anything.

However, I suggest you to look for the movie section topic My current skin for Ivek23 and download the skin pvd_movie_tabs_normal extra AllMovie.
For the People section of the skin PVD Personal ITabs and periodically review each of them and reorder them, thus you will also gain knowledge about the skins, at least I hope so.
If you do not know anything, but write a topic in the Support board and you will probably receive an answer to the question.



[attachment deleted by admin]

pra15:
Thanks a lot,

I'll read all and hope i'll die less stupid after!  :-[

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version