You are not logged in.
i am using Xinha with a database driven set of pages. (company newsletter tool)
The issue im having is:
when a new newsletter (insert_newsletter.php) is created it inserts the anchors just fine, the data is submitted to the database correctly...all is well
when i edit an existing newsletter (update_newsletter.php) and I view the html souce for the anchors...the link / anchor has somehow appended the filename to the anchor link.
ie:
new newsletter:
-----------------------------------------
<a href=#link1>Link 1</a>
...
...
Here is link 1 <a name=link1>
edit an existing newsletter
-----------------------------------------
<a href="update_newsletter.php?recordID=58#link1">Link 1</a>
...
...
Here is link 1 <a name=link1>
any ideas? thx
Offline
I am having a similar problem.... the links in my case, however, have more than one argument for the url, and xinha seems to be replacing the & with & - which is killing all of the links
for example, this is what is initially inserted:
<a href="#xyz">link to xyz</a>
and this is what replaces the above code:
<a href="index.php?action=page&form=content&page=2378#xyz">link to xyz</a>
any help would be much appreciated
Last edited by sman (2005-08-10 00:19:35)
Offline
the url bevore the #xyz should be stripped out in the function fixRelativeLinks when config.stripSelfNamedAnchors is true.
however it looks there is a bug
could you please try using update_newsletter.php without any get-arguments?
...& in links is correct! - actually using only & is even invalid (at least if you use XHTML 1.0 Strict - try it in a validator )
Niko
Offline
thanks for your help!
is there anywhere i can report this as a bug?
Offline