Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

New field for a URL
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: New field for a URL

New field for a URL 11 years, 10 months ago #7199

Hi,
I have added a new field into the Resorts Section to be used to feature the URL of the resort chosen.
I have tried unsuccessfully to amend the code in details.xsl...
<xsl:if test="string-length(entry/fields/field_website_url/data) > 0"> 
                          <xsl:attribute name="href">
                          <xsl:value-of select="url:encode(entry/fields/field_website_url/data)" />
                          </xsl:attribute>
                        </xsl:if>

But this causes a failure of the page and wont display.
What am I not doing or is my code incorrect? Any assistance would be greatly appreciated.
Thanks in advance.
Eric

Re: New field for a URL 11 years, 10 months ago #7297

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Eric Prinsloo,

Please check other code lines in the details.xsl again.

I see that the code above is normal now.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
  • Page:
  • 1
Time to create page: 0.25 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes