• Resolved dirk1973

    (@dirk1973)


    Hi, I was wondering if it will be possible to keep some changes in two php files.
    Vsel-page-template and vsel-template-support -> I added some classes for the time and date. That will disappear if there is an update right?
    Greetimgs Dirk

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi Dirk,

    Yes, you will loose these changes.

    What’s the reason for these extra classes, do you want to target those classes with custom CSS?

    When I take a look at your site I notice you’ve added an extra class for the time label (Uhrzeit), I guess to display label and time underneath each other and to add some extra styling.

    But this can also been done with some custom CSS only (so without extra class):

    
    .vsel-meta-time {font-weight:bold; font-size:20px; color:#21759b;}
    .vsel-meta-time span {display:block; font-weight:normal; font-size:initial; color:initial;}
    

    Guido

    Thread Starter dirk1973

    (@dirk1973)

    Yes, that works. Thank you for your reply.
    But I would like to have the “Uhrzeit” bold and the actual time (00:00) normal. ??
    That’s not possible right? like here -> https://queer-hannover.de/event/cloudy-june-does-your-girlfriend-tour

    And may I ask another question. Im iCal feed its not possible to hide the endtime? I Even if I enabled it in the settings of the event?

    Thank you so much for your support!

    • This reply was modified 2 years, 2 months ago by dirk1973.
    Plugin Author Guido

    (@guido07111975)

    Hi Dirk,

    With the CSS I gave you it should be the way you want: label bold and blue, time value itself not and on a new line. But you should remove your vsel_uhrzeit code first.

    About the feed: iCal structure needs start time and end time in order to work properly. Are you using the feed in another application? If you do, you cannot hide end time there?

    Guido

    Thread Starter dirk1973

    (@dirk1973)

    The CSS works perfect !!! Thank you.
    The only question left there is, how to change the size of the headline?
    -> $event_title = ‘<h3 class=”vsel-meta-title”>’.get_the_title().'</h3>’;
    I testet:
    .vsel-meta-title
    .vsel-meta-title h3
    h3.vsel-meta-title
    .vsel-meta-title:h3
    Any ideas ?

    With the iCal the problem is, some events have no end time. if i set hide endtime, i have to set an endtime even if i set hide endtime, if not it will cause an error on the page. This endtime i have to set, than appears in in ical feed. (hope you understand, what i mean)

    Plugin Author Guido

    (@guido07111975)

    Hi Dirk,

    Try this:
    .vsel-content h3.vsel-meta-title {font-size:1.2em;}

    (change size to your needs)

    About the feed, I understand your “problem”.. will look into this further and keep you informed.

    Guido

    Plugin Author Guido

    (@guido07111975)

    About the “All-day event” checkbox, only thing it does is hide start time and end time in the frontend of your site. It does not disable time value, so time is still saved in database and present in feed.

    Guido

    Thread Starter dirk1973

    (@dirk1973)

    Perfect! Everything works!
    And with the ICal I’m looking forward to!
    Thank you for your help.

    Plugin Author Guido

    (@guido07111975)

    You’re welcome!

    Are you willing to complete the German translation of VSEL? Currently only 7 strings need translation. Check this link.

    After this is completed a so called Translation Editor has to approve all waiting (yellow marked) strings, before a new translation file is created.

    Guido

    Thread Starter dirk1973

    (@dirk1973)

    Hi Guido,
    I tryed it. Hope it will work.
    Dirk

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘changes in php’ is closed to new replies.