Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Html altered upon saving in Title but not description

Html altered upon saving in Title but not description 07 Apr 2021 13:53 #60424

  • zelena
  • zelena's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi

I am having a strange problem where html is altered in the "Title" field of the Slideshow. Html in the Description is working fine, and the option "Strip HTML tags" is set to "no".

Specifically, I am trying to add a link to my title field, like this:
<a href=" www.link.com ">Title</a>

After saving, it becomes:
<a href=|dq|https://www.link.com|dq|>Title</a>

However, oddly, the same thing does not happen in the description field - links save fine there.

I am at a loss - any ideas? I tried this with a fresh default/demo module and still ran into the same problem.

Thanks in advance.

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 15:02 #60425

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24557
  • Karma: 427
  • Thank you received: 3073
Hi
thanks for reporting the problem, I will check that
please try to write the encoded character

<a href="https://www.link.com">Title</a>

and see if it works until I fix it
CEd
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 15:07 #60426

  • zelena
  • zelena's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Sorry, that is actually what I had originally... it got altered when I changed the original link to the example link.com. It doesn't work.

Thanks for looking into this.

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 15:20 #60428

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24557
  • Karma: 427
  • Thank you received: 3073
please replace this file
www.dropbox.com/s/97036nym9pl2mki/default.php?dl=0
into
modules\mod_slideshowck\tmpl

this shall fix it
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 15:51 #60429

  • zelena
  • zelena's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I really hate to say this, but it does not seem to have resolved the problem.

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 16:08 #60430

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24557
  • Karma: 427
  • Thank you received: 3073
ok, can you please give me the url of the page where I can see the issue
to be clear, the characters are still replaced in the admin, but the frontend shall show the correct link
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 17:34 #60431

  • zelena
  • zelena's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Sure thing - it is on my dev site here:
www.wsanet.ca/2021/

Thanks so much

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 18:34 #60432

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24557
  • Karma: 427
  • Thank you received: 3073
I think that there is a problem with the replacement of the file
you shall have this line 103
<div class="camera_caption_title">
						<?php 
						$item->title = str_replace("|dq|", "\"", $item->title);
						if ($link && $linkposition == 'title') {
							echo $startLink . $item->title . '</a>';
						} else {
							echo $item->title;
						} ?>
					</div>
the important addition is
$item->title = str_replace("|dq|", "\"", $item->title);
please check that this is in your file, and also check that you have not using a template override (else the file is in your template)
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 18:41 #60433

  • zelena
  • zelena's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Right. I didn't even realize that I had a template override, but I do. It is fixed now - thanks for this.

Please Log in or Create an account to join the conversation.

Html altered upon saving in Title but not description 07 Apr 2021 18:44 #60434

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24557
  • Karma: 427
  • Thank you received: 3073
ok great :)
this will be included in the next release
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.233 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 523 guests and one member online