Thread: [Phpgedview-talk] Linking to sources from New Block
Brought to you by:
canajun2eh,
yalnifj
From: Nathan S. H. <nat...@uk...> - 2007-10-02 12:09:25
|
When I add a new news item to the news block, is it possible to use "special keywords" or anything in order to link to pages within PGV? For example, I have added some new BMD certificate's and would like to be able to point to them directly for easy access. Thanks Nathan |
From: <do...@ge...> - 2007-10-02 12:43:51
|
I en meddelelse den 02-10-2007 14:09, skrev Nathan S. Haigh : > When I add a new news item to the news block, is it possible to use > "special keywords" or anything in order to link to pages within PGV? For > example, I have added some new BMD certificate's and would like to be > able to point to them directly for easy access. > > Thanks > Nathan Yes. The GEDCOM News text allows the use of HTML tags and HTML entities. However HTML should not be used in News titles. -- Med venlig hilsen *Jørgen F. Dorch* - e-post: /dorch via get2net punkt dk/ |
From: Nathan S. H. <nat...@uk...> - 2007-10-02 13:01:59
|
Jørgen F. Dorch wrote: > I en meddelelse den 02-10-2007 14:09, skrev Nathan S. Haigh : > >> When I add a new news item to the news block, is it possible to use >> "special keywords" or anything in order to link to pages within PGV? For >> example, I have added some new BMD certificate's and would like to be >> able to point to them directly for easy access. >> >> Thanks >> Nathan >> > > Yes. The GEDCOM News text allows the use of HTML tags and HTML entities. > However HTML should not be used in News titles. > > Hmm, I tried this with one link and that worked. However, when I tried to add more than one link, it went crazy and didn't render them correctly. I'd provide a link with examples, but my webserver is running a memory intensive job and is chugging along slowly. If anyone has an example of a news article containing multiple links, that would be good for me to see! Cheers Nathan |
From: John F. <Joh...@ne...> - 2007-10-02 15:12:23
|
PiBKw7hyZ2VuIEYuIERvcmNoIHdyb3RlOg0KPiA+IEkgZW4gbWVkZGVsZWxzZSBkZW4gMDItMTAt MjAwNyAxNDowOSwgc2tyZXYgTmF0aGFuIFMuIEhhaWdoIDoNCj4gPg0KPiA+PiBXaGVuIEkgYWRk IGEgbmV3IG5ld3MgaXRlbSB0byB0aGUgbmV3cyBibG9jaywgaXMgaXQgcG9zc2libGUgdG8gdXNl DQo+ID4+ICJzcGVjaWFsIGt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lIHRvIHN1Y2Nlc3NmdWxseSBhZGQgbXVsdGlwbGUgbGlua3MgdG8gYSBuZXdzIGVudHJ5LiAg SGVyZSBpcyBhbiBleGFtcGxlOg0KDQpUaGlzIGlzIHNvbWUgbmV3cyB3aXRoIGEgbGluaw0KPGEg aHJlZj0iaW5kaXZpZHVhbC5waHA/cGlkPUkxIj5MaW5rIHRvIFBlcnNvbjwvYT4NCg0KVGhpcyBp cyBhIGxpbmsgdG8gYSBzb3VyY2U6DQo8YSBocmVmPSJzb3VyY2UucGhwP3NpZD1TMSI+TGluayB0 byBTb3VyY2U8L2E+DQoNCg0KT25lIHRoaW5nIHRvIG5vdGUgaXMgdGhhdCB5b3UgY2FuJ3QgaGF2 ZSBhbnkgbmV3IGxpbmVzIGluc2lkZSB0aGUgSFRNTCB0YWdzIGFzIGFsbCBuZXcgbGluZXMgY2hh cmFjdGVycyBnZXQgY29udmVydGVkIHRvIDxicj5zLg0KDQpJZiB5b3Ugd2FudCBzb21ldGhpbmcg bW9yZSBwZXJtYW5lbnQgdGhhbiBhIG5ld3MgaXRlbSB5b3UgY2FuIHRyeSB1c2luZyB0aGUgSFRN TCBibG9jay4NCg0KLS1Kb2huDQo= |
From: Nathan S. H. <nat...@uk...> - 2007-10-02 15:26:49
|
John Finlay wrote: >> Jørgen F. Dorch wrote: >> >>> I en meddelelse den 02-10-2007 14:09, skrev Nathan S. Haigh : >>> >>> >>>> When I add a new news item to the news block, is it possible to use >>>> "special keywords" or anything in order to link to pages within PGV? >>>> >> For >> >>>> example, I have added some new BMD certificate's and would like to be >>>> able to point to them directly for easy access. >>>> >>>> Thanks >>>> Nathan >>>> >>>> >>> Yes. The GEDCOM News text allows the use of HTML tags and HTML entities. >>> However HTML should not be used in News titles. >>> >>> >>> >> Hmm, I tried this with one link and that worked. However, when I tried >> to add more than one link, it went crazy and didn't render them >> correctly. I'd provide a link with examples, but my webserver is running >> a memory intensive job and is chugging along slowly. If anyone has an >> example of a news article containing multiple links, that would be good >> for me to see! >> >> > > I was able to successfully add multiple links to a news entry. Here is an example: > > This is some news with a link > <a href="individual.php?pid=I1">Link to Person</a> > > This is a link to a source: > <a href="source.php?sid=S1">Link to Source</a> > > > One thing to note is that you can't have any new lines inside the HTML tags as all new lines characters get converted to <br>s. > > If you want something more permanent than a news item you can try using the HTML block. > > --John > Ok, it worked doing this. I was attempting to put in the full URL including http:// etc. The first link worked fine, but 2 or more of these made <span> tags appear in the news. Thanks Nath |