Results 1 to 5 of 5

Thread: [image_headline] Insert Tags

  1. #1
    User
    Join Date
    12-09-09.
    Location
    Russia, Moscow
    Posts
    48

    Default [image_headline] Insert Tags

    Hi!

    I use image_headline module for <h1> headers in content elements. When i try to use insert tag like {{env:age_name}} in header I do not see the page name but picture with this tag {{env:age_name}}

    How can i use contao insert tag with image headlin? module?

    Regards, Paul

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: [image_headline] Insert Tags

    you will have to modify the code for ImageHeadline and do the replaceInsertTags() command on the replace text. I'm not putting it in as this can cause major problems.

  3. #3
    User
    Join Date
    12-09-09.
    Location
    Russia, Moscow
    Posts
    48

    Default Re: [image_headline] Insert Tags

    Hi Thyon,

    Where should i call replaceInsertTag function? i don't understand... ops:

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: [image_headline] Insert Tags

    like I said, you have to edit the ImageHeadline.php file. I'll leave it to you as a seasoned programmer to figure it out. Otherwise, just use the graphicaltext extension, which works with inserttags.

  5. #5
    User
    Join Date
    12-09-09.
    Location
    Russia, Moscow
    Posts
    48

    Default Re: [image_headline] Insert Tags

    Heh, just one little note: i am not a seasoned programmer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •