Can Django-CMS custom plugins be restricted to a specific template? - django-cms

I have a very simple plugin in my cms_plugins.py file
I want the editors of the site, to only be able to select this plugin form a specific template.
Is that possible?

Yes have a look at the CMS_PLACEHOLDER_CONF setting

Yes you have a lot of amazing choices in Django CMS please listen to the amazing tutorial with source code and video tutorial in Django-CMS here in this link here
it is illustrate Django CMS Plugin step by step and placeholder in django cms

Related

integration wpbakery page builder in theme development

this is the first time i am trying to make wordpress theme and i have made it all but i am stuck on page builder. I want my user to edit my theme with wp bakery page builder. I have seen many videos and read many blogs but no one satisfied me because my question is very simple.
I want to integrate wpbakery page builder in my theme so when someone download my theme, the wpbakery page builder should download automatically. to get this what should i do ? i saw some themes have this option when i download their themes there was wpbakery page builder already in the theme. how are they achieving this ?
I am sorry i am asking silly question but i did not find this answer in any platform. please share some links too so i can learn this.
TGM plugin is generally used in many themes to define suggested and required plugins for themes.
You can find the GitHub Repo here: https://github.com/TGMPA/TGM-Plugin-Activation and check the example.php file to understand the implementation based on external and internal plugin zip files.
You can also read the installation process here http://tgmpluginactivation.com/installation/
Or you can check the source code of other themes that use TGM plugin, and you can learn the code writing from those themes.

Wordpress theme with fullpage.js

I'm developing webpage which should have Wordpress backend. I'm coder, but I've never developed Wordpress template.
Do you know any theme based on fullpage.js, which I can modify ... and learn from it ?
Thank you!
As detailed in the fullPage.js website and its docs, here's one you can use. From Themify.
You might find another one at the resources section of the docs.

Wordpress plugin page for front-end users

I am new to Wordpress. but I know Joomla very well. I was trying to create a plugin which have front-end and back-end maintenance section. I completed my back-end section and I am on the way to front-end section. But I struck with some doubts. My doubts are, I found two method to implement a front-end page. One is copying the php page to template directory and assign the template in the add page section. another is create short code in plugin and add some tag inside the page section.
My doubt is which one is the correct way to do this in Wordpress?
In Joomla this is done by a component which have different views and controllers very easy to manage!
Please help me.
There's a 3rd, more code way - use filters, hooks, etc. You can actually create your own views and controllers in your plugin's folder, just learn how to use your own code in different page lifecycle stages.
Tom McFarlin's tutorials are great for learning this (proper) way of developing custom functionality with WordPress. Check them here:
http://tutsplus.com/authors/tom-mcfarlin

Is it possible to use wordpress theme on typo3 server?

I am a newbie to wordpress and recently created a website using typo3 for a project at university (as my university servers are configured with typo3). I created the template using Templavoila and twitter bootstrap. I now have to use wordpress theme-HUGE as it is more interesting and suggested by the project partners. I have no idea if wordpress theme could be used on typo3 machine. If yes, how much overhead might occur? Could anyone provide some information on this?
Thanks
Wordpress themes files can't directly be used in TYPO3.
I would suggest you create a new TYPO3 template using the template engine of your choice and then rebuild the HTML structure of the Wordpress template. If your resulting HTML is exactly the same as for the Wordpress theme, you can use the included CSS and images.
If you want to go the easy way, use wordpress for the wordpress theme.
As said above, moving the css from wordpress to TYPO3 is not that hard. But you can not easily move the functionality of a wordpress theme to TYPO3. You have to rebuild it in TYPO3. And that will make a big difference.
For example:
Assume you have to set up a slider element, which is included in the theme. When you use the theme in wordpress, you just need to activate it in the settings.
In TYPO3 you will have to build a custom element, either by building an own extension or using one of the common custom element extensions like DCE oder FLUX. (Don't use TemplaVoila anymore, it's outdated).
And a slider is a easy task compared to the case, that your partners say "hey, we forget the nice blog we have in our theme, let's activate it!".
This might take you 2 clicks in the theme settings in wordpress, but if you want to port that feature to TYPO3 you should really know something about programming TYPO3 Extensions with extbase and fluid.
It might be a great project for learning TYPO3. But if it is a real project, with a real deadline, you will have a much more fun with it, when you use the wordpress theme in the way that it was meant to be used.

Wordpress localization of Blog articles - Possible?

I understand the basic concepts of setting up a Wordpress site for localization but what I don't understand is how to localize dynamic pages and blog posts. Can you localize anything that isn't in the templates or plugins?
See for instance the WPML plugin. Easily found with any search engine.

Resources