Re: [Phpgedview-talk] Linking to sources from New Block
Brought to you by:
canajun2eh,
yalnifj
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 |