Post Reply 
url problem in dynamic generated page
29-Dec-2011, 05:11 PM
Post: #1
url problem in dynamic generated page
Hi, first of all the script is really very good, all is working except one thing, after I post a comment
the returned url on my dynamic generated url has a #form on the end and obviously breaks the page until I manually remove the #form on the end of my url and everything shows fine. Same thing returns with #form if I hit reply.

Here is an example of the returned url
192.168.0.122/mobildesignsnew/devicespecs.php?modelID=4547&logoID=LG#form

is there a way to return from the form submition to the unique url WITHOUT the #form on the end of my url

Thanks Terry
Find all posts by this user
Quote this message in a reply
29-Dec-2011, 09:34 PM
Post: #2
RE: url problem in dynamic generated page
Hi,

Open /comments/includes/language/english/form.php

Change this:
PHP Code:
define ('CMTX_ANCHOR_FORM''#form'); 

To:
PHP Code:
define ('CMTX_ANCHOR_FORM'''); 

For the reply button you may need to modify the href part of line 256 in /comments/includes/functions/comments.php:
PHP Code:
$box .= "<a class='reply_enabled' href='" CMTX_ANCHOR_FORM "' title='" CMTX_TITLE_REPLY "' onclick='"

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
29-Dec-2011, 10:22 PM
Post: #3
RE: url problem in dynamic generated page
thanks, tried that and it worked, but that didn't solve the problem. The form is displayed ok but once I submit, when it comes back, the form dosen't show, and of course breaking the page, if I go backout and come back to that page the form shows, and i can pagnate through the comments WITH the #form in the url and no problem, it seems to be just after I submit, almost like a session is cleared, or something.... like i said backing out to main menu then coming backinto the same location with the #form on the url shows fine.....with the most recent post .
Find all posts by this user
Quote this message in a reply
30-Dec-2011, 09:08 PM
Post: #4
RE: url problem in dynamic generated page
Have you tried this FAQ:
http://www.commentics.org/support/knowle...article=15

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
30-Dec-2011, 11:03 PM
Post: #5
RE: url problem in dynamic generated page
Thanks for your reply Steven, I solved it, I forgot to put in localhost for the domain name when installing it on my linux box for testing.....
once I corrected this all seems well!!

Thanks again for your help will report back on how well css'ing and intergration is going GREAT SCRIPT!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  misaligned on page ianheslop 4 39 15-May-2013 11:46 AM
Last Post: ianheslop
  Submitting comment without page reload johndoe694 6 182 24-Apr-2013 10:09 PM
Last Post: johndoe694
  Comments number on another page. Edgey 4 447 17-Apr-2013 10:31 PM
Last Post: aww
  Binding Commentics to specific page on site johndoe694 2 133 12-Apr-2013 02:11 PM
Last Post: johndoe694
  how i can page add page Jalilnet 1 181 27-Feb-2013 02:33 PM
Last Post: Steven
  am live! but comment resend after page refresh. terungwa 2 354 24-Jan-2013 11:30 PM
Last Post: terungwa
  URL Problem with SEO with multiple pages 121NetDesign 1 236 16-Jan-2013 04:39 PM
Last Post: Steven
  alphanumeric value page ID? herzeleid77 3 404 16-Jan-2013 04:03 PM
Last Post: Steven
Star How to integrate Commentics to a subdomain page? page 1 335 04-Jan-2013 07:26 AM
Last Post: page
  Integration in html page Huldrich 32 5,615 24-Dec-2012 03:01 AM
Last Post: 3hoursLater

Forum Jump:


User(s) browsing this thread: 1 Guest(s)