Laravel 5 build with Sximo [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 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.

Related

To preview html design template inside laravel framework [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 last year.
Improve this question
I am creating a website that will contain free web design templates for downloading will be most likely same https://htmlcodex.com, the idea is to upload the full template .zip through the admin panel and then extract it in the laravel project public folder to be previewed as live demo for the template, but i do not know how to access the whole assets that will be inside the template and it should not be written with asset('css/style.css'), please help if you had done some project similar.
I already can display pages, but can not access the assets.
I have solved it, by putting all templates folder in the laravel public path directly.

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');

How to view php pages in my mvc 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 4 years ago.
Improve this question
I'm new to php. I have made some php code and I would like to run it within my mvc application together with razor. How is it possible for me to do so? I basically want to implement my steamlogin php script into the autogenerated homepage on mvc.
This is a school project!
Thanks!
You can run PHP in the project (ASP.NET MVC) as html page (dynamic files) but you can't return a .php file from Controller.
How can I execute PHP code from ASP.NET MVC
As it's school project, it's look like you have write some functionality in PHP. You can send POST request to .php file handle the code in the .php file and show the response.

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.

Yii2 advanced structure(need another application like frontend/backend) [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'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.

Categories