?
avatar luby1
luby1
6 Dec 2018

Steps to reproduce the issue

Create a simple custom banner with css and html. This is my example:

<style> .div_text_shadow{ color: rgb(255, 255, 255); font-size: 25px; background-color: rgb(51, 51, 51); text-shadow: rgb(255, 255, 255) 0px -1px 4px, rgb(255, 255, 0) 0px -2px 10px, rgb(255, 128, 0) 0px -10px 20px, rgb(255, 0, 0) 0px -18px 40px; text-align:center; } </style>
Click Here for Christmas Giveaway

Enter the click url (any proper url should work, i.e. https://kravfighter.co.nz/)
Create Banner Module and assign it to a banner module position.
Clear cache
Refresh the page

Expected result

Banner is showing in the right position, and when you click on it, you're taken to a website specified in the click url.

Actual result

There is no click url on the page, so clicking on the banner does nothing.
This is the excerpt from the code of the page:

<style> .div_text_shadow{ color: rgb(255, 255, 255); font-size: 25px; background-color: rgb(51, 51, 51); text-shadow: rgb(255, 255, 255) 0px -1px 4px, rgb(255, 255, 0) 0px -2px 10px, rgb(255, 128, 0) 0px -10px 20px, rgb(255, 0, 0) 0px -18px 40px; text-align:center; } </style>
Click Here for Christmas Giveaway

System information (as much as possible)

Joomla 3.9.1 - tested on Protostar Template and on JF-Simone Gantry 5 template. SEF urls enabled.

Additional comments

Div tags were removed from all the above code examples and I don't know how to show them here.

avatar luby1 luby1 - open - 6 Dec 2018
avatar joomla-cms-bot joomla-cms-bot - change - 6 Dec 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Dec 2018
avatar luby1 luby1 - change - 6 Dec 2018
The description was changed
avatar luby1 luby1 - edited - 6 Dec 2018
avatar Quy
Quy - comment - 6 Dec 2018

From the help documentation:

Custom Code. Use {CLICKURL} and {NAME} to merge 'Click URL' and 'Name' values respectively into your custom code. For example: <a href="{CLICKURL}"><img src="enter url to image" alt="{NAME}" title="{NAME}"></a>.

Another option is to enter an HTML custom code. For example: <div class="yourclass"><a href="https://yourdomain.com"><img src="pathofyourimage"></a></div>

avatar joomla-cms-bot joomla-cms-bot - change - 6 Dec 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-12-06 22:28:23
Closed_By joomla-cms-bot
avatar Quy Quy - change - 6 Dec 2018
Closed_By joomla-cms-bot Quy
avatar joomla-cms-bot joomla-cms-bot - close - 6 Dec 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 6 Dec 2018

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23237

Add a Comment

Login with GitHub to post a comment