-
AuthorPosts
-
jay973 Friend
jay973
- Join date:
- October 2008
- Posts:
- 401
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 28
- Thanked:
- 105 times in 68 posts
November 19, 2009 at 2:08 am #146169Is it possible to Have The Mobile / Desktop button on the bottom of this template like the Kyanite ones?
Cheers,
J
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 19, 2009 at 7:46 am #324200Hello
we can do this :),
Please open the “templatesja_halitelayoutsblocksusertoolslayout-switcher.php” file.
And replace source code by mine[PHP]
<?php
// if (!($mobile = $this->mobile_device_detect())) return;
$handheld_view = $this->getParam(‘ui’);
$switch_to = $handheld_view==’desktop’?’mobile’:’desktop’;
$text = $handheld_view==’desktop’?’Mobile Version’:’Desktop Version’;
?><a class=”ja-tool-switchlayout” href=”<?php echo JURI::base()?>?ui=<?php echo $switch_to?>” title=”<?php echo JText::_($text)?>”><span><?php echo JText::_($text)?></span></a>
[/PHP]jay973 Friendjay973
- Join date:
- October 2008
- Posts:
- 401
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 28
- Thanked:
- 105 times in 68 posts
November 19, 2009 at 7:47 pm #324298Hi,
Thanks, it now shows the button but the template doesn’t switch to the mobile version like Kyanite
Cheers,
J.
islandview Friendislandview
- Join date:
- December 2007
- Posts:
- 126
- Downloads:
- 8
- Uploads:
- 11
- Thanks:
- 24
- Thanked:
- 3 times in 2 posts
November 19, 2009 at 8:47 pm #324303I’d be interested in having this too – If only to test out the mobile version where I can’t get a mobile!!! I have a suspicion that with Halite, the main nav ‘Menu’ doesn’t work with Blackberry devices… It’s shows a drop-down field – but nothing drops down!
Anyone confirm or deny that?!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 20, 2009 at 1:07 am #324314On my site is work well, I think you should give me the link to your site.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 20, 2009 at 2:17 am #324317Hello
ok, that’s right, if we only make changes in the lay out-switcher.php file, it still do not switch to mobile version.
I have compared the ja halite and ja kyanite ii, i saw the difference of the ja library.
So many files were updated in the ja kyanite II, i tried to find those files to help us update for the ja halite.You can download my package
6298I tested very careful when used my package for my site and many sites. all are working well. Please kindly backup before updated ( if use ).
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 20, 2009 at 2:28 am #324318Hello acbonner!
Now, you try to access the configuration of the ja halite template, you assign “IPHONE” for the Other Handheld Devices parameter.
jay973 Friendjay973
- Join date:
- October 2008
- Posts:
- 401
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 28
- Thanked:
- 105 times in 68 posts
November 20, 2009 at 3:44 am #324326<em>@tienhc 153816 wrote:</em><blockquote>Hello
ok, that’s right, if we only make changes in the lay out-switcher.php file, it still do not switch to mobile version.
I have compared the ja halite and ja kyanite ii, i saw the difference of the ja library.
So many files were updated in the ja kyanite II, i tried to find those files to help us update for the ja halite.You can download my package
6298I tested very careful when used my package for my site and many sites. all are working well. Please kindly backup before updated ( if use ).</blockquote>
Hi,
I tried to download the file but I got this message:
Invalid Attachment specified. If you followed a valid link, please notify the administrator
Cheers,
J.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 20, 2009 at 3:50 am #324328jay973 Friendjay973
- Join date:
- October 2008
- Posts:
- 401
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 28
- Thanked:
- 105 times in 68 posts
November 20, 2009 at 3:51 am #324329Hi,
No, I get the same message:
Invalid Attachment specified. If you followed a valid link, please notify the administrator
Cheers,
J.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
jay973 Friendjay973
- Join date:
- October 2008
- Posts:
- 401
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 28
- Thanked:
- 105 times in 68 posts
November 21, 2009 at 3:14 am #324478Excellent, it works great now!
Thanks for your effort.
thatch10 Friendthatch10
- Join date:
- May 2008
- Posts:
- 104
- Downloads:
- 154
- Uploads:
- 8
- Thanks:
- 11
- Thanked:
- 19 times in 1 posts
November 27, 2009 at 4:38 pm #325145Cheers Guys. For these Iphone and compatible layouts to work it must be down to the user to select the view. JA Halite template download should be revised and this functionality incorportated, basic functionality which is required in my book.
Thatch
December 28, 2009 at 12:58 pm #327604Could someone please guide me to what I should do with this attachment?
Thank you.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
-
AuthorPosts
This topic contains 17 replies, has 5 voices, and was last updated by Saguaros 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum