avenirer / codeigniter-multilanguage-site Goto Github PK
View Code? Open in Web Editor NEWA multi-language site created in CodeIgniter 3
A multi-language site created in CodeIgniter 3
how to use lang if in another controller?
like www.web.com/about/en
?
different from www.web.com/en
thanks for the nice apps. will you add hmve to this app in future??
what is your plan with this app?
really i like your works. im learning many things from you...
Hi
Please advice to upgrade to latest version of codeignitor.
Rgds
Anshu
Featured image upload is not working, it's not saving into database.
hi,
how can I fix the problem that I can append the same parameters in the url on and on again?
Same thing is, that I can insert a "/" after the url and get the same site.
for example you are on this site:
domain.com/testpage
If I want, I can insert in the url field: "domain.com/testpage/testpage/testpage" and get the same site without redirecting to the original url (domain.com/testpage)
and that's with all pages or posts urls.
I can insert a "/" at the end of the url or not (in the browser url field) - I get the same site.
Thats all duplicate content, for SEO thats not really good - have you got a solution for this?
Hi,
I've come across this error whilst trying out this script....
A PHP Error was encountered
Severity: Parsing Error
Message: syntax error, unexpected '['
Filename: core/MY_Model.php
Line Number: 608
Backtrace:
Line 61 (_post_show method) of /application/controllers/Findcontent.php
is
$alternate_content = $this->slug_model->where(array('content_id' => $this->translation->id, 'redirect' => '0'))->get_all();
should be
$alternate_content = $this->slug_model->where(array('content_id' => $this->translation->content_id, 'redirect' => '0'))->get_all();
After logout from admin then redirect function not work properly. it redirects to the frontend home page instead admin login form.
Here is the code which i am using.
$this->ion_auth->logout();
$this->postal->add($this->ion_auth->messages(),'error');
redirect('admin/user/login');
Hi,
What is rake and what it is using for? Is it related with dictionary?
A Database Error Occurred
Error Number: 1054
Unknown column 'ip' in 'field list'
SELECT ip
FROM slugs
WHERE url
= 'ci_app' LIMIT 1
Filename: D:/xampp/htdocs/CI_app/application/core/MY_Model.php
Line Number: 635
HI~ Author
The same problem after clearing cache~
I can not find the solution
Th'x
Hi,
You specified language on every lang load in your implementation.
how about setting it in MY_Controller:
$this->config->set_item('language', $this->data['current_lang']['language_directory']);
Hello
I would mod URL of CMS
for articles
www.site.com/[ID]-[slug-it]
www.site.com/en/[ID]-[slug-en]
example
www.site.com/22-nuovo-iphone-apple
www.site.com/en/22-new-iphone-apple
where I should modify to make this happen?
for pages
if I set parent of subpage, link has not parent slug
example
child page with slug "subpage" has "test" as parent page
url should be
www.site.com/test/subpage
but now is
www.site.com/subpage
are this two mods easy to implement?
I see your route:
$controllers_methods = array(
'en' => array(
'willkommen/list' => 'welcome/list',
'willkommen' => 'welcome'
),
'fr' => array(
'bienvenu/list' => 'welcome/list',
'bienvenu' => 'welcome'
)
);
I had creat controller Willkommen with function list()
When I enter browser:
http://mywebsite.com/en/willkommen/list // Not work
Hi Adrian,
I have been working with these files for a few days. Great piece of work.
I have a couple of questions...
I am a little lost with the page, category, post.
which do i create first and how are they accessed from the front end
the featured image is stored in a folder 400x350 in the media folder, after looking through the code I cannot find how to access this in the frontend views
I have tried adding $featured_image, both within the context above and by adding the path to the media/400x350 folder with no luck.
Can you possibly point me in the right direction as I would like to expand this CI site further
Thanks
Andy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.