logging in to an edit page
Hello world
I've set up a blog page on our site. I created a Blog page add engineers to enter the info in the blog. They choose who send the info. in an email to approve. When the approver receives an e-mail, there is a link that they can click on edit this blog info. When he clicks on update, it approves the blog entry just entered and the displayed on the Blog page. I've also set up a login page that engineers and approvers must sign in before you can access the blog page add or edit the page of the blog. I have this work very well to go to the blog page add, but I have problems with the editing page. How can I get the link in the email works properly to access the edit page, but having first to open a session? I set this code to add and edit pages:
< cfset MyHost = CGI. Servername >
< CFIF CGI. Contains no HTTP_Referer ' #MyHost # ' >
"" < cflocation url = "... / Blog_Login/login.cfm" addtoken = "No" >
< / CFIF >
This code will not allow someone to type in the direct link and use these pages. He re - directs to a page of connection first. Is there a different way I should use to access the page of connection instead of this code? Once connected, so they can go to those pages. So when you click on the link in the email, it redirects to the login page, but I can't get the login button to go to the edit page because he must go to a particular edit page with the correct BlogID so it updates the correct information just came in. I can get the link to work in enamel very well without going to the login page. Here's what I do:
It is on the page add after the engineer added their info. and he is sent to the approver:
< cfloop query = "ShowBlogInitials" >
< cfif Users_Email is not "" > "".
< intrusion via CFMAIL TO = "" #Users_Email # ""
" FROM = ' [email protected] "" "
OBJECT = "Ticket updated" >
< CFOUTPUT >
#Users_First_Name #.
An engineer has uploaded a new Blog entry. Please change it and approve it. Follow this link:
http://www.ironwoodelectronics.com/blog/edit_blog.cfm?BlogID=#BlogID#
Thank you.
< / cfoutput >
< / intrusion via CFMAIL >
< / cfif >
< / cfloop >
It is on the login page. I thought that I needed to say that the BlogID must be defined in order to go to the checkout page.
< cfinput type = "button" name = "submitBtn" onclick = "applogin () ' value approver"Login"= >"
< cfif isDefined "(form. BlogID') and shape. BlogID >
< input type = "hidden" name = "BlogID" value = "#BlogID #" >
< / cfif >
On the validation page which redirects the user to the correct page after they login. I kept the add page here to so you can see how this one works very well, but is not the edit page. I could not the path relative to work at all.
< cfif, and form.eng_login ("form.eng_login") isDefined >
"" < cflocation url = "... / blog/add_blog.cfm ' addtoken ="No">
< cfelseif isDefined("form.app_login") and form.app_login >
" < cflocation url = ' http://www.ironwoodelectronics.com/blog/edit_blog.cfm?BlogID=#BlogID#"addtoken ="No"> "
< / cfif >
Then it should just go to the edit page for update information.
< CFQUERY NAME = "ShowBlog" DATASOURCE = "#application. DataSource #">"
SELECT BlogID Blog_Date, Blog_Info, Blog_Image, Blog_Approval_Initials, Approved_entry
From THE Blog
Where BlogID = #url. BlogID #.
< / cfquery >
< CFQUERY NAME = "ShowBlogInitials" Datasource = "#application. DataSource #">"
SELECT *.
Of Blog_Users
where Blog_Initials = 'true '.
Order by initials
< / CFQUERY >
Elements to be modified are displayed.
I tried not to include all the code, so I hope this is enough. If you need pages to see this, I could send to someone who could help me. Thank you for your help in advance.
Andy
Ashish,
I understood what my problem was. I don't have a CFoutput tags around the javascript above on the login page. I am now able to access the edit page once connected and update the news. on the correct BlogID. Thank you very much for your help! I really appreciate it!
It is what is on my login page now with the javascript code:
function englogin() { document.foo.eng_login.value="yes"; document.foo.app_login.value="no" document.foo.action ="validate.cfm?BlogID=#URL.BlogID#"; document.foo.submit(); } function applogin() { document.foo.app_login.value="yes"; document.foo.eng_login.value="no"; document.foo.action ="validate.cfm?BlogID=#URL.BlogID#"; document.foo.submit(); }
Andy
Tags: ColdFusion
Similar Questions
-
I'm testing Incontext with pages that are based on models of DW. The basic model is simple and contains a banner one heading menu drop down menu bar build using DW and a single editable region. I gave birth to a child of this model, adding a table that contains two columns, one containing an IFrame that is bound to a calendar and the other in which I added and a region of ICE. I loaded the page and saved it in Incontext. I invited an editor to edit the page. When I log in as Publisher, Incontext finds the page ask again the connection but then fails to generate an editable page.
It's the address of the page
http://www.Chelmsford.k12.Ma.US/Administration/incontexttesting/index.html
Things work very well with this stripped down page
http://www.Chelmsford.k12.Ma.US/Administration/incontexttesting/Test1.html
Any suggestions?
Hello brodiedawg,
You have a number of scripts in your page and the behavior you're seeing looks like it might be a JavaScript conflict-related. You have the same problem if you try to delete/isolate other scripts running on the page?
Best regards
Corey
-
For some reason any, I can't log on to my facebook page, I was able to last week and now I can't get it
Please contact the Facebook Support for help with this issue:
http://www.Facebook.com/help/?page=220217228006012
http://www.Facebook.com/help/
http://www.thefacebookforum.com/
-
I have 4 pages that go on a single page to manage changes.
My pages are confused how to return to the original page after the change is made.
How can I get the edit page to return to the page, they click the edit after they hit save them button on the edit page?
I think that's the way to approach it.
Thank you.
LloydHM. It seems that the answer was 'proper' rather than 'useful' ;)
Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------ -
How do to the size of the log buffer reduce with huge Pages Linux
Data sheet:
Database: Oracle Standard Edition 11.2.0.4
OS: Oracle Linux 6.5
Processor: AMD Opteron
Sockets: 2
Carrots / power outlet: 16
MEM: 252 GB
Current SGA: GB 122 automatic shared memory (EAMA) management
Special configuration: Linux huge Pages for 190 GB of memory with the page size of 2 MB.
Special configuration II: The use of the LUKS encryption to all drives.
Question:
1. How can I reduce the size of the log buffer? Currently, it appears that 208 MB. I tried to use log_buffer, and it does not change a thing. I checked the granule size is 256 MB with the current size of the SGA.
Reason to reduce:
With the largest size of log buffer the file parallel write newspaper and the synchronization log file is averaged over 45 ms most of the time because she has dumped a lot of stuff at the same time.
Post edited by: CsharpBsharp
You have 32 processors and 252 GB of memory, so 168 private discussions, so 45 MB as the public threads size is not excessive. My example came from a machine running Oracle 32-bit (as indicated by the size of 64 KB of threads private relative to the size of 128 KB of your son) private with (I think) 4 GB of RAM and 2 CPUs - so a much smaller scale.
Your instance was almost inactive in the meantime so I'd probably look outside the Oracle - but verification of the OS Stats may be informative (is something outside the Oracle using a lot of CPU) and I would like to ask you a few questions about encrypted filesystems (LUKS). It is always possible that there is an accounting error - I remember a version of Oracle who report sometimes in milliseconds while claiming to centisecondes - so I'll try to find a way to validate the log file parallel write time.
Check the forum for any stats activity all over again (there are many in your version)
Check the histogram to wait for additional log file writes event (and journal of file synchronization - the lack of EPA top 5 looks odd given the appearance of the LFPW and and the number of transactions and redo generated.)
Check the log file to track writer for reports of slow writes
Try to create a controlled test that might show whether or not write reported time is to trust (if you can safely repeat the same operation with extended follow-up enabled for the author of newspaper which would be a very good test of 30 minutes).
My first impression (which would of course be carefully check) is that the numbers should not be approved.
Concerning
Jonathan Lewis
-
I've recently updated Firefox to version 42. On the old version, I could go tools-> Page Info and there would be a menu typical Edit at the top where you can select, copy, etc. On the new version this menu is absent and Ctrl C/Ctrl V do not work. Any suggestions on how to get that back?
Try to rename (or delete) the file xulstore.json in the Firefox profile folder.
You can see this bug:
- bug 1219831 - history/downloads/Bookmarks window is stuck in fullscreen
-
Where is the "edit page with Excel?
I often go to a web page that contains a spreadsheet, and I used to be able to pull down a menu which had several elements, which was something like 'Page-> edit with Excel'. Now it's gone and I don't know how or why or all articles that mention how to get it back.
Edit with Excel has NEVER been a part of menu by default in Firefox - NEVER!
If you want this feature, you will need to install an extension or a plugin to get this in Firefox menu item - if it is still available.
-
Error in the generator of the ApEx 4 on Edit Page of the article: ORA-06502
Hello
We took 4 ApEx (patch 4.0.1.00.03), and have a problem in a single application, where appears the error ORA-06502 character string buffer too small.) This error at bottom of the page this article Page. In addition, point editing the page "settings" section is left blank, so I can't change any settings. It also gives me wrong when creating new items, so I have to copy existing elements and change them from place. This worked until recently, when the mistake is now also displayed in the application itself, and not only in the constructor. This is a page with a tabular presentation and some elements of search filter. After having fill the filter and click on a search button, the error message and tables is not rendered. This happens from time to time, and the 'solution' is to disconnect and return to the application. I'm not 100% sure, but I guess that's the same problem as the error appearing in the report generator. It is certainly not caused by user data.
So far, I found this:
While developing the application, we regularly put the generator of the ApEx between French and English. I read that it was a cause of ORA-06502, but that this problem has been resolved in version 4.0.1.00.03. Our problem may still be linked to the multilingual constructor?
I ask this because we are running other applications in the same environment, ApEx, and they are all very good. So somehow this error in Report Designer is related to this particular application.
Any ideas?
Thanks in advance!Hello
(1) no longer this error occurs if you export your application and install it on apex.oracle.com which has 4.0.2?
(2) do you use point type plug-ins in your application. In 4.0.1 there was a mistake in the generator if too many when installed in this application. Reduce the number of plug-ins type point or better to install 4.0.2.00.07Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Open a QT movie in an editable page (template)
I use templates for my site. I would like a movie link to open in a dependent page in the editable area of the page if possible. Can't seem to get there. The film opens in its own blank page.
You embed a QT player on the page?
http://www.mediacollege.com/video/format/QuickTime/Streaming/
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
-
Hi, I'm using JDev 11 g,
I have a table with an af:commandMenuItem
When I click on edit, then the page will open in full screen mode and not as a dialog box.<af:commandMenuItem text="Edit" binding="#{backingBeanScope.backing_Contactpersonen2.cmi1}" id="cmi1" action="dialog:Edit" useWindow="true" windowHeight="200" windowWidth="200"/>
I forgot something?
Thanks in advance.Hello
Make sure that you use the controller of the ADF (adfc-config. XML or a definition of bounded task flows). I guess that the case of navigation exists
Frank
-
Impossible to edit pages that open in a new window
A page that a user updates frequently has a number of links to other HTML pages that are the value _blank target.
When these pages open in a new window of the main page that is already open in Contribute, the new pages window who ejecting seem to have left to Contribute and have no Contribute menu item, not including any of the editing tools, at the top of the pages, if the user can edit these pages.
Is there a way to get around this? Can pages be forces to open in Contribute?
You can not force the pages to open in Contribute, but you can leave the new window open, copy the URL address in the browser, then paste it into the address bar of contribute, and click OK.
-
I want the info under the bars in the screenshot below to align directly under the bar, just like in the screenshot above. I don't know what I did in the above table only
did not in the table below. I guess that the answer lies in the upper right corner: chart axis above labels, vs Style & fix below. But I don't know how to graph and axis labels. Help
I have a MacBook Air, early model 2015 with OS El Capitan 10.11.5 and Pages 5.6.2 (2573).
Thank you
"I don't know what I did in the above table as .
" did not in the table below."
Hi Troy,
In your top albums, the category names are all pretty short to go under the vertical bar for their category.
In the graph on the low, second, third and last category names (more the color patch showing the bar colors for this category) are longer than the width of their columns. Shorten the names, and all should be well.
You can also try to use a 3d instead of a 2D graph. I don't lke them much, because they distort the lengths of the columns to do the work of the 3D perspective, but they also tilt the x-axis, allowing some stacking of the category labels.
Kind regards
Barry
-
My Firefox cannot be used. It's very very slow edit pages, load pages and so on.
I have search and applied several suggestions found in Internet, but so far, no one solves the problem. Firefox uses a lot of memory (600,000) and lots of CPU (100%) and work very slow to load new pages or update pages loading.
I use APP "Memory Fox" but is the same.Hello VictorTrindade, please, try to reset firefox and see if that can solve the problem...
Please also make sure that firefox is not blocked by your security/firewall somehow software.
-
How can edit Pages that it has been saved withot it locked?
Very frustrated with 'Pages '. After recording and storage offline on HD, it crashes and I can't revise. He wants me to a duplicate.
Hi fijim,
Thank you for using communities Support from Apple! I'm sorry to hear that you're having these problems with the Pages. If the document in question is displayed as locked, in most cases, you should be able to unlock it as described in the following article:
Pages for Mac 5.0: lock a document
Concerning
-
Panel pages, edit page size question
Hi I use Indesign CS5, the pages Panel, change the page size button and I'm trying to learn how to change the choices that arise when you click. Mine has a lot that I do not use, shows a lot of double ups and order in all the senses.
See: Troubleshooting 101: replace, or 'trash' to your InDesign preferences
Maybe you are looking for
-
Evernote web Clipper cannot set the laptop to save
I'm under OSX11.05 El Capitan. The web of Evernote Safari Clipper has no option to choose the laptop to save pages. It records everything in the General evernote notebook, after which I have to manually move elsewhere. This feature was available in t
-
Satellite 1000 emits 4 times and goes no further
Anyone know what it means when, after start-up, an S1000 emits 4 times and goes no further. I guess it's a hardware failure, but generally the number of beeps will indicate it has not - that's what I need to know. Thank you
-
CanI set programmatically PXI-8431 half duplex ports (two sons)?
Hello I use an NI PXI-8431/8 RS485 card for half duplex comms. I use configuration of the serial port baud rate usual VISA, etc., but I also want to set the port to two sons, no handshake. Currently I can do this from Windows, using the Device Manage
-
Pop-up - only began to appear on the Pavilion notebook dv7-4270us
I've had this laptop for over a year and all of a sudden a pop-up started appearing at startup or recovery from sleep mode that says, indeed, the smart adapter I use can prevent the computer from operating at full capacity and he wants to order me a
-
OK, so I've updated to 1.3.5 and which went well. The problem is that I can't install ALL applications in the App Catalog. Whenever I try to install something the installation fails and I get a message "Reboot required" to which I replied 'YES' and