and where does the e.g. 25988 come from?
Hi. in the above post, the folders, 25411, 25412, 25988 are all examples.
The folders are named as the JobID’s generated by our management system.
We use a windows package which does the following:
Checks to see if a a JobID folder exists in public_html/client-private/
If it doesn’t it will create it.
Then it will upload images and pdf docs into this folder.
So the JobID can be any number.
Does this help?
How should the plugin know that folder 25411 belongs to Mr Jones?
You need a mapping somewhere.
We will give Mr Jones a login will consist of a username and the unique JobID.
So for example:
Username:mrjones
UniqueID:25411
I haven’t done the mapping yet.
Advanced iframe pro has a features that e.g. the username, userid in WordPress can be added to the url.
In your case this would have to be extended to read the uniqueID.
Best, Michael
Hi, would it be possible to include the post or page name to the shortcode?
example
public_html/client-private/POSTNAME
So if I named the post or page as 25411, the url in the iFrame would use the posts name as the last parameter?
Regards
Hi again.
The url can be any of the following:
http://www.mydomain.com/client-private/25411
or
http://www.mydomain.com/client-private/12345
or
http://www.mydomain.com/client-private/65844
it is only the end characters after the last / which changes.
If I can pull the page title ( assuming I name the page 25411 etc ) then I can complete the iFrame shortcode.
[advanced_iframe securitykey=”ASecureKey” src=”http://www.mydomain.com/client-private/”%5D & page title
( hope I’m making sense )
Extracting part of the url and adding this to the iframe url will be one of the features of the next version 6.4 of the pro version of this plugin.
I currently work on the tutorial videos.
Best, Michael