Welcome Guest, Not a member yet? Register   Sign In
Super Ultra Mega Dynamic Menu Post - all gurus and no gurus invited
#3

[eluser]MEM[/eluser]
Hello Jedd, thanks for your reply.

I will try to not loose the focus here, so I will try to split this is shorter questions:

[quote author="jedd" date="1255819554"]
What is the first '1' there designating?
[/quote]

It designates a category ID. (for each category I'm having a menu of subcategories that will be based on that category ID that is passing on the URI segment).

[quote author="jedd" date="1255819554"]
You say that you can't change the value of the third segment ID, but I'm not really sure why you have that limitation.
[/quote]
I can change, however, if I do it, I will be unable to see the subcategory menu. (because the subcategory menu gets generated based on the URI passed on the third segment. (the $id).

Please have a look on the following link:
http://www.nuvemk.com/c_categoria/seccao/1
The vertical not formatted ul list, constitutes the MAIN CATEGORY MENU.
When you click on one of the MAIN CATEGORY MENU ITEMS, you will see, below, other links. Those links, constitutes a SUB CATEGORY MENU based on the ID passed, when you click on the links of the menu above.


[quote author="jedd" date="1255819554"]
Perhaps if you rewrite your URL generations to be base_url + current controller + current method + ID.
[/quote]

I have a base url, + current controller (c_categoria) + current method(seccao) + id (passed on the 3rd segment), I believe. Here is an example of a link on the subcategory menu, having all:
echo anchor( uri_string() . '/' . $subcategorias['id_cat'] . '/',$subcategorias['nome_cat']);


Please ask as much as you wish, I will be more then glad to answer, in order to solve this.

Thanks a lot,
Márcio


Messages In This Thread
Super Ultra Mega Dynamic Menu Post - all gurus and no gurus invited - by El Forum - 10-17-2009, 01:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB