Notifications template

More
12 years 6 months ago #39686 by brandonking
Replied by brandonking on topic Notifications template
In FlexiNotify plugin, I want to add Menu Item ID into below url(view item for public, not edit form).
Code:
JRoute::_( JURI::root(false).FlexicontentHelperRoute::getItemRoute($item->id, $item->catid));

Thank you.

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #39692 by ggppdk
Replied by ggppdk on topic Notifications template
hello

add a parameter named
forced_itemid

and replace the url code with:
$forced_itemid = (int)$params->get('force_itemid',0);
$url = JRoute::_(JURI::root(false).FlexicontentHelperRoute::getItemRoute($item->id, $item->catid, $forced_itemid));


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #39727 by brandonking
Replied by brandonking on topic Notifications template
Well, I have 5 different menus...means 5 different TYPEs.
Your solution won't fix my problem I guess..and that's why I have asked you to consider adding Forced Itemid manually for each TYPE.

So that we can call a function in Route.php to get Forced Itemid.(if you add a function for this.)

Regards,

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #39741 by ggppdk
Replied by ggppdk on topic Notifications template
Hello

-- i see the need/logic behind of this

yes we can add a parameter per content type
.. and the SEF creating funstion getItemRoute
in helpers/route.php

-- also we can add a second parameter to PREFER content type menu-item over the category menu item (when both exist)

but this is the easy part of it,

if we add an SQL query per content item to get the type id
for every URL created,
then a content list with 100 items, will make 100 more SQL queries,
so it is better to update the FlexicontentHelperRoute::getItemRoute()
and add a 4th extra (optional) parameter : $type_id

-- but this involves:
1. updating about 70-80 functions calls in FLEXIcontent code and a few SQL queries !!,

2. old custom template will simply use the old behavior so they are not a problem

-- of course above URLs include:
1. ALL views,
2. ALL item/category layouts of templates
3. pagination plugin (next previous article),
4. search/advanced plugins(search view item lists),
5. XMAP plugin,
6. modules,
7. system plugins redirecting from com_content

Can you spent some quality time testing?

i mean whatever you have on your site,
e.g. you don't need to test XMAP plugin

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #39746 by brandonking
Replied by brandonking on topic Notifications template
I am happy that you understood the needs.

1. ALL views,
2. ALL item/category layouts of templates
3. pagination plugin (next previous article),
4. search/advanced plugins(search view item lists),

6. modules,
7. system plugins redirecting from com_content

Can you spent some quality time testing?


Do you want me to test after you create params per content type?
If yes, of course I will, I am one of beta tester team :D .

Regards,

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #39806 by ggppdk
Replied by ggppdk on topic Notifications template
Hello,

this is implemented in latest SVN revision, you can test it, it is done by only changing a single file (route.php), so it will work with older custom templates too

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #39834 by brandonking
Replied by brandonking on topic Notifications template
Great! Thank you very much.
I will test it right away. :D
Regards,

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #39867 by ggppdk
Replied by ggppdk on topic Notifications template
Hello,

also note that Content Type form , besides the menu item parameter selection,

there is also a parameter to prefer the "Content Type default Menu item" over the category of the item,

this way you can make all your
e.g. article items activate a specific menu item, instead of activating "category" menu items


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #42349 by jrodgar
Replied by jrodgar on topic Notifications template
I also would like a way to personalize mails. In our case it´s about using the notifications from flexicontent as a kind of newsletter. Now I have a usergroup called 'email-only-group'. And a notification of new content from category X, sent to this group. That´s working, but would be nice to configure the body and issue of the email.

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #42354 by ggppdk
Replied by ggppdk on topic Notifications template
Hello

template for notifications is very much possible to add, we have done it already for file field (download notifications) and template for relation field is similar but no time to do now, othe things are priority before we touch this

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save