Doubts about CMS in PHP - php

I have been trying to learn a CMS in php. Visited youtube for tutorials. Joomla & Wordpress.
But when they develop a website using a CMS, I didn't see any php code. It's all just working from a dashboard like building a blog.
I am confused about that.
Don't we have to write code in CMS like we do in Core PHP??

Hi using a CMS you can create a website simply... Wordpress is one of the best content manage system... actually they developed it for easy customization. Only using dashboard you can create pages,blogs etc only... If you want your own functionality You have to learn the coding structure and manual Plugin creation.
But the fact is You will get so many plugins from wordpress depending upon your requirement those it already developed.

As a beginner you can use CMS to create a complete site, but to add any real functionality to create specialist sites you will probably have to write you own plugins and/or themes at some point, or edit existing ones.
For this you will need php/jquery/html/whatever.

Related

Use Wordpress or another CMS within a web application?

Apologies for the broad question, but I don't know where to start. I have a php web application for members with various functions and features. On the dashboard, I need to implement some dynamic news - the kind of news that that non-developer can write and publish without any interference with the source code.
Can I implement Wordpress into my existing app so that authors can login, write then publish so that my dashboard can display the latest posts?
At its most basic level, I'm thinking:
a new subfolder for Wordpress with its own separate database.
a plugin to display the latest posts content only
an iframe on my dashboard to display the output of that plugin
But all that seems like a very hacky workaround. Is there a more native way of doing this? Or is there another CMS library that could achieve the same result?
I have a solution that I am running with. It's a separate Wordpress site with the latest posts accessed via the built-in API (https://developer.wordpress.org/rest-api/reference/posts/)
I will be getting all the posts in a category with:
curl https://example.com/wp-json/wp/v2/posts
Then storing the posts in array before looping through that array to display the title and content on my dashboard with:
curl https://example.com/wp-json/wp/v2/posts/<id>
where <id> is from the first call.
This is clean, native and serves the exact purpose I need. The member info, while secured doesn't need to be top-secret, so we're just using the Wordpress password-protection with the same password for all posts so as long as the API calls are server-side with https, the security works too :)
Looks like you want Dynamic News Feature in your existing PHP Web Application.
And you want to build that specific feature in Wordpress.
I don't think it's a good idea to use Wordpress CMS for small features like this.
IF you already have full functional PHP Web Application then I would recommend to use same Web Application to build Dynamic News Feature which will allow users on the site to post.
I don't think that's very complex.
IF you want to get into Wordpress ecosystem then you will need to convert your PHP Web Application into Wordpress and then you can build additional functionality.
I think that's the ideal way to go. Let me know if more questions. Thanks.

What is the best platform to build a website like Glassdoor? (Clone like glassdoor)

Am a JavaEE guy. wanted to develop a website just like a glassdoor including the same customer and user reviews for the product. So i googled some and got to know wordpress plays a big role for the same.
Wanted to know will it possible to create a same website template using wordpress or should i need to stick with java cms portal system? (including all the functionality)
Please suggest some templates if its exactly matches glassdoor!! and which one will be best for back end like java or php for this requirement?
Start using Bootstrap ยท The world's most popular mobile-first and responsive front-end framework. and HTML.
If you want existing themes you can go to
Free Website Builder | Create a Free Website | WIX.com ,
WordPress.com: Create a free website or blog
The Glassdoor website is created in the fbml in my opinion which uses fbml,jquery and javascript.

Is it possible & feasible to integrate new UI HTML design templates created using Bootstrap into a website developed in PHPFox? If yes how? If no why?

I've a social website like 'Facebook' which is developed entirely in PHPFox version 3.0.7(a social networking platform created in php).
The website looks similar to 'Facebook' and most of it's functionalities resembles the functionalities of 'Facebook'.
Now to make the site looking better I want to integrate new HTML template designs that are developed using Bootstrap (front-end framework)
I've few HTML pages developed by HTML designer using Bootstrap framework. Now I've to integrate those HTML templates into my website which is developed in PHPFox.
While doing so the existing functionalities of the website should remain intact. In other words, the current jQuery/AJAX functionalities should not be changed, they should also work with the new HTML design. Now here comes the major challenge for me. How should I avoid the conflicts between ids and classes which are already been used by current CSS/theme/jQuery/AJAX and the new ids/classes that would going to be applied from Bootstrap framework?
Anyhow ultimately already working functionalities shouldn't get affect.
I'm so much clueless about what appropriate approach should I follow to make this new UI design integration. There is not much information available in the PHPFox Documentation too. Even I don't know whether it's possible to do so or not.
If this new Bootstrap template integration can't be done please explain me in detail why?
How should I make this process of changing UI design smoother and easier? Using the already developed HTML templates am I following the wrong approach?
Also, currently there are two themes used in the website. What should be done to them when the Bootstrap template will be integrated into the website? How to manage these things since they are part of admincp panel of PHPFox?
You can customize PHPFox theme as list here in their documentation. I don't think that I have to repeat all these information here. Starting from editing HTML, CSS, JS are mentioned in the documentation link I have provided. Also don't forget to refer following links. Link1, Installing/Upgrading a Theme, Create a new theme
Or there are sites which you can purchase PHPFox themes.
Update
http://store.phpfox.com/kb/article/221/mini-tut-basics-of-phpfox-ajax
how ajax site wide browsing works on phpfox?
How to get any DOM Element by Ajax in PHPFox
phpfox , get value as response from an ajax call
There is a theme for PHPFox build in Bootstrap 3.0. You can have a try with that. Find the demo URL here and if you like you can purchase from here.

How to create a custom admin panel in WordPress for an existing non-WordPress application

I have an existing PHP/MySQL application (non-WP). I'm showing bits and pieces of this application via iframes in a WP site. Right now the client has two admins; WP and my own custom admin and it's inconvenient for them.
What I want to achieve is to be able to show my custom admin inside WP. Every section of my admin is quite simple and with few controls so I don't mind doing a re-write to adapt this code to WP.
Having never really developed anything related to WordPress I need to know conceptually how to approach this. I don't need for code samples but rather the steps involved in all of this. Any gotchas from experienced WP developers are quite welcome too.
I think you can develop a WordPress plugin for your non-WP application.
Here's the approach I would try (you only say your app is quite simple, so I'm just assuming it's made of few pages/forms):
Create a plugin that leverage WP authentication
Show your app inside iframes in the WP admin panel
Change your app UI in order to match or use the WP admin panel one.
I did this in the past and having an iframe to be showed in the WP admin it's quite easy and users are happy to have just one authentication point.

Sugesstion for a multilingual site using Joomla

I want to create a multilingual site using Joomla. The site will be in English and Hindi. Along with the static pages the Administrator should be able to post his research may be as a blog and a registered member can read the post and add his comments and/or questions. The administrator will then reply the comment and/or the question.
I'm new to Joomla and could not figure out how to start with this project. I must use all the extensions which are free to use. Is there any option for this or Should I create my own blogging system ? I need to set up donation functionality as well.
My advise will be to use one of this component to set up the admin blog : http://extensions.joomla.org/extensions/authoring-a-content/blog
And here is a module for the donation : http://extensions.joomla.org/extensions/e-commerce/donations
Do not create your own blogging system, you can easly achieve your project with Joomla!
I would recommend using K2 as a replacement for the built in Joomla articles and categories. It has a ton of features that would allow you to make a blog and manage all of your other content pages as well all within one component. It is also a lot more flexible than a component that is specifically for blogging so you can set it up to suite your needs.
You will probably want to install a multilingual component as well. For 1.7/2.5 you will need to use FaLang unless you want to wait for JoomFish to come out for 2.5.
K2 - http://extensions.joomla.org/extensions/authoring-a-content/content-construction/8061
FaLang - http://extensions.joomla.org/extensions/languages/multi-lingual-content/18210
JoomFish - http://extensions.joomla.org/extensions/languages/multi-lingual-content/460

Categories