Time display area at left top

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Sep 14, 2015 6:19 am
Reply with quote
Report this post
Hi supporters,

Can I remove the time display? Can I replace it with another content? For example, I will create a button "Creating new article" at the place so that users can create article directly from front end.

I think that every PC or mobile have show time function itself, so it is no need to display time there. Moreover, why the time display there is always different to the actual time? Although I set server time to the active time zone.

Thank you and regards?

Hai
User avatar
Gold Boarder

GK User
Mon Sep 14, 2015 6:28 am
Reply with quote
Report this post
Could you please post an url to your site?
Could you please mark the problematic area on the screenshot?
User avatar
Moderator

GK User
Mon Sep 14, 2015 7:11 am
Reply with quote
Report this post
Hi Cyberek,
Please visit the url: http://photowording.com
I want to mention the time display area at left top corner as attached screenshot.
Thank you and regards,
Hai
User avatar
Gold Boarder

GK User
Tue Sep 15, 2015 8:46 am
Reply with quote
Report this post
This element doesn't show current time - it shows time of last update (new/modified article etc).
To hide it, please edit: /templates/gk_news2/css/override.css and add at its end:
Code: Select all
#gkUpdates {
    display: none;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue Sep 15, 2015 11:26 am
Reply with quote
Report this post
Thank you Cyberek,

I do like you instructed and it works. However, when the cell disappears, the headlines cell moves to the left.

time display3.jpg


And that does not look nice. Therefore, I would like to keep the cell but replace time display with other content, for example moving social icons over there. By doing that, I can use the current social module place for other button.

time display4.jpg


Can you help me to do that? I know that it may be beyond your support, but if you can tell me how to do, you can help me to build a nice website upon your wonderful template.

Thank you again and best regards,

Hai
User avatar
Gold Boarder

GK User
Fri Sep 18, 2015 1:44 pm
Reply with quote
Report this post
Its not easy thing. What I would suggest would be to edit this file:
templates/gk_news2/layouts/default.php
find this part:
Code: Select all
             <div id="gkUpdates">
                <?php $this->layout->loadBlock('updates'); ?>
             </div>

and replace loading "updates" block with custom html module:
https://www.gavick.com/documentation/jo ... e-position
User avatar
Moderator

GK User
Fri Sep 18, 2015 11:57 pm
Reply with quote
Report this post
Thank you Cyberek,

I will try that.

Hai
User avatar
Gold Boarder

GK User
Mon Sep 21, 2015 3:34 pm
Reply with quote
Report this post
Please let me know how did it go.
User avatar
Moderator

GK User
Tue Sep 22, 2015 2:53 am
Reply with quote
Report this post
It works now Cyberek.

Thank you for your support.
User avatar
Gold Boarder

GK User
Fri Sep 25, 2015 2:08 pm
Reply with quote
Report this post
I'm glad I could help.
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron