Ok, found another solution for the health & beauty problem.
Again, the url is healthbeauty but the category name is Health & Beauty, so this line is wrong:
$category = $CI->categories_model->find_one_by_name($category);
Changed it…
Ok, found the problem with the dropdown.
I have added a new field for the url so it won't use the & sign in it.
Didn't change it in the sub menu parent item.
This problem is fixed.
But the rest of the problems are causing me to lose hair.
Now suddenly I get a new problem. The dropdown menu does not appear.
A few minutes ago, as I wrote my last post, I had a dropdown menu, now I don't.
Under accommodation I should have a few sub categories, where did they disappear to?
Dear god, wh…
Another problem I have here:
I have two categories that have no sub categories: Health & Beauty and Outdoors.
When I click on the menu item: Health & Beauty
$nav['members/healthbeauty'] = array('label' => Health & Beauty);
I get th…
Hi admin,
I understand that I need to create the field, but how do I make the 'Upload another image' button create another upload image field on the form and save it to the member_images table?
Is it possible?
And I have this code in my members …
If I add the tags in the table itself, it breaks the text to paragraphs but how do I add paragraphs in the admin form?
If I just do enter it doesn't add a parapgraph.
By the way, your answer for my $total problem helped, thanks.
So now I only need solution for the content_formatted and if possible, an answer for my first question above.
Thank you
It is coming from the categories model as far as I can understand the code.
The url is: mysite/members/Accommodation
The member file:
<?php $category = $CI->uri->segment(2); if (!empty($category)) { $CI->load->model('categories_m…
Thank you admin, I will try your suggestions.
My members table has content, address, phone and web site fields. All the fields have data in them.
My members_model is just a copy of the articles model in the simple module tutorial.
The code:
<…
Third question:
The code in the memebers.php view file:
<?=$member->content_formatted?> does not print anything to the page.
I added this to my Members_model:
public $parsed_fields = array('content', 'content_formatted');
Still nothing is…
Second question:
In my categories table I have a record: id = 1, name = Accommodation
In my members table I have a record: id = 1, title = Test
In my categories_to_members table I have a record: category_id = 1, member_id = 1.
My categories_to_memb…
Ok, I have restarted everything.
Created categories_model, members_model, categories_to_members model.
First question:
I want to build a sidemenu that displays all the categories names from the database.
Do I create my sidemenu block view like t…
Thanks Lance, thank you, thank you, thank you, can't say it enough.
The problem was in MY_fuel, on this line:
$config['auto_search_views'] = TRUE; It was set to false.
Ok, I am going to give it another try.
I'm going to create a fresh new site, and copy all the code from the example.
Then I'll start tweaking it again to my needs, and will let you know what's happenning.
Hopefully, it will work this time
Yes, but why do I get 404 error page?
That's the question.
Why is it working fine on: mysite/lists and not on mysite/lists/accommodation?
I am following the Create Simple Module from the userguide.
I don't get page not found there, why do I get …
I don't know, I am thinking of giving up, and develop my sites without fuel.
I am trying to implement the tank_auth system for about 3 days now, and nothing works.
It looks like every step of the way I am getting problems.
One site with the side …