GK News Pro - Wrap Content not working

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)
hsarora
Sat Sep 27, 2014 5:28 pm
Reply with quote
Report this post
Hi,

GK news pro where Thumbnail - > Wrap content -> On should bring image on left and text to its right doesn't seem to be working.

Any one could help?

Thanks
User avatar

teitbite
Sun Sep 28, 2014 9:26 am
Reply with quote
Report this post
Hi

Not exactly. "Wrap content" means that image will have an extra layer, for a border or something like that. To make it display on side You need to set thumb as first to display and to "float:left" or "float:right" and rest of elements as a "float:none".
User avatar
Moderator

hsarora
Sun Sep 28, 2014 12:56 pm
Reply with quote
Report this post
Hi,

I set Text Floating: 'No use float' works and text appears on the right side now (it also has an option which you mentioned, 'float:none' which doesn't work)

Anyway, it was helpful! Solved my problem.

Many thanks
User avatar

hsarora
Sun Sep 28, 2014 1:58 pm
Reply with quote
Report this post
Hi,

I was wondering if there any way to show Article additional URLs under Images and Links when we open any article in Joomla 3.x

Under that we have Link A, Link B & Link C

Preferably, ideal placement of such URL will be to show those Links below Intro Text.

There doesn't seems to have any option under News Show Pro?

If yes, could any one please point where it is?

If not! the those links php code is located under ---> template gk_news2/html/com_content/article ----> display_links.php

How that can be embedded in News Show Pro ?

I do understand if its not under News Show Pro Module then it doesn't cover under support but any help would be highly appreciated.

Thanks in advance.
User avatar

teitbite
Mon Sep 29, 2014 2:35 pm
Reply with quote
Report this post
Hi

Yes, sorry. I meant "No use float", but wa writting from a memory and looks like I messed it up. Anyway good work.

The links option is not possible. NSP is showing informations from articles, so You will need to have a field for such link in article directly. I believe You may use K2 extra fields or hide link in text and retrive it later in NSP code, but any solution would require to hack module's code. I'm afraid we do not support such extended customisations.
User avatar
Moderator

hsarora
Mon Sep 29, 2014 3:37 pm
Reply with quote
Report this post
Hi,

Lovely, I think, I can write that bit of code to work it out. Thanks for the suggestion though.

I got another problem: Social API, in front end article, suddenly facebook Like and share buttons are missing!
Twitter, Google are showing just fine.

I toggled it on and off many times under template setting -> Social API but to no avail.

I am not sure why facebook like and share vanished out of blue!

How do I fix this?

Thanks
User avatar

teitbite
Tue Sep 30, 2014 4:45 pm
Reply with quote
Report this post
Hi

Please download newest version of a template and update /layout/blocks/social.php file. If this will not work show me the page You have this problem with.
User avatar
Moderator

hsarora
Tue Sep 30, 2014 7:29 pm
Reply with quote
Report this post
Hi,

Many thanks! they are back!

Another query: How do I change UTC under menu, updated 5:58 PM UTC, Sep 30, 2014

I tried to change Joomla, global configuration to London or other region, it doesn't work!
User avatar

teitbite
Thu Oct 02, 2014 11:26 am
Reply with quote
Report this post
Hi

Please tell me where do You see UTC on site ? Best would be to have an url to the page with an example of it.
User avatar
Moderator

hsarora
Thu Oct 02, 2014 12:49 pm
Reply with quote
Report this post
hi,

url: http://mnptech.co.uk/kd/ please take a look on last update UTC

Also I just saw number of errors;

Please take a look at them

Strict Standards: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /templates/gk_news2/lib/framework/helper.layout.php on line 208

Notice: Trying to get property of non-object in /templates/gk_news2/html/mod_articles_category/default.php on line 122
User avatar

teitbite
Fri Oct 03, 2014 12:35 pm
Reply with quote
Report this post
Hi

Those are not errors. Just messages, it's showing because code was written in an older PHP. Nothing to worry about. PHP creators are showing this to tell users the newest standards in programming. Please simply disable showing errors in joomla glabal configuration for server.

For UTC please go to /languages/en-GB/en-GB.tpl_gk_news2.ini and find this line. Than remove "T" from it's value.

Code: Select all
TPL_GK_LANG_UPDATE_DATE_FORMAT="g:i A T, M j, Y"
User avatar
Moderator

hsarora
Fri Oct 03, 2014 1:07 pm
Reply with quote
Report this post
Hi,

Thanks for the response.

I mean to say, I would like to change time from UTC to GMT

which means, updated time should be display GMT hence I would I like to keep time zone.

can you tell me how do I change time format, since changing in joomla time zone has no impact on it!

Thanks
User avatar

teitbite
Sun Oct 05, 2014 9:54 am
Reply with quote
Report this post
Hi

Dates are being taken from K2 articles which is using database settings while saving and server settings during modification. So you need to configure Your database, server and just to be sure joomla to GMT and re-save/re-create the articles to use this date.
User avatar
Moderator

hsarora
Sun Oct 05, 2014 6:58 pm
Reply with quote
Report this post
Hi,

K2 component is not installed, I am only using Joomla Articles Only.

As earlier mentioned, I have tried to change Time Zone in Joomla Global Configuration but it has no impact on it.

Server is also located in London, So by default it should show GMT but it still shows UTC !?
User avatar

teitbite
Mon Oct 06, 2014 5:33 pm
Reply with quote
Report this post
Hi

Ok. I assumed it's K2 since there are some issues in different database and server timezones.
I think UTC is same thing as GMT, so I believe server is using this value.

Anyway just go to /languages/en-GB/en-GB.tpl_gk_news2.ini and change line:

Code: Select all
TPL_GK_LANG_UPDATE_DATE_FORMAT="g:i A T, M j, Y"


to

Code: Select all
TPL_GK_LANG_UPDATE_DATE_FORMAT="g:i A \G\M\T, M j, Y"
User avatar
Moderator

hsarora
Wed Oct 08, 2014 5:51 pm
Reply with quote
Report this post
This worked.

Many thanks!!
User avatar

teitbite
Fri Oct 10, 2014 9:15 am
Reply with quote
Report this post
Hi

Great :) Glad I could help.
User avatar
Moderator


cron