Results 1 to 4 of 4

Thread: [moretags] new version 0.4.0 now with form:: inserttags

  1. #1
    New user
    Join Date
    06-28-09.
    Posts
    1

    Default [moretags] new version 0.4.0 now with form:: inserttags

    The new version of moretags delivers still more insert tags for easy usage. New are insert tags like seen in the efg-extension with form::<fieldname>. So if you have a form field "firstname" you could use {{form::firstname}} on pages following the form submission.
    computino.de Webservice - Typolight Partner

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

    Default Re: [moretags] new version 0.4.0 now with form:: inserttags

    I love this extension, because now everyone can use the Event info in their FormAuto postings. LOL.

    If you can add this to the MoreTags.php, you can also use Form GET parameters, because formdata is only stored on session, so if you have the search form on the search page, its always 1 level out of date (as the session is set after the inserttag is run).

    Code:
          case 'formget':
            if($this->Input->get($elements[1])) 
            {
              $strContent = $this->Input->get($elements[1]);
            } 
            break;
    Otherwise well done!

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

    Default Re: [moretags] new version 0.4.0 now with form:: inserttags

    Hey Markus

    I see you implemented my suggestion. That's great. I love your extension, but now I have another small feature addition, which could be simple to add.

    If we add inserttags like these on a READER page, then we can get the data from any event or news variable:

    EVENT READER PAGE
    {{event_reader::title}}
    {{event_reader::teaser}}
    {{event_reader::startDate}}
    etc...

    In essence, we can just use the "events" alias to retrieve the current event data array and then pass any variable provided to display, e.g. title, teaser, etc... Same for the news reader...

    NEWS READER PAGE
    {{news_reader::title}}
    {{news_reader::date}}
    {{news_reader::date}}
    etc...

    A simple alias GET retrieval using the correct keyword ("events" or "items") and then simply mapping the ::variable to the DB row extracted (of course blank if its not a found keyword or no data found).

  4. #4
    User
    Join Date
    06-20-09.
    Posts
    63

    Default Re: [moretags] new version 0.4.0 now with form:: inserttags

    I can't find this extension in the backend extensions Catalog; does it still work with Contao V3?

    Thanks for your answer.

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
  •