How to modify link?
Posted: 11 Apr 2011, 00:15
hello
Actually the module link allow us to choose between 3 mode:
- Link to detail image
- Link to category
- Link to all category
I want use the module to "Link to category" but I need to redirect to the first category instead to the real category where the image is published.
For be clear actually I have many category with one sub-category for each category (like Category1/Sub-category1). My images are always published inside sub-category and none of them inside first category. When using "Link to category" users are redirected to real category where the image are published (that mean sub-category1) and instead of that I would like simply display the category where all sub-category are listed...
I imagine this is possible but it require to modify the code somewhere in the module file... Can you please tell me how to do ??
thank
Actually the module link allow us to choose between 3 mode:
- Link to detail image
- Link to category
- Link to all category
I want use the module to "Link to category" but I need to redirect to the first category instead to the real category where the image is published.
For be clear actually I have many category with one sub-category for each category (like Category1/Sub-category1). My images are always published inside sub-category and none of them inside first category. When using "Link to category" users are redirected to real category where the image are published (that mean sub-category1) and instead of that I would like simply display the category where all sub-category are listed...
I imagine this is possible but it require to modify the code somewhere in the module file... Can you please tell me how to do ??
thank