By Ashley Mulligan on Saturday, 16 November 2013
Posted in General Issues
Likes 0
Views 461
Votes 0
I'm using a mobile template along with a web template. I set the template to my mobile template on the blog page but when they hit continue reading, it goes to the main site. How do I make that page recognize that I want it to use the mobile template?
basically, i am not using the default template of my website for the blog but once i click a link it goes back to the default theme.
·
Saturday, 16 November 2013 02:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ashley,

Sorry for the late reply. I will need to check this out to understand and solve the issue. Is it possible to allow us backend and FTP access so that we can check out your issue? Please advice.

Thanks!
·
Saturday, 16 November 2013 03:03
·
0 Likes
·
0 Votes
·
0 Comments
·
- is the component is forced to use desktop template? Is this set somewhere?
- does the component use its own cache system, which is saving the desktop layout
·
Sunday, 17 November 2013 22:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ashley,

Sorry for the late reply. I actually do not really understand what you mean by desktop template. In EasyBlog we have themes. These themes are only the styles for the component itself. Your Joomla template is the site's styles in which EasyBlog is inserted into. Also no our EasyBlog does not have it's own caching system. It all depends on whether you have cashing on for the whole site.

Thanks!
·
Monday, 18 November 2013 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Here's what I mean: We have one website and we have a template switcher in the main theme that gives a different template if they are on their phone. So we have a mobile template and a desktop template. None of these have anything to do with EasyBlog themes or templates. My problem is When we click continue reading on the blog post it won't recognize the template we are using, it tries to use the web template even if in mobile.

I need the blog to go to the mobile template if we are on phone and not try to use the web template. It works for the blog landing page because I can set it in the menu to choose the mobile theme when that link is clicked, but once they start clicking around in the blog, it doesn't stay on the mobile template, it goes to the web/desktop template.
·
Monday, 18 November 2013 22:03
·
0 Likes
·
0 Votes
·
0 Comments
·
i use this code in our main template to switch the theme.


<?php
$iphone = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone");
$android = strpos($_SERVER['HTTP_USER_AGENT'],"Android");
$palmpre = strpos($_SERVER['HTTP_USER_AGENT'],"webOS");
$berry = strpos($_SERVER['HTTP_USER_AGENT'],"BlackBerry");
$ipod = strpos($_SERVER['HTTP_USER_AGENT'],"iPod");
$ipad = strpos($_SERVER['HTTP_USER_AGENT'],"iPad");


if ($iphone || $android || $palmpre || $ipod || $ipad || $berry == true)
{
echo "<script>window.location='http://idmworks.com/mobile-home'</script>";
}
?>


that url has it's own menu that only points to mobile themed pages
·
Monday, 18 November 2013 22:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post