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
Normal, I usually define like this to create multiple languages for my site.
Like this:
en-en.php
define("HOMEPAGE", "Home Page");
vi-vi.php
define("HOMEPAGE", "Trang chủ");
Current, I load this menu from my database.
Has anything to create multiple language sites when load data from the database?
Thank you very much.
I would use Google's website translator
It's a simple plugin that allows you to convert any page to 100+ different languages live.
Related
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');
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 5 years ago.
Improve this question
I want to know how can I show pages that contain a specific word written by random user in input text, because some contents are static.
P.S : If what I'm talking about is deprecated, can you propose to me a best solution for doing such functionality?
The best option is to keep your data in database. It will allow you to search and display content dynamically. Also in case you have some static pages, you can put them in database just for searching purposes if it's solution in your case.
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 want to fill up a database table concerning mobile phones and their models from a website like gsmarena, only the brand and the model. Am using microsoft sql server, but to fill it i think i can do that with a php crawler, is there any alternative or any tip to do that easily?
GSMArena doesn't seem to offer an API it seems, so there's no other chance for you than to scrape their website. However, that might be illegal. Ask them first.
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 am trying to create an application that will have some similar looking pages. I am not sure what is the best way to do this.
Each page will have a header, side bar, content and footer.
The tricky part here is the sections will be similar but not the same. For example the header can have a combobox and different pages will have different data. One page will have a textbox.
The data will come from SQL server via PHP.
What would be the best way to handle this?
If you are using PHP then take a look into http://www.h2o-template.org/ - the templates will allow you to create similar structures and keeping them maintanable most importantly.
You can then have base template which encapsulates all of the similarities and extend sub templates from that which make each page unique.
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 9 years ago.
Improve this question
I'm fairly new to web design and I would really like to know how to create a dynamic map from scratch. Here is the idea. The website takes a poll from users (from let's say the US). I want to update a map of the US and darken the regions of the map as more people from that location participates (they enter their location). How would I do this? What are some resources to get started with?
I think you could do this with googlemap api Heatmaps.
Sample https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap
Please refer https://developers.google.com/maps/documentation/javascript/layers for more details