apptha.com
https://www.apptha.com/forum/

Layout and infinite scroll
https://www.apptha.com/forum/viewtopic.php?f=96&t=2616
Page 1 of 1

Author:  candilw [ Thu Feb 12, 2015 4:00 am ]
Post subject:  Layout and infinite scroll

Hi,
I'm trying to get social pinboard up and working on my test site. I've made progress but I have a couple issues.
1) The pin layout on the boards has large gaps of blank space. So there's like a row of 5 pins, a row with one pin on the right side, another row with 5 pins, another row with 1 pin, then another row with 5 pins.
2) Infinite scroll doesn't work. If I add another pin, the last one is no longer shown.
3) Does the script have the ability to send messages between users?

Thanks so much!

Author:  powya [ Mon Mar 09, 2015 10:17 am ]
Post subject:  Re: Layout and infinite scroll

Hi,

Regarding the Queries 1 &2 follow the below steps:

Go to ../templates/socialpinboard/index.php

Remove the following lines

1) JHtml::_('behavior.framework', true);

2) $headerstuff=$this->getHeadData();
reset($headerstuff['scripts']);
foreach($headerstuff['scripts'] as $key=>$value){

if (strstr($key,"/media/system/js/mootools-core.js") || strstr($key,"/media/system/js/mootools-more.js") )
{
unset($headerstuff['scripts'][$key]);
} }
$this->setHeadData($headerstuff);

3) $document->addScript('https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js');

#3) Please note that there is no ability to send the messages between users but the user can comment for the posted images.

Regards,
Powya .S.P

Page 1 of 1 All times are UTC + 5:30 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/