Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • lovedigit Friend
    #207105

    Hello Joomlart,

    I have a question. I have a 3rd party extension that manages image uploads on my website. I want to change the system image uploader field for “Intro Image” and “Full Article Image” to a normal text field where we can put the image link (relative to root directory) directly.

    Right now what we do is open system image uploader and put the image link directly in this field. I want to bypass these steps and modify it in the frontend. What code do I need to change?

    I can change the core files as well to achieve this. Please advice.


    1. z_075
    2. z_076
    lovedigit Friend
    #573420

    bump………….

    Ninja Lead Moderator
    #573443

    This is custom request and it’s out of JA Support scope, if you want to change that, you have to find it from components/com_content/views/form/tmpl/edit.php file

    Ninja Lead Moderator
    #738470

    This is custom request and it’s out of JA Support scope, if you want to change that, you have to find it from components/com_content/views/form/tmpl/edit.php file

    lovedigit Friend
    #573649

    But, you can tell me what to change. It must be a simple code replacement. You guys must know it.

    Ninja Lead Moderator
    #573691

    <em>@lovedigit 477545 wrote:</em><blockquote>But, you can tell me what to change. It must be a simple code replacement. You guys must know it.</blockquote>

    You can change it directly from components/com_content/models/forms/article.xml file

    find and change


    <field
    name="image_intro"
    type="media"
    label="COM_CONTENT_FIELD_INTRO_LABEL"
    description="COM_CONTENT_FIELD_INTRO_DESC" />

    to

    <field
    name="image_intro"
    type="text"
    label="COM_CONTENT_FIELD_INTRO_LABEL"
    description="COM_CONTENT_FIELD_INTRO_DESC" />

    Ninja Lead Moderator
    #738705

    <em>@lovedigit 477545 wrote:</em><blockquote>But, you can tell me what to change. It must be a simple code replacement. You guys must know it.</blockquote>

    You can change it directly from components/com_content/models/forms/article.xml file

    find and change


    <field
    name="image_intro"
    type="media"
    label="COM_CONTENT_FIELD_INTRO_LABEL"
    description="COM_CONTENT_FIELD_INTRO_DESC" />

    to

    <field
    name="image_intro"
    type="text"
    label="COM_CONTENT_FIELD_INTRO_LABEL"
    description="COM_CONTENT_FIELD_INTRO_DESC" />

    lovedigit Friend
    #573699

    thank you very much. 🙂

    lovedigit Friend
    #738713

    thank you very much. 🙂

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

This topic contains 9 replies, has 2 voices, and was last updated by  lovedigit 9 years, 5 months ago.

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