Developer forum
E-mail notifications
News link
Posted on 26/07/2007 14:05:52
Any way I can get the news link to be a valid xhtml link? ampersand is not a legal char in an url in xhtml strict.
Replies
Nicolai Høeg Pedersen
Posted on 26/07/2007 14:38:22
Dynamicweb should use & in the news module - if we missed a spot, let us know and it will be changed.
But links in the news module can be done like this:
Default.aspx?ID=&PID=&NewsID=
Posted on 26/07/2007 15:05:10
NP wrote:Dynamicweb should use & in the news module - if we missed a spot, let us know and it will be changed.
But links in the news module can be done like this:
Default.aspx?ID=&PID=&NewsID=
I think you missed a spot :)
also it would be nice to be able to retrieve just the text bits from the url; like the "Read more" text.
Nicolai Høeg Pedersen
Posted on 26/07/2007 16:01:53
I've added a new template tag DWNewsReadMoreText that will give you the required information. It will be released with the next SR of Dynamicweb. (See when under releases)
Posted on 27/07/2007 10:22:11
NP wrote:I've added a new template tag DWNewsReadMoreText that will give you the required information. It will be released with the next SR of Dynamicweb. (See when under releases)
Perfect! thanks alot
You must be logged in to post in the forum