Gary´s Cookbook Homepage – Slashes not stripped in category view - Gary´s Cookbook Forum
In this forum you'll find the threads about Gary´s Cookbook 3.0 and above with extensions. English or german possible.
<
>

In diesem Forum geht´s um die Version 3.0 von Gary´s Cookbook oder neuer mit Erweiterungen. Englisch oder deutsch ist möglich.

Slashes not stripped in category view

  • Blue Ninja
  • Autor
  • Neues Mitglied
  • Neues Mitglied
Mehr
15 Jahre 10 Monate her #4078 von Blue Ninja
Slashes not stripped in category view wurde erstellt von Blue Ninja
Hello,

I've recently installed the cookbook component on my site. I've noticed that in the category view, the description of the recipes does not have slashes stripped like it does on the detail view. I have modified the views/category/tmpl/default.php to include the stripslashes() function to correct this.

Thanks for the great component!

Bitte Anmelden um der Konversation beizutreten.

  • Blue Ninja
  • Autor
  • Neues Mitglied
  • Neues Mitglied
Mehr
15 Jahre 10 Monate her #4079 von Blue Ninja
Blue Ninja antwortete auf Re: Slashes not stripped in category view
The slashes are also not stripped for the ingredients in the recipe edit screen. Also, the ingredient is cut off at the apostrophe that was slashed. I tried adding the stripslashes function to ingredients.php, which removed the slash, but the ingredient is still cut off at the apostrophe. I'll see if I can figure out why.

Bitte Anmelden um der Konversation beizutreten.

Ladezeit der Seite: 0.084 Sekunden