By Katarzyna on Sunday, 15 March 2015
Replies 4
Likes 0
Views 847
Votes 0
Hello
I've just started to use easyblog and now I have one question. If it is possible to assign a particular joomla templates to a blogger? For instance: there are two blogers: Nick and Mike and I have two standard templates installed in Joomla , let say: Darktheme and Brighttheme. I want to assign Darktheme to Nick and Brighttheme to Mike. Is it possible? If so, is there an possibility that Bloger choose the template himself on the frontend?

Thank You in advance
Marcin
Hello Marcin,

I am really sorry for the delay of this reply as it is a weekend for us here. It could be possible but you would need to create 2 separate menu items which links to both authors respectively. Then, in Joomla, assign the Joomla template according to the menus accordingly.
·
Sunday, 15 March 2015 22:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the answer.

I did it as you suggested and of course it works, but there is a one drawback of this approach. On my front site I use modules Latest blogs and Most active bloggers, after clicking on a post or a blogger then url is different than url for the blogger in the menu and the template is not changed. I created htaccess redirection but I found that a given blog can be viewed under many different urls for example:

easyblog?view=entry&id=10 is the same as easyblog/babeczka35

Is there any chance to connect the links in the modules to position created in the main menu without creating many redirection rules manually?
·
Saturday, 28 March 2015 21:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Just after sending my previous post I managed to do workaround for a blogger (here babeczka35, id 128):

In .htaccess I added:

RedirectMatch 301 ^/easyblog/blogger/listings/babeczka35 /easyblog/babeczka35
RewriteCond %{QUERY_STRING} ^view=blogger&layout=listings&id=128$
RewriteRule ^easyblog$ https://jordanow.info/easyblog/babeczka35? [R=301,L]

And in module Latest blog I set Routing Behavior: Respect post's author menu item.

Maybe it is too complicated and there is another way to do it.

Thanks
·
Saturday, 28 March 2015 22:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Katarzyna,

I am really sorry for the delay of this reply as it is a weekend for us here. You really don't need to add these codes in your .htaccess file. It's actually pretty simple. If you want to display 2 different modules for different authors, then in the routing behavior, select the respective menu item for each of your module accordingly.
·
Monday, 30 March 2015 01:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post