riadmin
  riadmin
Silver Member
  Saturday, 19 January 2019
  12 Replies
  1.2K Visits
0
Votes
Undo
I've asked for help with this before, but maybe I never explained properly. Anyway (wish me luck), here goes again...

Our Event Detail pages display category as link text, but with the link URL having this pattern:
<a class="ev_link_cat" href="/{events}/{category}/eventsbyweek/2019/01/19/43?evid=10985&title={event-title}" title="Category">{Category}</a>

I don't want users to be able to navigate to an Events by Week view. I want the link to simply be an up-link to the category page.

Please help me to just get that right.
Thanks in anticipation!
Vicki
(Running the latest version of JEvents on the latest Joomla!)
5 years ago
·
#208313
0
Votes
Undo
Hello,

So basically you just want to display a linked category within the event details is that right?

If so you can just use {{Category Link:CATEGORYLNK}} in your Event Details custom layout.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#208393
0
Votes
Undo
Gah! I obviously don't know what I'm doing.

When I publish the edited custom Event Detail Page template, with {{Category Link:CATEGORYLINK}} instead of {{Category:CATEGORY}} it doesn't make any difference. The words/s of the category name still link to the eventsbyweek view!

I really need help to fix this. (I've also added another issue into Site Details (Private) comments. If you log in to correct one problem, it would be great to kill two birds...
5 years ago
·
#208539
0
Votes
Undo
I'm hoping to get support to solve this problem.
5 years ago
·
#208541
0
Votes
Undo
Hello,

Ahh I see the issue. I've made the change into the core and your override of defaultloadedfromtemplate.php line 668ish week.listevents has been changed to cat.listevents.

If you haven't made any changes to the defaultloadedfromtemplate.php I would advise removing this as an override as we can change this with more features in the future.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#208544
0
Votes
Undo
I never (consciously) applied any override and, thus, I don't know how to remove it.

Please do the change, or give me step-by-step instructions.

Thanking you, Tony!
Vicki
5 years ago
·
#208546
0
Votes
Undo
Hello Vicki,

Ok so for now then I would just rename:

/templates/your_template/html/com_jevents/helpers/defaultloadedfromtemplate.php
to:
/templates/your_template/html/com_jevents/helpers/defaultloadedfromtemplate.bak.php

In-case it's in place from someone else for some other reason.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#208547
0
Votes
Undo
Ok. I'll do that. (I see that in the process you installed eXtplorer, which is quite handy. Thank you!)
5 years ago
·
#208551
0
Votes
Undo
Thank you! That finally fixed the problem!
5 years ago
·
#208562
0
Votes
Undo
Great to hear! Thanks for letting us know.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#210214
0
Votes
Undo
Doh! This was resolved a while back, but I have just rolled out a few new categories (still in Status: Registered at this point).

And I've found that, on events under pre-existing categories, all is well i.e. the CATEGORYLNK goes up to the category page.

On events under newly-created categories, the CATEGORYLNK goes up to https://ourdomain/etc/etc/monthcalendar/YYYY/MM/DD.

I don't understand why there's a distinction between the two sets - pre-existing and new categories - but I need the uplinks from all events to behave the same (naturally). As I don't understand how the fix was made, I'm asking for help.

Thanks!
Vicki
5 years ago
·
#210367
0
Votes
Undo
Hello,

Are the new categories sub categories of a category? Nothing we do changes in the way the link is generated. We just pull it from the database.


Make sure all categories are available in the main menu item category selection or select none for all.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#210375
0
Votes
Undo
Maybe we can discuss this in the other/new thread -
https://www.jevents.net/discussions/categorylnk-2-problems-1-re-emerging-1-new -
which I created after realising this one was Resolved (& I didn't know how to UN-Resolve it). :D

But before I go, I'll answer your points:
Yes, all the new categories are sub categories of a category (but then, so are the old, sibling sub categories which behave as wished).
They are all available in the selection for main menu items. (I hope I'm understanding your point.) That's how I added them to the menu.
  • Page :
  • 1
There are no replies made for this post yet.