Add php in Item HTML parameter

More
11 years 8 months ago #35598 by bendeb
Hello,

It will be nice if we can add some php in Item HTML parameter (List Creation (Frontend Views), of relation field for example, but others too).

At the time being, we are limited to put only html and some predefined tags.
For the application I have to do, I need to put some php instructions in this area, but for now it don't works.

Is that possible to add this feature ?

Thank you. :)

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
11 years 8 months ago #35603 by ggppdk
something like ?:
{{:: ... ::}}

Maybe the above, would work, without making the regular expression parsing to fail, we already have execution of PHP code in modules.

Note that this means that anyone having access to fields will have potentially ability to do anything in the site, (now this applies for our modules)


-- 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...

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

More
11 years 8 months ago #35608 by bendeb
You said that I can put php code within {{:: my php here ::}} tags ?
I tried it, but it doesn't work :
Code:
{{::<?php echo 'blablabla'; ?>::}}

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
11 years 8 months ago #35610 by ggppdk
Hello, i am sorry for the confusion,

i was thinking that this syntax might be good for regular expression matching , if we add

Not sure , this will mean that anyone having access to fields can do anything in the website


-- 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...

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

More
11 years 8 months ago #35612 by bendeb
OK.
But I'm the only user that can access to fields parameters, so it's not dangerous (in my case).
But generally, the users we allowed to edit fields are trustworthy, no ?
Most often, they are administrators or managers.

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
11 years 8 months ago #35618 by micker
You can use this
extensions.netassopro.com/5-exte ... codeinsert

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.361 seconds
Save
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