I'm using Grocery Crud, I have a field of type text and when I add or edit a ckeditor comes out, which is perfect. My problem is when I visualize these data, the images, texts, I have no problems, but if I put in to download a pdf or a .rar, the address that I get is the one that I put in the ckeditor, but behind all the address of the page.
Example:
PDF address: assets/pdf/test.pdf
Address in the view: localhost/codeigniter/index.php/admin/text_page/assets/pdf/test.pdf
Additional information
With grocery crud I save the data in the Database, (IN ONE FIELD), that is, in this field is everything I want to show, text, image, including the PDF, when I go to the view where I show this field, the images look good but the PDF url does not.
I need to leave neither the controller nor the function. Thanks in advance.