Joomla version 3 menu item has a field called "Note" which is primarily used to display notes in the administrator backend.
I have populated "note" field with something like "&City=4&County=0" Now I want to append this in front of the Link URL. Link URL is none editable field which is automatically populated based on article selected so I cannot edit or type in it manually.
Normal URL based upon selection of the article looks like something this:
index.php?option=com_content&view=article&id=10
Now I want to append the note field in front of this URL so the URL would look like:
index.php?option=com_content&view=article&id=10&City=4&County=0
Here is the screenshot:
(source: linkbank.co.uk)
You could make a new view, just copy components/com_content/views/article to cityarticle or something meaningful, then edit the default.xml you find in its subfolder ./tmpl, change the name so you can identify it and add the fields city and county to the
on line 16 roughly, those will appear when you create a new menu item (on the right) so you can set them, and will be passed on as get requests.
Choose the appropriate field type and read the docs here:
http://docs.joomla.org/Standard_form_field_and_parameter_types
Related
I want to show the contact first name in the e-mail, but if the first name field is empty I want to show some other field. Is this possible?
Something like this:
Hi {contactfield=firstname} or if empty {contactfield=email}
Thank you in advance.
Yes it is possible, you can use "Dynamic Content" option available in slot type. it allows you to use variations in the content based on value of the the field.
simply add the slot, then put in a default value, click Add Variant and at the bottom right you can choose the field and comparison option.
For a tag system, when entering a new item, I'd like the user to start typing a letter or two and see possible tags...similar to how SO tags work on the website i.e. Ajax.
Is there a way to do this on IOS?
Basically the Add Item screen has some empty text fields where you put the name etc.
I'd like to have an additional empty field where as you enter letters you see possible tags appear below and can then select one to tag the item.
The tags would be served from an entity or table so there would have to be a call to core data to supply them based on the letters typed.
Do I have to implement a full blown tableview to do this? Or is there a way to make the possible tags show up below the textfield box.
Thanks for any suggestions.
You could try a third party development in order to make what you want. In a recent project I have used this one:
https://github.com/EddyBorja/MLPAutoCompleteTextField
I have a SharePoint Server 2007 installation. What I needed to do is to create a simple printable page/file which is populated with data from a list. For various bugs and reasons I can't do this with a word template in a word document library and I can't use workflows.
My solution so far is very rude and simple, but it gets the jobs done:
I created a new custom form called print.aspx
I insert a Custom List Form based on the display form.
Successfully pasted the text, put the data fields and added a couple of text fields for additional data that is required in the print form but not on the list item.
This print.aspx custom form won't save anything and it is not required.
Now what I want to do is place a link in the customized DispForm.aspx that leads to the printing page so when the user enters the list item and it is approved they can click to see it. At the bottom of the DispForm.aspx there will be a simple link to print.aspx saying "To print this click here". Unfortunately I have no idea how to link to the ID of the item in print.aspx.
Example:
In InternalPortal/Lists/ImportantList/DispForm.aspx?ID=5 I want the link to point to InternalPortal/Lists/ImportantList/print.aspx?ID=5
Already tried ID={#ID} and ID=item.ID but to be honest and not sure how to use them.
Edit: In summary - the link ends in ID={#ID} but it should be in the DataFormWebPart. This will not work outside of it.
I have a list called Case,in the Case form i have the folowing hyper link
http://appserver/Lists/Hearings/Item/newifs.aspx?List=928323ea%2Deace%2D4220%2D845c%2D84871b4f00a8&=&Case_x0020_Number=100000
if you can see at the end of the url I have the item Case Number,what I want is to make the Hearing add new form to have the value of 10000 at the Case Number
so the user don't need to re-enter the value.
but when I click that link it open the new form thing but the field corresponding to that value is blank.
Note : from the share point it self the Case Number of the Hearing is lookup from the Case Number.
is there away to accomplish this?
You say
but when I click that link it open the new form thing but the field corresponding to that value is blank.
This happens when you click the hyperlink directly from the list view?
If you want your "Case number" field to populate dynamically you should create a calculated column, and use a formula to take the current "Case number" for the selected item. After that you can create a Hyperlink in InfoPath and navigate from the item's edit screen...
The formula for the calculated column should be something like this:
=("LocationToNavigate?queryStringParameter="&ListFiedName)
I'm looking for an enchanced edit component that allow users to input multiple tokens (items) manually separated by some symbol, or to select them from another source.
It's something like "TO" field in outlook or facebook that allow you to input multiple recipients.
Can anyone suggest any solution?
The way we sort of do it is to use an normal button edit box and when the user clicks the button we present a separate form (which can be made to look like a drop down box if you like) with a checklist or listview with checkboxes enabled or similar. The user selects any number of the items then when the form closes we take the list of selected items and present them in the edit as a comma or semi-colon separated list. The edit itself is read-only so all interaction goes through the separate form.
But - I really don't like the whole approach (for our app) as it doesn't look good when you have many selected items and I'm looking to find a better way of showing the selection! I suppose one option is to use a read-only memo with scrollbars to show the items.
TMS has some nice components, one of which is the TCheckListEdit which might be of use.