How to redirect when Flexiaccess restricts access

More
14 years 5 months ago #13592 by davidosullivan
Hi there,

I have tried private messaging him and when I sent the message it said it was sent, but it is still in my 'outbox' rather than in 'sent messages'.

I have spent some time yesterday working on this and discovered that Flexiaccess does have the ability to restrict fields and this seems to be working.

I have added some params to the fields where you can select whether to show a restricted field and the text to show if restricted.

Where I have hit a problem is in customising Flexiaccess to utilize those fields. Working backwards through the code I think what happens is that Flexiaccess removes any fileds that the viewer does not have permissions for from the output that is sent to the template. I think this happens in plugins/system/flexiaccessclass.php. The trouble is that it is mainly in french, so although I can translate the notes the $variable names do not make sense to me.

What I need basically is some direction to where I find the code that removes field values from the output that is sent to the template, so that I can change this to say ' if show restricted is true replace with restricted text, otherwise remove the field'

As I say I know this is a developer question but I have not had any reply to my PM

David

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

More
14 years 5 months ago #13594 by micker
good news ! you find a little way ...
explain your tips start for dev
sorry i am not a dev try to contact
yopyop01
flexicontent.org/forum/index.php ... memberlist
or
kenmcd
flexicontent.org/forum/index.php ... memberlist

actualy manu is overbooked with new version ... sorry (i didn't have any news too but the SVN is on moved)
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
14 years 5 months ago #13601 by davidosullivan
Still not getting any replies, messages are still in my outbox even though I have sent them...

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

More
14 years 5 months ago #13602 by micker
try to send my a mp to test (i received last day ..) strange

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
14 years 2 months ago #15234 by rubenreyes
Hello! I am having problem with Redirections Configuration as well.

I have entered the following in the "Login page" and "Unauthorized page":

index.php?option=com_flexicontent&view=items&id=23&cid=0

Which points to a specific login page I have created. This page works fine if I enter the URL directly in the browser.

However when I try to access a page a restricted page (Registered users only) while I am a guest I still see the generic log in page.

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

More
14 years 2 months ago #15240 by micker
do you use SEF ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.414 seconds
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