test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • brentwilliams2 Friend
    #193104

    In the text editor for the employer profile, I have the following HTML input:

    <li style="margin: 6px 10px; padding: 0px 0px 0px 20px; list-style: none; height: 19px; background: url('http://usrgroup.com/images/arrow.png') no-repeat; font-size: 13px; background-position: 0% 50%; background-repeat: no-repeat no-repeat;">Quality apartment management</li>

    However, when looking at the profile on the front end, the code gets modified:

    <li style="margin: 6px 10px; padding: 0px 0px 0px 20px; list-style: none; height: 19px; background: url('/'http://usrgroup.com/images/arrow.png'') no-repeat; font-size: 13px; background-position: 0% 50%; background-repeat: no-repeat no-repeat;">Quality apartment management</li>

    As you can see, it adds a /' at the beginning of the url and ' at the end. This causes the url to be invalid and not show the background.

    I am using 1.0.4.

    Luna Garden Moderator
    #516028

    Hello brentwilliams2,

    I have checked on our JA JobBoard demo, but didn’t see where code is, could your share the link like: http://www.example.com/administrator/index.php?option=com_jajobboard&view=jaemployers&task=profile&cid[]=149 for back-end
    or
    http://www.example.com/index.php/my-ecpanel/my-profile for front-end
    or the file path that includes the code.

    brentwilliams2 Friend
    #516123

    I think we may be miscommunicating, Luna. That code is something input into the text editor for an employer’s profile. So it’s not within the base code of the component, but rather entered text from a user. So if you open up an employer’s profile, and in the text editor, paste that HTML in there, you should hopefully see the problem when you look at the profile when it is published. Does that make more sense?

    Luna Garden Moderator
    #516246

    Hello brentwilliams,

    Yes, I see the problem now. I have report this issue to the developer and he’s checking this issue, here is the link: http://pm.joomlart.com/browse/JAJBJ25-341.

    For now, you can try some other ways like add class to li tag, then add style to the CSS file, then you don’t have to insert CSS inline to the li tag.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Luna Garden 10 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum