issue with smartphone browser

GK User
Mon Jun 24, 2013 3:27 pm
hi guys
i have the "hits" and other information on my articles switched off, but for some reason, on my iphone / safari browser.... its still showing all this info, no matter what the template and joomla settings.

is there a fix for this please. as i dont want this information publicly accessible, yet the smartphone browsers are publishing it no matter what.

website: guidetogay.com

thanks
User avatar
Platinum Boarder

GK User
Mon Jun 24, 2013 6:54 pm
Hi,
have you got cache enabled ? / clear cache in your browser /
User avatar
Platinum Boarder

GK User
Mon Jun 24, 2013 6:57 pm
(1) I've tested on my Android smartphone (few browsers) and I didn't saw any pdf/print buttons.
(2) I've also tested on Safari browser for PC - none also.

Apple upss ...
User avatar
Platinum Boarder

GK User
Tue Jun 25, 2013 7:50 am
hi yes - cache cleared...

its iphone5, safari... shows hots and last dates altered... under image.... instead of "show more"





Pawel F wrote:(1) I've tested on my Android smartphone (few browsers) and I didn't saw any pdf/print buttons.
(2) I've also tested on Safari browser for PC - none also.

Apple upss ...
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 8:43 am
hi guys - any assistance on this?

cheers




akaentertainment wrote:hi yes - cache cleared...

its iphone5, safari... shows hots and last dates altered... under image.... instead of "show more"





Pawel F wrote:(1) I've tested on my Android smartphone (few browsers) and I didn't saw any pdf/print buttons.
(2) I've also tested on Safari browser for PC - none also.

Apple upss ...
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 8:41 am
I see only one solution to cut off those icons/information from mobile view source code for all, also for iPhone.

shows hots and last dates altered... under image.... instead of "show more"


1) Could you add a screenshot, because I don't use Apple products.
2) Please add full URL (not only domain) where problem appears(!)
Thanks
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 9:52 am
Pawel F wrote:I see only one solution to cut off those icons/information from mobile view source code for all, also for iPhone.

shows hots and last dates altered... under image.... instead of "show more"


1) Could you add a screenshot, because I don't use Apple products.
2) Please add full URL (not only domain) where problem appears(!)
Thanks



sure thing Pawel - thanks for the help... screen shot attached from iphone / safari browser... its showing the information under the article instead of "readmore"

url is:
http://guidetogay.com/blog/beverly-buttercup
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 11:03 am
ok, thanks. Now I will fix it soon. Sorry for delay, I thought it was only on your iPhone not on all models.

By the way, you should modify a little bit header image
bg.png


Because now I see 2px from background between menu 1 and 2.
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 11:10 am
Please try this:

Code: Select all
 .hits, .modified  {display:none !important;}


Clear CMS cache and check on your Apple device. I hope it will works.

How to: http://www.gavick.com/documentation/joo ... -template/
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 11:59 am
Pawel F wrote:Please try this:

Code: Select all
 .hits, .modified  {display:none !important;}


Clear CMS cache and check on your Apple device. I hope it will works.

How to: http://www.gavick.com/documentation/joo ... -template/



hi pawel, unfortunately it does not... not on the iphone. hits and info still appearing instead of "readmore" ... i even cleared out the browser cahche on my iphone checked all those options, and that info still appears :(
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 1:27 pm
Oopss, that's very strange. Because it should disable/hide this line.
let's try HARDCORE

Edit: templates/gk_twn2\html\com_content\article\default.php

Line 173: <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?>
Line 315: <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?>

delete them, this should kill(!) HITS info from article view


Then delete also those
Edit: gk_twn2\html\com_content\category\blog_item.php
Line 267: <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?>
Line 539: <p><?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?></p>

This should KILL Hits in blog view.
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 1:50 pm
Let's play like a Sherlock Holmes :

1) Do you use any plugin which add automatically "Read more..." link after a configurable number of characters ?

2) Do you use any component to add comments for standard articles ?

I asked you those additional question because they may override standard blog view.
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 2:33 pm
thanks - the total kill worked :)

i do use komento for comments on articles - but "hits" is turned OFF on all places in the component etc...






Pawel F wrote:Oopss, that's very strange. Because it should disable/hide this line.
let's try HARDCORE

Edit: templates/gk_twn2\html\com_content\article\default.php

Line 173: <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?>
Line 315: <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?>

delete them, this should kill(!) HITS info from article view


Then delete also those
Edit: gk_twn2\html\com_content\category\blog_item.php
Line 267: <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?>
Line 539: <p><?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?></p>

This should KILL Hits in blog view.
User avatar
Platinum Boarder

GK User
Fri Jul 12, 2013 7:25 pm
Ok,
Komento you say. It may overwide Joomla settings, as I said before.
Check component settings !

Than, let's make small correction in our Killing plan ;)
we have to focus on this file:
gk_twn2\html\com_content\category\blog_item.php
- this file is responsible for display blog view, so search in this file also lines with "COM_CONTENT_LAST_UPDATED" they should be about line 227 & 537 and delete them. This will hide info about last update.

About this file:
templates/gk_twn2\html\com_content\article\default.php
- please in this file recover deleted lines of code (!)
User avatar
Platinum Boarder

GK User
Tue Jul 16, 2013 7:40 am
Hi,

thanks for this - i have checked the ocmponent and its all turned off - not showing hits at all...

the pain now is that removing hte "hits" bit - affects all other compentns, like video hits album hits etc on jomsocial pages...

is there just a way to remove the hits just for mobile view?


thanks


Pawel F wrote:Ok,
Komento you say. It may overwide Joomla settings, as I said before.
Check component settings !

Than, let's make small correction in our Killing plan ;)
we have to focus on this file:
gk_twn2\html\com_content\category\blog_item.php
- this file is responsible for display blog view, so search in this file also lines with "COM_CONTENT_LAST_UPDATED" they should be about line 227 & 537 and delete them. This will hide info about last update.

About this file:
templates/gk_twn2\html\com_content\article\default.php
- please in this file recover deleted lines of code (!)
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.