document with relid in url not displayed - pdf

On my ZF-1 based website I have a document with the name erelid.pdf (erelid is member of honour in Dutch) which won't be displayed. When I change the name of the document, it's displayed fine.
So:
http://www.example.com/public/documents/erelid.pdf is not displayed. Got redirected to some kind of 404-page.
I change the name of the document in erelip.pdf
http://www.expample.com/public/documents/erelip.pdf is displayed
I don't understand what goes wrong. Can't find a clue in the logging as well.
Is relid some kind of reserved word?

Related

Safari Extension - How to edit the "from" info within the Preferences-Extensions page?

Let say my extension name is "foo". In the Preferences-Extensions page, the title of my extension is "foo [version] from foo".
How can I edit the second foo (the green one) to be my real company name and not the product name?
screenshot of Preferences-Extensions page
Thanks in advance.
I've tried to change it in some different places which totally changed my product name.

How to Personalize window behavior in odoo 8 livechat

How to Personalize window behavior in Odoo 8
Goals for now are:
add fields asking visitors Name, Email and Concern, As you can see at first image "A" the customer name is "Visitor"
change visitors name base on his/her Name input
change the design (background color, font, etc)
I already search on odoo documentation but no tutorials for Live Chat customization.
TIA
The appearance and the behaviour of the live_chat window is defined in the files addons/im_chat/static/src/js/im_chat.js, addons/im_chat/static/src/xml/im_chat.xml and addons/im_livechat/static/src/js/im_livechat.js
Depending on your needs your will have to modify these files. For the needs you have outlined in your question you have to:
1) add fields asking visitors Name, Email and Concern, As you can see
at first image "A" the customer name is "Visitor"
You have to modify the send_welcome_message function on the im_livechat.js in order for you to send a custom initial message and you have to change the im_chat.Conversation_message_bubble template in order to give each "text bubble" a different look (for example to insert a textbox asking for user's info)
2) change visitors name base on his/her Name input
When you collect your data, the user's name is saved in the variable defaultUsername in im_livechat.js, you will have to set it there
3) change the design (background color, font, etc)
All of this can happen from changing the template with the name = im_chat.Conversation_message_bubble from the im_chat.xml file accordingly.

Apex - passing a variable from one page to another

I have a form on one page which prompts a user to enter their email address. When they click "next" I want Apex to redirect the user to a different page which shows them a report which selects the records from the users table where the email address matches the one that they entered.
E.g.
SELECT *
FROM USERS
WHERE EMAIL_ADDRESS = (the email address that they entered on the previous page);
Can someone please explain the easiest way to do this?
I have only in the last 5 seconds heard about 'Apex' Lol ... But I think I found what you need to do.
You need to define a 'Branch' which will allow you to POST to whichever page you need to.
Here's some documentation on 'Branches': http://docs.oracle.com/cd/B32472_01/doc/appdev.300/b32469/pdf_report.htm#BABICIJG
Also this snipet may help:
It's [The 'branch'] in the middle (page processing section) of the
development page at the bottom. The branch will be executed whenever a
post submission occurs but you can put conditions on the branch.
Which I found at: http://dbaforums.org/oracle/index.php?showtopic=8139
The "Next" button should not redirect but should submit. The value of the page item has to be pushed to the session state for it to be available in the (apex) session. On submit you can then define a branch which will take you to the page with your report. Your report can then reference the page item by using bind variable notation in the region source:
SELECT * FROM USERS WHERE EMAIL_ADDRESS = :Px_EMAIL_ADDRESS

Getting Google+ business page ID based on vanity URL

We are looking to implement rel=publisher to verify our website against our Google+ page.
However, according to the Rich Snippets tool, this only appears to work with a numeric page ID: e.g. https://plus.google.com/103037366582313115962/
However, we have a vanity URL https://plus.google.com/+TheGuardian
How can I find out our numeric page ID based on a Vanity URL?
OK, worked this out:
Go to https://plus.google.com/ as a Google+ user.
Search for your page using the search box
Copy the link location of the search result for your page. e.g. https://plus.google.com/u/1/113000071431138202574
...The last fragment of the URL is your Google+ page id
In order to get the 21 digit ID from a vanity URL, you need to utilize people.get API!
Just enter the vanity URL portion with the plus sign (for example +Name) as the userId here and scroll down to the 'Response' section to get your id.
Go to the G+ page
Press Ctrl+U then Ctrl+F
Type data-oid.
ex: data-oid="101059889519664604142"
You just have to do is right click on on name (page name or person name) select Copy Link Address & paste it in a new Tab you will see the code as my is https://plus.google.com/+InzimamTariq
but when I do that this is in return.
https://plus.google.com/109309640886924591969
hope you like it & it will help you
Go to -> www.Google.com
[Press] +UserName where "UserName" is your user name
(usually your email is UserName#google.com)
Hover over Home in top left for drop down menu
Just below Home you should see Profile <- click on Profile
Check your URL and if should look like this:
https://plus.google.com/u/0/+UserSetUrl/posts
or
https://plus.google.com/u/0/12398987468276/posts
The +UserSetURL is your google+ profile name.
If you have not created your own specific URL / ID then the numbers are your ID.
You should change the Numbers to something easy like MyName or UserID so you won't have to do this ever again.
Note: This is according to UI as of April 28, 2015

Content Organizer Rule Creation Issue

I am using the Content Organizer feature to move documents of a specific content type into a specific folder in a document library in the same site. I created a content organizaer rule with a property setting that uses the property testcolumn. Testcolumn is a site column defined as a lookup to column on a custom List, testlist, and then added to a site content type. The items in this list are displayed in the Value dropdown list and I can select the specific value I want to use for this rule.
The problem is that I can create and save rules provided that there are no more than 19 items in the testlist list. When I have 20 items in the testlist, it looks like the rule was saved by the UI. If I open the rule and go to edit it, the Value for the testcolumn property is (None). If I look at the item in powershell, the Value property is equal to '0' and not the ID of the item I saved in the UI. If I delete a record in the testlist so that the total number of items drops below 20, I can save the rule without issue. I have tried different combinaitions of items in the list in case it was a text issue, but when I have 20 items or more in the list, the rule is not saved.
I have looked at the ULS logs and it states the "Routing Engine: UpdateRule() has successfully updated the rule, rule.Name=TestRule1" when I save the rule.
Thanks for your help.
The answer is partially listed here. Looks like the page renders the control differently if the number of items is 20 or greater. The content organizer rule creation page does not handle this change and does not show any error when saving the information.
I was able to get around this limitation in the UI by adding the rules through code during my feature creation event. A link to creating rules through code is here.