Silly things I can't sort out...

GK User
Mon Feb 09, 2015 8:58 am
Hi,

I'm playing around with the template and I've got a few questions, if somebody has time to give me a hand...

I'll include a link to my demo page so you can see what I'm trying to do...
http://mxt.crealtion.com


I'm trying to reproduce a similar format to that of the header_right module (Links and a Video) from the front page of the demo (quick start).

I've added the Links and Video, but I don't understand why the link to the video appears to be displaced from the background image I added? You can see part of the image (the guy on a bike) is not covered by the link to the video. The image is the same size as the demo image (285x214px), and the code in the Custom HTML module is the same as the demo. What have I done wrong?


Another thing. I've added a module to position bottom-3 with links to social media (CONECTE CON NOSOTROS). This module shows on all pages, but on the frontpage it's smaller. On other pages it stretches across the whole page (the background colour fills the whole module.)

Many thanks.
User avatar
Junior Boarder

GK User
Mon Feb 09, 2015 2:37 pm
the "bottom-3" issue happens because "bottom3-bar" homepage suffix.
Problem with video box shows because you are having additional paragraph. Please disable tinyMCE and select editor - none to see the difference.
User avatar
Moderator

GK User
Tue Feb 10, 2015 7:44 am
Hi Cyberek,

Thanks for your help. That sorted out my problems.
User avatar
Junior Boarder

GK User
Wed Feb 11, 2015 8:05 am
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Wed Feb 11, 2015 11:37 am
Hi Cyberek,

Thanks for your help. I do have a quick question regarding events... (I've looked in the forum but I can't find an answer.)

How can I change the event so that it only shows a duration of one day?

For example, If I click on the event for the 1st March from the front page, it takes me to the page associated with the event, but I see Fecha: 01 Marzo 2015 - 01 Marzo 2015.

http://mxt.crealtion.com/component/k2/item/6-curso-maxitrail-1

What would I need to do in the html so that it only puts the date once? I've tried playing with the class="gkEventDateEnd" (removing it, not putting a date etc.) but nothing seems to work. Also for some reason If I remove the end date completely the event on the frontpage has a starting time of 17.30 instead of 09:30???

Any ideas?

Thanks again.
User avatar
Junior Boarder

GK User
Thu Feb 12, 2015 9:21 am
Would you like to change it for all events or just selected ones?
User avatar
Moderator

GK User
Thu Feb 12, 2015 10:26 am
Just selected ones. Sometime I may have events of various days...
User avatar
Junior Boarder

GK User
Fri Feb 13, 2015 8:21 am
And what about the homepage - should it also look same there?
User avatar
Moderator

GK User
Fri Feb 13, 2015 11:03 am
Yes, if thats possible. Thanks.
User avatar
Junior Boarder

GK User
Mon Feb 16, 2015 10:40 am
Doing the change in single article/event is quite easy.
1. Please disable tinyMCE editor in global configuration (change editor to "editor - none").
This way you will see source code and all will become clear ;)
2. Please edit the article and find this (or similat) block of code:
Code: Select all
                    <li><strong>Date:</strong> <span class="gkEventPeriod">
                              <time datetime="14-05-2016" class="gkEventDateStart">14 May 2016</time>
                              -
                              <time datetime="04-06-2016" class="gkEventDateEnd">04 June 2016</time>
                              </span> <span class="gkEventHours">
                              <time datetime="07:00" class="gkEventTimeStart">7:00 am</time>
                              -
                              <time datetime="18:00" class="gkEventTimeEnd">6:00 pm</time>
                              </span> </li>

Now if you would like to keep only start date modify it this way:
Code: Select all
                    <li><strong>Date:</strong> <span class="gkEventPeriod">
                              <time datetime="14-05-2016" class="gkEventDateStart">14 May 2016</time>
                              </span> <span class="gkEventHours">
                              <time datetime="07:00" class="gkEventTimeStart">7:00 am</time>
                              </span> </li>


Now only starting hour and date are shown. It also should display correctly on homepage.
User avatar
Moderator

GK User
Mon Feb 16, 2015 8:11 pm
Hi Cyberek,

Thanks for your help, but there's just one little thing now that's not right...

I've put the following into the HTML into the K2 article, turning off the JCE editor which I had configured:

Code: Select all
<li><strong>Fecha:</strong> <span class="gkEventPeriod"><time class="gkEventDateStart" datetime="01-03-2015">01 Marzo 2015</time></span> <span class="gkEventHours"> <time class="gkEventTimeStart" datetime="09:30">9:30 am</time> - <time class="gkEventTimeEnd" datetime="17:30">17:30 pm</time> </span></li>


The event date on the front page is correct, however the start time of the event is 17:30, and I really want it to be 09:30.

When I click on the link to open the article for the event, I see the correct information:

Fecha: 01 Marzo 2015 9:30 am - 17:30 pm (without the icons)

How can I get the start time on the front page to be correct?

Thanks very much for your help.
User avatar
Junior Boarder

GK User
Tue Feb 17, 2015 6:27 pm
Hmm, please try this way:
Code: Select all
<li><strong>Fecha:</strong> <span class="gkEventPeriod"><time class="gkEventDateStart" datetime="01-03-2015">01 Marzo 2015</time><time datetime="" class="gkEventDateEnd"></time></span> <span class="gkEventHours"> <time class="gkEventTimeStart" datetime="09:30">9:30 am</time> - <time class="gkEventTimeEnd" datetime="17:30">17:30 pm</time> </span></li>

This problem might just happen because script is searching for 4 entries coresponding to date and time. Mocking the "missing" one should be enough to trick the script (its searching for <time/> html tag)
User avatar
Moderator

GK User
Thu Feb 19, 2015 8:02 am
Hi Cyberek,

That works. Thanks very much.

Can I ask just one more thing, before we mark this post as closed?

From the Eventos menu (http://mxt.crealtion.com/eventos) I'm showing the events we're organizing. On the right hand side (sidebar position) of this page I've tried adding a "More events" module that shows the upcoming events (as in the demo) but I can't find where to summarize the information that shows up. E.g. I'd just like it to show the dates and times. How can I do that?

Thanks again in advance.
User avatar
Junior Boarder

GK User
Fri Feb 20, 2015 3:33 pm
Could you please mark this element on a screenshot?
User avatar
Moderator

GK User
Sat Feb 21, 2015 5:24 pm
Hi Cyberek,

I've put a red box around the text that I'd like to change.

Image

I'd like to know if it's possible to put just the dates, time and place - rather than the entire text from the article.

Thanks again for your help.
User avatar
Junior Boarder

GK User
Thu Feb 26, 2015 5:32 pm
Sorry for late response - you can set "Text limit value" in "Article layout" tab - "Text" section.
User avatar
Moderator

GK User
Fri Feb 27, 2015 3:25 pm
Hi Cyberek,

I've tried changing the "text limit" value but it doesn't seem to do anything. I've cleared the cache in Joomla etc. but can't see any change...

Thanks.
User avatar
Junior Boarder

GK User
Tue Mar 03, 2015 3:55 pm
Please send me a PM with:
1. URL to your website
2. login and password of user with admin/super-admin privileges (please create one for me)
3. link to this thread
User avatar
Moderator

GK User
Tue Mar 03, 2015 10:20 pm
Hi. PM sent
User avatar
Junior Boarder

GK User
Wed Mar 04, 2015 9:20 pm
Links layout tab of the module, change: "Description text limit" to chars and adjust "List text limit value", or simply leave number of words and reduce it to your liking.
User avatar
Moderator

GK User
Thu Mar 05, 2015 7:59 am
Hi Cyberek.

Thanks for all your help. I think we can finally close this post!
User avatar
Junior Boarder

GK User
Sat Mar 07, 2015 7:07 pm
Once again sorry for the delay.
Please let me know if you would have any additional questions regarding this topic.
User avatar
Moderator


cron