Follow Us:

The Forums

Community

Dev Support
Posted: 9th Jul 2018
No Picture
  • Join Date: 9th Jul 2018
  • Posts: 1
  • Kudos: 0

Hi,
I'm trying to find a place where I can change the final uri that is saved to db in blogs post. I fallowed add_post() in Admin controller, but changing line 120:

$this->core->set['uri'] = url_title(strtr(strtolower($this->input->post('postTitle')),$latin_arr));

for example to $this->core->set['uri'] = 'hello';

Didn't change uri that was saved in table fi_blog_posts - it's still derived from post title somewhere.

Can you give me a clue where to look?:)


Posted: 13th Jul 2018
Superuser
post Avatar
  • Join Date: 29th Apr 2015
  • Posts: 16
  • Kudos: 0

Have replied on FB,
on a side note, proper support for foreign characters is in the todo list.

Subscribe

We promise not to send you spam.
Seriously, the mailing list is private and you'll only receive an e-mail once a month with a summary of all the latest goings-on with ForgeIgniter.
Remember you're always free to Unsubscribe if you're not happy for an unknown reason only known to you.

© 2010 - 2018, ForgeIgniter. All Rights Reserved.