WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: ICS Calendar] Need to format the output in the widget (7 posts)

  1. mp67533
    Member
    Posted 6 years ago #

    Hi

    First of all i love the plugin - i have been looking for such a thing in quite a while now, but I need to use a formatted output in my sidebar, and the widget won't let me modify the output. So if the [show-ics-events] could work with the sidebar or i could call the function in some way this plugin would be brilliant...

    Hope that someone can help me with that!

    http://wordpress.org/extend/plugins/wordpress-ics-importer/

  2. wilderix
    Member
    Posted 6 years ago #

    I concur. The plugin rocks. Having the ability to format the sidebar would make it even better. As it is, I have tweaked the ics-import.php file to get what I want, but I have to save a copy of it to re-modify the php every time I upgrade. Having the ability to modify the format via the gui would save me some tedious work.

    I also noticed that the gui automatically escapes quotation marks, but then the backslahses remain in the html that the php builds. So I can't put my own style or class on the custom formatting.

    For example, if I put this in the custom formatting:

    <ul style="list-style:none; ">
    <li><strong>%event-title%</strong>
    %date-time%
    %description%
    %location%
    </ul>

    Then the gui automatically saves it as

    <ul style=\"list-style:none; \">
    <li><strong>%event-title%</strong>
    %date-time%
    %description%
    %location%
    </ul>

    And the resulting markup shows up as

    <ul style=\"list-style:none; \"></p>
    <li><strong>Test Meeting</strong><br />
    Wed, Apr 16</p>
    
    <p>
    </ul>

    Which negates my style changes.

  3. dolfelt
    Member
    Posted 6 years ago #

    Ok, I will take a look at this bug and possibly add formatting for the sidebar.

  4. wilderix
    Member
    Posted 6 years ago #

    Thanks for the speedy changes, dolfelt!

  5. mp67533
    Member
    Posted 6 years ago #

    Wow, thats sounds fantastic - it would save me a lot of time (because i make the list of upcoming events manuelly - because i need a very specifik format). So if you could add this feature it would be amazing ;)

    Again, Thank you very much for this fantastic plugin...

  6. dolfelt
    Member
    Posted 6 years ago #

    This feature has already been added to the latest version (1.1.8). If it is not what you are looking for, or you have suggestions, let me know.

  7. mp67533
    Member
    Posted 6 years ago #

    It was exactly what I was looking for - it's super sweet, so thank you very much... And keep up the good work ;)

Topic Closed

This topic has been closed to new replies.

About this Topic