Yii2 advanced structure(need another application like frontend/backend) [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I've started recently working with yii2.Using the basic app is easy but what I need to do now is to create an advanced template which has more that frontend and backend.I need it to also have midend and one more compoenent(same as frontend/backend folders).I have been trying to search on the internet but I did not find anything usefull.
I would be grateful if any of you guys can help me out here.
Best regards,
Marius

Copy the backend folder to a new folder, search for "backend" in the project and replace / add a link to the new folder you have created.
There are not so many places, there is one in common/config/bootstrap.php and the rest I believe are in the new "backend" folder. Remember to change the namespaces of controllers / models etc.
I have made this recently, it is easier then you think.

Related

Laravel Website multiple homepage. User can change [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to know the way to use my multiple homepage design in Laravel. And User can switch homepage design from site settings like wordpress. Can anyone help me to find the way to make laravel website with multiple home page system?
The question is quite general so I'll share my personal approach:
I create several template folders in my view directory with the same blade file structure inside.
Then from the Controller, I just change the call to the view according to the requested template:
return view($template_name . '.index');

Wordpress - Integrating custom web application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I was tasked to create a file upload workflow that integrates with Wordpress.
I created a backend that is called via REST that does a lot of custom workflows. Thus, I cannot use the current plugins.
It is a single page application that accepts a file as well as some metadata.
My current dilemma: I need to integrate this web application within Wordpress and have no clue where to start.
After consulting with someone who's developed with Wordpress before, he recommended to build a plugin. And since I have no experience with Wordpress, he helped me build it. It was literally 3 lines of PHP.
Thank you all.

Laravel 5 build with Sximo [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Helou, I'm frontend developer and my PHP knowledge is on begginers level. I have Laravel Site build with Sximo by other developer. I need to add a new .css and .js files for backend platform, but I don't know where. I added to public folder these files, but don't know how to call them. Can anyone help me?
P. S. No, I can't add it manuel, it's not for frontend page. :)
You need to add all .js and .css files into a public directory inside of your Laravel project directory:
public/css/my.css
public/js/mybig.js
Please read here how to add them to a view (recipe valid for Laravel 4 apps and Laravel 5 apps with Laravel Collective installed):
http://laravel-recipes.com/recipes/184/generating-a-link-to-a-css-file
Also, I think you'd want to learn about how Blade Template system works.

Can I migrate a PHP site to WordPress? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to migrage a PHP site to WordPress so I can update the information written on the website.
Does anyone know the best way I can do this? I did ask a few people regarding this and the general consesus was to completely redo the website.
Yes, you would need to redo large parts of your webpage. If you have an existing design you will need to learn how to create a theme in wordpress: https://codex.wordpress.org/Theme_Development or you can use on of the many already available.
Yes. You can use wordpress theme development for migration php into the wordpress...

Backend CMS to upload small documents on a webpage [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a website I'm working on for a friend where he wants to update it periodically, by adding text to a website. Is there some sort of CMS that could help him do this, without him having to edit the html by hand? I've already written the html, so I don't think something like wordpress would help. But I really have no clue, I'm brand new to web dev.
I've already written the html, so I don't think something like wordpress would help.
You can easily transform your static HTML layout and pages into a WordPress theme. But there are many other CMSs out there (small ones if you only need some basic features).
For this project I would go with WordPress, it's well-documented, easy-to-use and the community is great.

Categories