GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Author Making report modification easier
Posted Thursday, July 19, 2007 - Post #18578
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
Forgot to mention this:
I created a sub-folder under my customized skin, called "myfiles" and placed the flash files there. You can rename that folder to your own liking, but have to change this in thecode.
Posted Thursday, July 19, 2007 - Post #18574
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.2

Last Login: Friday, June 1, 2018
Posts: 16, Visits: 81
Thank you for taking the time to detail that out. Unfortunately, after poring over your post & Ron's post #17355, it's still not clicking in my brain. :Sad: I did make some progress on it (was able to get the "multimedia" section to show up & expand out but am stumped beyond that point) but have decided to revisit this in a few days, since my brain now hurts. w00t

Thanks, again.
Posted Wednesday, July 18, 2007 - Post #18568
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
SutherlinHarbit (7/18/2007)

Should I be using the _Narrative tag mentioned earlier in this thread?
Thank you.


Hope what I am writing here makes sence to you:

1) you have to create custom tags as as shown:



Open the individual dialog box and open the tab "Extra Narrative"

Enter this line replacing "Multimedia" with whatever you want.

<?html?><br /><?subsection "Multimedia" movies?>

In the line "Movies" enter this line by replacing Titel 1 with your heading for the popup frame, movie1 with your short phrase what should appear next and so force.

<?popup "Titel 1!" movie1?><?note "subtitel 1" "text 1"?>

The next line then comes into Movie1 or Movie2 and contains the name of your media file, make changes to size if necessary.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="320" height="240" id="filename" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="myfiles/filename.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffdd" /><param name="wmode" value="transparent"><embed src="myfiles/filename.swf" quality="high" bgcolor="#ffffdd" width="320" height="240" name="filename" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>

If you have more thanone Movie, place the "?popup" line behind the first part of the Movies tag

and the Movie2 into the line below Movie1


Edited: Thursday, July 19, 2007 by maru-san
Posted Wednesday, July 18, 2007 - Post #18566
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.2

Last Login: Friday, June 1, 2018
Posts: 16, Visits: 81
maru-san (4/10/2007)
Have successfully included some flash files into comment fields, after I converted movie clips to flash (swf) and uploaded.
New image mapping is also included (wedding picture of myself).


maru-san, I'm so sorry about your son's early death. It's nice you've made a tribute site for him.

I've been able to successfully embed flash movies in my reports, using the tag in comments section (of the 'general' tab for an individual). BUT...I've spent several hours dinking around with Genopro & looking at help files & have not been able to figure out how you were able to add the "Filmclips or other media files" label/tag/whatever it's called, that can be expanded/contracted.

Would someone please tell me how I can do this? (Or point me to a thread that already has this posted?)

Should I be using the _Narrative tag mentioned earlier in this thread?

Thank you.


Edited: Wednesday, July 18, 2007 by SutherlinHarbit
Posted Friday, April 13, 2007 - Post #17361
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
Ron, you have gone too fast for me here.

A brilliant job though it will take me a while to get my head round it.Hehe

I have always added the mention of my toc_login.htm and toc_djvu.htm to the config.xml using winmerge and then just added these files along with my personalised heading and home htms and the other personal images including my background to the new skin and the job is done.Smile

I am not sure if your system will help me with this as the only fonts I change are in the files I add.

Posted Thursday, April 12, 2007 - Post #17360
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
WOW

Easter was very well spent Ron.

You have permission to take a short break (over the weekend) before you start work again on Monday, 7am sharp, do not be late.

Thanks Ron, your Report Skin enhancements mean that I'll have to start working as hard as you do, so I can incorporate all the new features. (If only I were not so lazy) SmileSmile Thanks Ron, we all benefit from your selfless efforts.

Poolzone  a mere cog in a revolution

Posted Thursday, April 12, 2007 - Post #17355
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 9 hours ago
Posts: 3,408, Visits: 26,282
I have gained the impression from a number of posts on the forum that users are relucant to 'dip their toes in the water' when it comes to using Customized Report skins. There is also a great deal of confusion over customized skins, for example many users don't realize they are using one and others fail to refresh their customised skin when a new version of the skin is released, leading to errors, more confusion and disillusionment.

So I thought perhaps they should be able to customise their Narrative Report 'without getting their feet wet' i.e. no need to create a custom skin. And so I have been a busy bunny over Easter working on some ideas. The result is a new Narrative skin 2.0.0.3j available here.

First thing many users want to do is use their own background image and change fonts etc. So I've added a custom style sheet feature. There is a new Config.xml parameter 'StyleSheet' that can be set via a Document Custom Tag StyleSheet to a file containing the user's replacements for some of standard styles in style.css. I suggest users look at the style.css file generated in their (local) report folder and extract the bits they want to change and add it to their custom style sheet. When the Report is generated the contents of this file will be appended to style.css, replacing any earlier definitions. To replace a background image the file specified in the custom style sheet must exist in the generated Report folder. To do this without using  a custom skin I suggest adding the new background image as a picture to a dummy individual in the GenoPro file. If the image is say background.jpg then it can be specified in the style sheet as pictures/background.jpg. The dummy individual can be excluded from the report by setting the Is label/exclude from report flag under the 'Family' tag of the Individual properties dialogue.
Note also that specific pictures can now be excluded from the main report by setting a new Picture Custom Tag '_Exclude' to "Y".

The next feature is the ability to add custom narrative to individuals, families, pictures, places and sources. Simply place the required narrative in a Custom Tag named _Narrative and this will get added to the report immediately after the standard narrative. This means that all those fascinating anecedotes about people are no longer consigned to live behind the Comments toggle.

The _Narrative tag uses the Custom Markup syntax introduced earlier in this thread. This has now been greatly extended with new functions to add many useful features such as custom 'subsections' (like Occupations, Educations etc.) and custom note entries. There are also easy ways to add photos and to add 'multimedia' links to appear in the 'popup' frame. These can even be used on the home page. The Custom Markup instructions are now:

<?html?>             indicates the following text up to next Custom Markup instruction is HTML
<?text?>             indicates the following text up to next Custom Markup instruction  is plain text
<?hide?>             indicates the following text up to next Custom Markup instruction is not to be generated
<?merge param1 param2 .... paramn?> inserts items specified in param list.

The params in the list are each separated by a space. Each param is either HTML enclosed in double quotes ("....") excluding Custom Markup instructions or Tag Names (custom or standard) which contain HTML and/or Custom Markup instructions.

<?note "subtitle" param1 param2 .... paramn?>  inserts 'note' style collapse/expand item containing content as per param list (see merge above)

<?subsection "subtitle" param1 param2 .... paramn?>  inserts 'subsection' style collapse/expand item containing content as per param list (see merge above)

<?popup "subtitle" "hyperlink text" param1 param2 .... paramn?>  inserts a link "hyperlink text" to a 'popup' frame with "subtitle" as its title containing content as per param list (see merge above)

<?image ref width height?>  inserts an image/photo. 'ref' is either the path to the required image in the generated Report (Web) folder enclosed in double quotes ("...") or the 'ID' of a picture within the .gno file e.g. pic00051. In the latter case the picture may also have an associated image map in its Custom _AreaMap tag. 'width' & 'height' are in pixels and are optional. They must be omitted if the image has an associated image map, otherwise the mapping is invalidated. If omitted the image is shown full size, with scroll bars if required. Using the picture ID means to image gets included in the Report automatically. To get other pictures/images into the Report folder see above regarding the background image.

N.B. At present Custom Tags cannot contain newline characters. So if you prepare your tag contents elsewhere (e.g. in Comment field or by using Notepad) you must remove all newlines before pasting the desired content into the Custom Tag field. If you do not do this then everything after the 1st newline will be ignored. However if you use <?html?> you can still add newlines to the Report using the HTML 'break' tag i.e.  <br/>

The Harry Potter sample report at http://familytrees.genopro.com/Ron/HarryPotter/default.htm shows many of these enhancements, including a custom style sheet (sorry about the colours!). The home page shows a custom 'subsection' with embedded 'note' and 'image' instructions. So does the Harry Potter page, but also has a 'popup' link. Download the 'FamilyTree.gno' from there to see how it was done.




'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Friday, April 13, 2007 by Ron
Posted Tuesday, April 10, 2007 - Post #17335
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
Have successfully included some flash files into comment fields, after I converted movie clips to flash (swf) and uploaded.
New image mapping is also included (wedding picture of myself).
Posted Monday, April 9, 2007 - Post #17301
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
Have just tried and it looks very promising and opens the door to a new reporting style, after users get used to it.

It may even makes some data, which was used as a source record, suitable to put this into comments fields.

Tried one, but the result was not yet satisfactory.

Befor opening the comment underneath of the occupation(Beschaftigung):



After opening the comment (Kommentar):



It shows the comments <?html?> <table> ....right underneath of the pictureID and is covering the other items like education and occupation instead of underneath of the occupation it belongs to. Any comments?

Update: Sorry guys, solved this problem by removing the position style.


Edited: Monday, April 9, 2007 by maru-san
Posted Sunday, April 8, 2007 - Post #17295
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
Excellent Ron,

It may take a while for new users to get to use it, but it makes development and individualisation of the home page so much easier.

Well done, excellent report feature.

Poolzone  a mere cog in a revolution



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!