Can I use different themes for WordPress and BuddyPress - themes

Is it possible to use two different themes for BuddyPress and WordPress ? If yes, please tell me how.
WP - 3.8.1
BP- 1.9.2

In general - no.
BuddyPress tightly integrated into WordPress, and uses it's templates, just adding some own html pieces on pages.
Of course, using some hacks you can change that, but that will result to problems in UX and maintaining all that code.
I think it's much better to have 1 theme, but for BuddyPress pages you can add additional styles and change html - BuddyPress allows to do that, you can redefine any template file.

Related

How to use multiple themes in codeigniter like wordpress

I want to use multiple themes in codeigniter like wordpress.
e.g
Themes are A, B, C.
if i select Theme A then html would be change Theme A wise.
if i select Theme B then html would be change Theme B wise.
etc.
please help and thanks in advance.
Hi
Very hard to give this answer because your question is very out of range. :)
But I will try my best to do this.
Many way to build different themes put in CI
1) Use of CMS in codeigniter like
->http://www.getfuelcms.com/
->http://www.nodcms.com/en
2) Second way to do this things the easy way is to build your dynamic system as per your recruitment.
Also easiest way is to build your site in wordpress.
Although the library has it years(newer php version may scream error about &=, just delete & ) you can use https://github.com/philsturgeon/codeigniter-template - it uses theme concept. But you have to build database layer for themes usage logic. And if you know, which theme your site is using, then you just use method of the library: $this->template->set_theme($my_current_theme)
If you like a complete tutorial, check out this link
http://www.roytuts.com/using-template-in-codeigniter-3/. This is just an example, however and there's many more out there.
I agree with cssBlaster21895, that library can still be made to work for modern PHP versions. I just adjusted a few things and that made the errors disappear.

AMP: Accelerated Mobile Pages in an already developed site

I have an umbraco based CMS site and I've been advised to use AMP for fast mobile performance. I have read the demo page from this gitHub link.
But I am not understanding how to set it in an already developed site. Do I need to change all tags according to AMP?
better not to mess with existing instead you build new AMP version of your site
(After doing a quick Google)
I don't think there's a an AMP-plugin for Umbraco yet, but that will probably be the way to go. I've been using the AMP-plugin for WordPress for a little while now and it made all posts on my site AMP-compatible without me having to do anything :)
Perhaps check with the Umbraco community whether there's an ETA on such a plugin for their platform?
You can have seperate AMP pages and google will handle the rest. I think that is the safest way to approach it, without having a plugin like they have for wordpress.
You can still enable the users to use the CMS functionality by creating custom data types for e.g. amp-img instead of img. The content editors will just have to be briefed on the basics of AMP.
References:
https://carolelogan.net/blog/amp-implementation-in-umbraco/
https://www.ampproject.org/docs/guides/discovery

Can I use multiple frameworks (Gantry & T3) on one Joomla installation?

so far we are only using rockettheme templates for our joomla 3. sites but I have found a very interesting shop theme (for virtuemart), which uses T3 and the developer couldn't tell me for sure if I will actually be able to use it on the current setup.
Can someone tell me if it is possible to use those two frameworks side by side (for different areas / menu items on a single side)?
Yes,
There shouldn't be any issues using two frameworks.
You'll have to install each template and it's framework's plugin/extras and then apply each template to the section you want.
Let's say you use Gantry for the whole site and then T3 for the eCommerce part.
The Gantry template will call all it's neccesary js/css and so on when needed and won't be called when you are in the eCommerce parte.
I would suggest using just one (the most flexible for you/your developers) on the long run, to avoid a huge codebase just for a few different layouts, more things to update all the time, and so on.
Hope it helps :)
PS: I prefer T3

Is there any way to convert html template to liferay theme?

Is there any way to convert html template to Liferay 6.2 theme ? Is Alloy UI help me about this ?
There is no "one-click" tool to convert an html template to a liferay theme. You have to implement the theme yourself and use the "diff" folder to configure your own custom templates (.vm), scripts (.js) and styles (.css). Check out the official docs:
https://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/creating-themes-and-layout-templates-liferay-portal-6-2-dev-guide-09-en
https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-liferay-them-7
+1 for Artem's answer which gives you the correct answer to your question. As a "no" might not be what you were looking for, let me add some reasoning extra - why would such a tool be introducing even more work later in the game?
If you look at the basic structure of Liferay's HTML code - all the nested divs, classes and ids - you'll find that they're quite clean and structured. A lot of Liferay's functionality is implemented with this kind of DOM in mind. If you'd introduce your own, completely unrelated, DOM from your own template, you'd need to find all components in Liferay that assume a certain structure. For example Layout Templates: They define "drop zones" where you can add portlets to the page. You probably don't have them in your existing templates. Another example: Maximized portlets. They'll need a DOM element to go into.
IMHO you're a lot better of to stick very close to the original DOM and just tweak your CSS to address the classes/elements you need. This is, of course, just a very general recommendation - for certain usecases this approach might also be a disadvantage. But most of the standard usecases are covered IMHO

Content Management System - PHP - Asp.Net

I am new to open source Content Management System tools. I got a website using Joomla for content management. Now, I am just thinking to Umbraco or Dotnetnuke (any Asp.net based) frameworks to use. Will it be a complex to do this migration. Can you suggest pros and cons for this idea.
Any help is appreciated. Thanks !
For Umbraco ...
Most of your client-side code like HTML, CSS and JavaScript can just be copied straight over, but as expected it may require some fiddling.
As for the data, it might be worth looking into the CMSImport module for Umbraco. As long as you can convert the source data into one of the formats recognised by the module, you should be able to upload your content with ease. I've had no personal experience with this module, but should be worth a shot.
It really depends on the size of the site and the functionality requirements. For smaller sites, it may be as easy as implementing the skin based on the original design (or, if a custom design isn't needed, selecting a free or 3rd party skin) and then manually migrating the content. For really large sites, you should be able to write scripts to migrate the content. I'm not aware of any products that do this. You'll also probably need to select some modules to use for things like forms.

Resources