Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Mojmír Jaroš
  2. F2C article templating
  3. Monday, 20 March 2017
  4.  Subscribe via email
It it posible to insert link to category in main template?
I would like to have "back to category" link at the end of each article. There are many categories (it is something like catalogue), so i need to generate it dynamically.

Thx for advice
Accepted Answer
Accepted Answer Pending Moderation
It's possible to use any php/code within your template so you can pretty much build anything. Because of so many unknowns at the moment of saving the article we don't have a plug'n'play button for this.

It should be possible to build the link. Maybe check the menu item to the category to see the actual link ;)

Of course we "just" generate the article content and there are many navigational plugins and modules to help.

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Responses (3)
Accepted Answer Pending Moderation
Hi, maybe a simple go back link will do?

Otherwise you can build your own Joomla category link dynamically using the different template parameters linke category ID etc. (http://documentation.form2content.com/images/stories/Form2Content_template_parameters.pdf)

Other option is to include a module with (sub)menu items.

Hope this helps,
Regards, Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  1. more than a month ago
  2. F2C article templating
  3. # 1
Accepted Answer Pending Moderation
Hello, thx for quick response.
I prefer not to use "go back", since i guess it wouldnt work as expected if visitor came directly/from some other page.

Tried to build link using template parameters, unfortunately with no luck :(

I do have menu module with navigation on these pages, but i still think it would be useful to have "see more products from this category" button at bottom of article ..

I will probably make different solution "outside" of F2C.

Thx anyway
Mojmir
  1. more than a month ago
  2. F2C article templating
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.