Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I noticed someone else gave the simple answer while I was typing this, but I think my answer will help you understand a bit further.</p> <p>First the tests:</p> <ul> <li>"http://www.krissales.com/media/3" works</li> <li>"http://www.krissales.com/#/media/3" works</li> <li>"http://www.krissales.com/#/media/3.Testing 3" does not works.</li> <li>"http://www.krissales.com/#/media/3.Testing-3" works.</li> <li>"http://www.krissales.com/#/media/3.Testing%203" works (%20 being the URL Encoded equivalent of a space).</li> </ul> <p>The problem is probably how you handle the hash tag, etc.</p> <p>First, with what I know, you could get it to works multiple way:</p> <ol> <li><p>Instead of: <code>&lt;?php echo $row['news_title'] ?&gt;</code> You could use <code>&lt;?php echo urlencode($row['news_title']) ?&gt;</code> Which will make sure there is no space used.</p></li> <li><p>If you prefer to replace space with dash, then you can use str_replace() function (http://www.php.net/str_replace) like this: <code>&lt;?php echo str_replace(' ', '-', $row['news_title']); ?&gt;</code></p></li> </ol> <p>This will work, however, I do not feel this fix the problem at core, which is probably where you handle the call (code in your /_lib/_js/core.js file), etc.</p> <p>P.S. You will want to make sure you escape URL variable, HTML content, etc. -- see these function in PHP urlencode(), htmlspecialchars() -- but if you build code with other language (like javascript), the same logic apply. This might somehow hide a core problems in your code with how you handle URL, etc. It is the source of multiple problems in software development. ;-)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload