Hello
the links no meant to appear for a virtual domain should not appear, instead you want to give out 404 server errors (=not found) ?
plus an inaccessible item (due to access level will give 403 error (=not accessible) and error 404,
finally you assign view access level to menu items of different menus appearing according to the current domain,
this is not relevant to the component, maybe you can do something by adding custom code inside a custom template, but FLEXIcontent is not displaying Access level of menu items
and i don't think that your approach is correct,
maybe this is possible and will do the trick:
Create a new
multiselect field and call it domain, with values:
domain1.com::domain1.com %% domain2.com::domain2.com %% domain3.com::domain3.com %% domain4.com::domain4.com
you will set this for every item , to select the domains in which the item will appear
then near the top of your
Joomla template add:
if ID of your field is 51
Code:
$domain = $_SERVER['HTTP_HOST'];
$domain = str_ireplace('www.', '', $domain);
JRequest::setVar('filter_51', $domain);
The above may work and filter your category views, but i have not tested it
Anyway i have no other suggestions
Regards