Re: Events: Overview-Read-more-here-Link

"Matthias Dieke" <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Hi,

> 
> Hi
> 
> I've got some troubles with the "read more"-Link in my events- 
> Overview. My events.xsl says for this part
> 
> <a href="./{@title}.html">[<i18n:text>read more here</i18n:text>...]</a>
> 
> It's the @title that doesn't work. IMHO it should be the URI there...  
> But as much as I understand the events.php and the events.xsl there  
> isn't any variable for the URI. @uri didn't work as well ;))


I commited some changes for the events-plugin to the trunk version.

Now you can use the @uri-attribute.

<a href="./{@uri}.html">[<i18n:text>read more here</i18n:text>...]</a>


I also made some changes for the description. The @description-attribute
doesn't exists anymore. Now the description is a "normal" Node. IMHO, its
better if you uses long descriptions or html-tags (link in the blogpost) in
the future. 

You have to use: 

<p><xsl:value-of select="description" /></p>

instead of:

<p><xsl:value-of select="@description" /></p>

in your xsl-file.


If Chregu or the other Bitflux-Guys disagree with this, please tell me and I
will commit the old version.


> 
> What could the solution be there? How could I create such a variable?


Run svn up ;) (Note: I only commited the changes to the trunk-version)


Hope that helps.


Matthias

> 
> adrian
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    xpure - communication. digital and printed - www.xpure.ch
>    adrian nussbaum | linsentalstrasse 5 | ch-8482 sennhof
>    mobile: + 41 764 283 913 | [email protected] | http://www.xpure.ch |   
> http://blogomanie.xpure.ch
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> -- 
> bitflux-cms mailing list
> [email protected]
> http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
> 

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.