Sharepoint 2010 Edit Redirect Page - redirect

Using SharePoint 2010. I have created a page with an html redirect put in a content editor (the redirect template was not working properly). I need to make an edit to the redirect timer but the page redirects me even when going in checked-out as an editor and I don't have enough time to get into the source. Is there a way to get into the page and view the HTML Source of the content editor without being redirected or stop the redirect as an editor?

You can use SharePoint Designer to edit the page and modify the contents of the Content Editor Web Part in code view.

Related

Kentico and add Form that posts to external source

I want to create a Salesforce Web to Case from on my Kentico Site.
I have a template built and am inheriting the from that.
I create a new page and then add my form code to the Page Tab > Source and Save.
When I load the page on my site, the form is displayed, but when I hit submit, the form does not do the post action.
How do I accomplish this?
TIA, Jason
Since Kentico is built on web forms, each page's content is wrapped inside a form tag.
Adding your markup (including a form tag) in the middle of a Kentico page results in a nested form, which is invalid.
The quickest way to make this work is probably:
Create a basic HTML document with your markup, and put it on a new page in a "Custom Response" web part. https://www.screencast.com/t/PuwwnFTGGpAJ
Then display that new document in an iframe on your current page.
If that won't work, you can put your form markup in a div hidden by CSS. Then use javascript to move the div to a location after the page's main form tag. You can then use CSS to absolutely position the form on the page.
I hope this is helpful, good luck.

Update content programmatically

I am publishing content on a TYPO3 instance where I have just editor rights. At the moment, that content is generated automatically as HTML; my workflow consists of
Copy HTML code
Log in to TYPO3
Select page
Click Edit on the HTML element of this page
Paste HTML code
Submit
Is there a library or an API that helps automating this process?
Since you are only an normal editor in your TYPO3 instance, I assume you cannot just add a TYPO3 extensions that helps you with the task. If you could alter the TYPO3 instance, there would be numerous ways to automate the process: A Scheduler task that fetches new content and puts it to a page or even fetches content from a mailbox or Dropbox share etc..
The only solution I see is that you do some browser automation to perform this task. You use e.g. use Chromium Browser Automation if you work with Chrome. You can record all form entries (username, password, paste text to RTE) and clicks and you also should be able to define some variables (ID of the page and content element, content itself).

Creating a page on CMS

For example:
I create a page on Joomla or Wordpress and then save it.
I create an entry in the menu that points to the new page.
When I select the new entry in the menu the page opens on the browser.
The URL that appears points to a file that doesn't exist on the server.
What is the mechanism that is used by a CMS like Joomla or wordpress to accomplish this?
This is typically done with a URL rewriting module that runs on the web server (mod_rewrite for Apache or URL Rewrite for IIS on Windows). It will rewrite a request URL like /blog/article-title to something like /index.php/blog/article-title or /index.php?q=blog/article-title before the website code even sees the request. Then, the code in index.php extracts the rest of the path and determines which content to serve based on that.
For Wordpress, see http://codex.wordpress.org/Using_Permalinks for some info about how the rewrites are set up.

Custom Form not showing up in magento

I am having difficulty getting a form to show on a magento store I am working on. the site already has a contact form so I've copied the form.phtml file and renamed it brochure.phtml.
I've created a static page on the CMS section and added this line of code based on this qusetion
{{block type="core/template" template="contacts/brochure.phtml"}}
When I view the page though nothing shows up. What am I doing wrong? I've never used magento before so please be as detailed in your answers if you can.
CMS -> Pages ->Select your page -> Select "Content" on the left side navigation
Post this code there
{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/brochure.phtml"}}
make sure your brochure.phtml file is in the same folder as the form.phtml file. If your CMS page is coming up with the header, body format and the rest of the website layout but the middle content section is plain white then it is not loading your brochure.phtml. If this is the case I would then try loading the default form, so replace "brochure.phtml" with "form.phtml" and reload the page. If you see the default form then you know your brochure.phtml file is in the wrong location.
Hope this fixes your problem.

Jeditable displays entire HTML document as replacement for the editable field after trigger/submit

I am using jeditable and had it working very weird.
after editing the editable field and submits it instead of printing the new content it displays the entire document window in the textbox(placeholder of editable content).
question: from the example where the author used save.php. what was the content of save.php?
is it necessary to send the result on a php file?? can't an HTML file work?
I believe within the comments box at the bottom of the author's main page - somebody has kindly provided a version of the save.php file for people to use and modify as needed.
The save.php file is used to actually save the values of the editable field/s. Without it, nothing would happen to the data and it would reset to the default text if the page is refreshed.
Options instead of a php file could be:
Saving the text/select changes to a Cookie
Using another server side methos such as asp, jsp, rails or .NET to process the saving of the changes.
an html page is a static page with no processing facility per say to communicate with the website server, so no.. html is not suitable for such a need.
Saving script must return the string you want to display on page after editing. You are now returning full html page.
Source of for all demofiles can be found from GitHub.