Dynamic Hyperlink Strange Behaviour
-
Hi Peter,
I have found some strange and inconsistent behaviour with dynamic hyperlinks that are not working in Publications. I’ve narrowed it down to a problem that happens if the column being substituted (ie between the ‘$$’s) is not itself included in the list of columns for publication, but is a substring of another column that IS included (or a column that has been picked up earlier in the hyperlink definition, or in an earlier hyperlink even). If this is the case, the substitution is not evaluated, and the value appears as $$<column_name>$$ in the publication. Does this make sense?!!! (I can create an example if not).
To check (or discount) my theory, I had a brief look at your code, and adding commas around the stripos elements on line 1317 of WPDA_Data_Tables.php fixed it for me.
I’ve only been playing with WP Data Access for a couple of days, so still working my way around. All good so far, in fact more than good!
Thanks for your help.
Andy
The topic ‘Dynamic Hyperlink Strange Behaviour’ is closed to new replies.