Jump to content

HancoEuropa

Member
  • Content Count

    37
  • Joined

  • Last visited

Community Reputation

2 Neutral

About HancoEuropa

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Andrew and string, thanks so much for the investigation, and yes, I suspected there was some check and clear routine associated with the Add/Edit hooks. My workaround was fairly simple -- I just moved the function to the AdminAreaPage hook and tested for filename/pagetitle to filter. Worked fine there, avoided the extra checking from the other hook points. Really appreciate you confirming this was an intended feature. We're using the announcements table as product pages -- the explanation of the products/services for the clients, adding pid and gid columns to suit. My code is auto-inserting the language rows for the announcements (we have quite a few), using automated translations hooks to fetch the translations and insert them on the fly. Native language staff later review the auto-translations, only making minor corrections, rather than starting with a blank page. Andrew, appreciate the job to look at adjustment in hook point running: string, I did use your: most useful, thanks for that -- and yes, it is created for a few milliseconds and then gets "cleaned up" by the AnnouncementEdit hook. Cheers mates! ============ The function where this was happening -- at the insertGetId , made a note about 1/3 way down: function checkAnnounce ($pid, $lang) { $product = Capsule::table('tblproducts')->where('id',$pid)->first(); if ($product) { $trantime = date('Y-m-d H:i:s'); $productname = trim($product->name); if (strlen($productname) < 3) { $productname = '('.Lang::trans('product.placeholder').' for Solution '.$pid.')'; } $hourly = intval($product->is_hourly); $pid = intval($product->id); $aid = intval($product->aid); $gid = intval($product->gid); $kid = intval($product->kid); $slug = trim($product->slug); $descproduct = trim($product->description); $thisannounce = Capsule::table('tblannouncements')->where([['pid',$pid],['language','']])->first(); $descannounce = $thisannounce->announcement; if ($descannounce == null) { $descannounce = ' '.Lang::trans('thisnewsolution'); } $tranparent = $thisannounce->id; //additional languages added here in foreach after beta $tranlang = 'romanian'; $tranphrase = '<h5>În prezent traducem această pagină în limba română</h5>'; if (strlen($descannounce) < 10) { $descannounce = $descproduct; } /*in case the friggin' name changed, update English version... */ $update = Capsule::table('tblannouncements')->updateOrInsert(array('pid'=> $pid, 'language'=>''), array('date' => $trantime,'updated_at' => $trantime, 'pid'=>$pid,'gid'=>$gid,'kid'=>$kid, 'published'=>1, 'language'=>'', 'parentid' => 0, 'announcement' => $descannounce)); $getenglish = Capsule::table('tblannouncements')->where([['pid',$pid],[ 'language','']])->first(); if ($getenglish && ($aid == 0 || $aid !== $getenglish->id)) { $aid = $getenglish->id; //the aid has changed. $productupdate = Capsule::table('tblproducts')->where('id',$pid)->update(array('aid'=>$aid,'gid'=>$gid,'name'=>$productname)); $tranparent = $getenglish->id; } $gettran = Capsule::table('tblannouncements')->where([['pid',$pid],[ 'language',$tranlang],['parentid',$tranparent]])->first(); if ($gettran) { $tranaid = $gettran->id; //the aid has changed. //check for defective tran (too short compared to english) if (strlen($gettran->announcement) < (.9*strlen($getenglish->announcement))) { $updatetran = Capsule::table('tblannouncements')->where([['pid',$pid],[ 'language',$tranlang],['parentid',$tranparent]])->update(array('announcement'=>$getenglish->announcement)); } } else { /* This is where the announcement was created and then deleted when run with trigger of AnnouncementEdit hook */ $tranannounce = Capsule::table('tblannouncements')->insertGetId(array('date' => $trantime,'updated_at'=>$trantime,'title' => $productname,'pid'=>$pid,'gid'=>$gid,'kid'=>$kid, 'published'=>0, 'language'=>$tranlang, 'parentid'=>$tranparent, 'announcement' => $tranphrase.$thisannounce->announcement)); $tranaid = $tranannounce; } $gettran = Capsule::table('tblannouncements')->where([['pid',$pid],[ 'language',$tranlang],['parentid',$tranparent]])->first(); //now see if we can move any Solutions translations into the foreign Solutions page name/desc IF needed (short announcement) if (strlen($gettran->announcement) < 15) { //Finally update (or make additional) announcement records in foreign language using only the dynamic translations IF there is no foreign announcment, and dynamic record exists. $trans = Capsule::table('tbldynamic_translations')->where([['related_id', $pid],['related_type','product.{id}.name'],['language',$tranlang]]) ->get(); $tranname = $productname; //incase there are no trans for later $targetname = $tranname; foreach ($trans as $tran) { if ($tran->language !== 'english') { $tranname = $tran->translation; $tranlang = $tran->language; #if ($tranlang == $lang) { $targetname = $tranname; #} } else { //in case there is NO foreign announcement for the pid yet. $tranname = $productname.' '.ucwords($tranlang); $tranlang = ''; // english in announcements is blank, not 'english' $parentid = 0; } $targetname = $tranname; $tranannounce = Capsule::table('tblannouncements')->updateOrInsert(array('parentid'=> $tranparent, 'language'=>$tranlang), array('date' => $trantime,'title' => $tranname,'pid'=>$pid,'gid'=>$gid,'kid'=>$kid, 'published'=>1, 'language'=>$tranlang, 'parentid'=>$tranparent)); } $transdescs = Capsule::table('tbldynamic_translations')->where([['related_id', $pid],['related_type','product.{id}.description'],['language',$tranlang]]) ->get(); $trandesc = $descproduct; //in case there are no trans for later $targetdesc = $trandesc; foreach ($transdescs as $tran) { $trandesc = $tran->translation; $tranlang = $tran->language; $targetdesc = $trandesc; $announce = Capsule::table('tblannouncements')->where([['parentid',$tranparent],['language',$tranlang]])->first(); if ($announce && strlen($announce->announcement) < 10 ) { $tranannounce = Capsule::table('tblannouncements')->where([['parentid',$tranparent],['language',$tranlang]])->update(array('date' => $trantime,'announcement' => $trandesc)); } } } foreach ($needtrans as $needtran) { $tranaid = $needtran->id; //make a new todo record for Zapier $product = Capsule::table('tblproducts')->select('description')->where(id,$needtran->pid)->first(); $descproduct = trim($product->description); //needed for intro $strsize = 960; $maxsize = 998; $helpphrase = htmlspecialchars('<br/><h6><a href="https://domain.name/helpdesk">Let us know how else we may help you!</a></h6>');//this will be later translated by Zapier $announcement = str_replace($tranphrase,'',$needtran->announcement); if (strlen($announcement) > 0) { $announcement = htmlspecialchars($announcement.' ',ENT_NOQUOTES); $announcement = str_replace('&amp;amp;','&',$announcement); $descannounce1 = null; $descannounce2 = null; $descannounce3 = null; $descannounce4 = null; $descannounce5 = null; $descannounce6 = null; $nextstart = 0; $thislen = $strsize; for ($d = 1; $d < 6; $d++) { $dstring = 'descannounce'.$d; $$dstring = substr($announcement,$nextstart,$strsize); $lastspace = $strsize + 1; while ($thislen > 0 && $lastspace > $strsize) { $lastspace = strrpos($$dstring," "); //last space $$dstring = substr($$dstring,0,$lastspace); $thislen = strlen($$dstring); $nextstart += $thislen; } if ($thislen == 0) { $$dstring = null; $lastdstring = 'descannounce'.($d-1); break; } } } if ($thislen == 0 && strlen($$lastdstring) < ($strsize-strlen($helpphrase))) { $$lastdstring .= $helpphrase; } else { $$dstring .= $helpphrase; } $trantodo = Capsule::table('tbltodolist')->insert(array('aid'=> $tranaid,'date' => $trantime,'admin'=>1,'title' => trim($needtran->title),'intro'=>$descproduct,'description'=>$descannounce1,'description2'=>$descannounce2,'description3'=>$descannounce3,'description4'=>$descannounce4,'description5'=>$descannounce5, 'description6'=>$descannounce6,'status'=>'In Progress','do_announce'=>true,'do_product'=>false)); } $viewbutton = viewButton($aid,$pid,$gid,$kid,$lang); $editbutton = editButton ($aid,$lang); if (1==2) { $transReplace = tranUpdates(); $trandone = $transReplace['trandone']; $trancount = $transReplace['trancount']; } return array("tranname"=>$targetname,"trandesc"=>$targetdesc,"tranlang"=>$tranlang,"viewbutton"=>$viewbutton,"editbutton"=>$editbutton); } }
  2. Bit stumped. The Setup: Say I have an announcement in English, and I have not made any other language text by hook or by the Admin interface for Announcements. Using AnnouncementEdit hook, on save, I add a record in tblannouncements, set to the second language (parentid = englishid, language = newlanguage) I do that addition with insertGetId, and yeah, I get the new id for the inserted tblannouncements record just fine. It's sequential, the next one that was available. However, a second later, the record is not there. Doing a refresh on the tblannouncements table in phpMyAdmin, the new language record never shows, like it never existed. I'm able to take that insertGetId number and put it into a different table, which is why I know what it is and that it existed. So the id advances one each time -- but on save, something erases the new announcement record made in my hook. Can someone point me to where this happens? Cuz it's not in my hook, spent like 5 hours going over it. Guessing it is a "nobody but WHMCS is allowed to insert an announcement record with parentid" feature 👊 Thanks!
  3. Did put in some filters finally. But can't figure out how to put a variable in that HTML block part returned. Sure it's simple -- need to put in the variable $headerscroll where it has 188 in the html part. How? # Prevent Top Scrolling With Hash Links Hook # Written by brian! function prevent_hash_link_scrolling_hook($vars) { $title = $vars['pagetitle']; if ($title == LANG::trans('termsofservice') || $title == LANG::trans('knowledgebase.name')) { if ($title == LANG::trans('termsofservice')) { $headerscroll = 188; } elseif ($title == LANG::trans('knowledgebase.name')) { $headerscroll = 25; } else { $headerscroll = 177; } return <<<HTML <script> (function($) { $(document).ready(function() { var internalhash = window.location.hash; $('html, body').animate({ 'scrollTop': $(internalhash).offset().top - 188 }, 100); }); })(jQuery); </script> HTML; } }; Thanks for any suggestions :)
  4. Indeed a long day. WHMCS not responding to locale info from Geolocation hooks -- uploaded the new stuff via ftp, all the files there. Set config.php there to faithfully do the right things, I guess $countryToCurrency = array( 'default' => 'EUR', 'RO' => 'RON', 'GB' => 'GBP', 'DE' => 'EUR', // NOTE: You can add more below ); $countryToLanguage = array( 'default' => 'english', 'GB' => 'english', 'US' => 'english', 'RO' => 'romanian', ); $countryToTemplate = array( 'GB' => 'hanco', 'default' => 'hanco', // NOTE: You can add more below ); $templateToLanguage = array( 'english' => 'hanco', 'romanian' => 'hanco', 'default' => 'hanco', // NOTE: You can add more below ); Do I need to make different templates for some reason for each language in the config.php? All other Geo files pristine from the latest 2.2.3 release. But really, zero locale change happening in private window as guest user ... WHMCS responds fine to logged in users, all correct that way for language, currency etc ... but that's not really the geoip doing it's thing is it? Are there any variables for the geolocation I can see? did the {debug} and $var_dumps on templates, all giving completely the wrong locale (forever thinks we're in the UK, no idea why, all en_GB in smarty, everything). No clue ... no errors in the activity logs (turned on hooks, sql, php) ... no console errors ... geolocation_hook.php loading fine, just that Geo having no effect. Suggestions where to look? Thanks!
  5. Mea culpa, mea maxima culpa. My bad 100%. Brian: correct. Me: not so bright. And of course, had fun with yet more jQuery oddness ... dataTables were still not loading ... various jQuery complaints about popover() functions not existing, and jQuery then generally not existing. Solution was to change the jQuery library from the WHMCS to the WordPress by default in WHMCS-Bridge ... but that trick I know I've done before and "gremlins in the night" seem to un-do things. Just curious -- when a new template comes out (that WHMCS is presumably using with their 8.x), is it a good idea to copy over the .js scripts into our "native" custom template? Are there other similar considerations with jQuery and with Javascript when the ground shifts with new WHMCS versions?
  6. Thanks so much Kian, most appreciated! All fixed. Was a hook to prevent scrolling to top when going to a hash link, and another whmcs bridge method not quite right. Cheers mate!
  7. Wait, it's a hidden class on the friggin dataTable tables :))) Why would the inline script just ... not wanna go suddenly? Looked in the browser, very few errors.
  8. I have tried changing out the theme, enabling/disabling several things ... But my poor old clientarea lists have stopped loading for some reason (despite the cheery "loading" gif). I can't imagine what I've done -- same behaviour in Six and Twenty-One ... although this seems to be a more /assets issue. Using WHMCS-Bridge, which reports (on page load) in the Debug Log: Debug Log 05 Jun 21 12:16:19 (0.32130400ms): Debug [C] Checking assets/img/clippy.svg 05 Jun 21 12:16:19 (0.31815900ms): Debug ajax1: js 05 Jun 21 12:16:19 (0.31400700ms): Debug 05 Jun 21 12:16:19 (0.31147400ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:19 (0.30855300ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:19 (0.30547200ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:19 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:19 (0.30219800ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:19 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:19 (0.28694000ms): Debug RAW data: 05 Jun 21 12:16:19 (0.28445900ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:19 (0.28194800ms): Debug Server Software: Apache 05 Jun 21 12:16:19 (0.27940300ms): Debug CURL call: https://hancoglobal.com/services/assets/img/clippy.svg with [] 05 Jun 21 12:16:19 (0.27693300ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:19 (0.27459200ms): Debug ajax 0 - {"ajax":"1","js":"assets\/img\/clippy.svg","ccce":"js"} 05 Jun 21 12:16:19 (0.26975800ms): Debug [URL 826] https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:16 (0.84854800ms): Debug [C] Checking assets/img/clippy.svg 05 Jun 21 12:16:16 (0.84593000ms): Debug ajax1: js 05 Jun 21 12:16:16 (0.84354200ms): Debug 05 Jun 21 12:16:16 (0.84164500ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:16 (0.83820100ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:16 (0.83616200ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:16 (0.83404400ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:16 (0.81979500ms): Debug RAW data: 05 Jun 21 12:16:16 (0.81713200ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:16 (0.81524000ms): Debug Server Software: Apache 05 Jun 21 12:16:16 (0.81252500ms): Debug CURL call: https://hancoglobal.com/services/assets/img/clippy.svg with [] 05 Jun 21 12:16:16 (0.81016500ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:16 (0.80838100ms): Debug ajax 0 - {"ajax":"1","js":"assets\/img\/clippy.svg","ccce":"js"} 05 Jun 21 12:16:16 (0.80509500ms): Debug [URL 166] https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:16 (0.38981800ms): Debug [C] Checking assets/js/dataTables.bootstrap.min.js 05 Jun 21 12:16:16 (0.38747100ms): Debug ajax1: js 05 Jun 21 12:16:16 (0.38551600ms): Debug 05 Jun 21 12:16:16 (0.38337200ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:16 (0.38090700ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:16 (0.37813100ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 1942\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:16 (0.37548800ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 1942\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:16 (0.36282600ms): Debug RAW data: 05 Jun 21 12:16:16 (0.35876700ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:16 (0.35710500ms): Debug Server Software: Apache 05 Jun 21 12:16:16 (0.35347300ms): Debug CURL call: https://hancoglobal.com/services/assets/js/dataTables.bootstrap.min.js with [] 05 Jun 21 12:16:16 (0.35140700ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/js/dataTables.bootstrap.min.js 05 Jun 21 12:16:16 (0.34930500ms): Debug ajax 0 - {"ajax":"1","js":"assets\/js\/dataTables.bootstrap.min.js","ccce":"js"} 05 Jun 21 12:16:16 (0.34642900ms): Debug [URL 662] https://hancoglobal.com/services/assets/js/dataTables.bootstrap.min.js 05 Jun 21 12:16:16 (0.00978700ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 78980\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:16 (0.00667800ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 78980\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:15 (0.98106800ms): Debug RAW data: 05 Jun 21 12:16:15 (0.97920700ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:15 (0.97721500ms): Debug Server Software: Apache 05 Jun 21 12:16:15 (0.97430700ms): Debug CURL call: https://hancoglobal.com/services/assets/js/jquery.dataTables.min.js with [] 05 Jun 21 12:16:15 (0.94744300ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/js/jquery.dataTables.min.js 05 Jun 21 12:16:15 (0.94588100ms): Debug ajax 0 - {"ajax":"1","js":"assets\/js\/jquery.dataTables.min.js","ccce":"js"} 05 Jun 21 12:16:15 (0.94345400ms): Debug [URL 956] https://hancoglobal.com/services/assets/js/jquery.dataTables.min.js 05 Jun 21 12:16:15 (0.23816600ms): Debug [C] Checking templates/hanco/js/scripts.min.js 05 Jun 21 12:16:15 (0.21620200ms): Debug ajax1: js 05 Jun 21 12:16:15 (0.21380700ms): Debug 05 Jun 21 12:16:15 (0.21179300ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:15 (0.21000400ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:15 (0.20814400ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 636556\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:15 (0.20579200ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 636556\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:15 (0.18943100ms): Debug RAW data: 05 Jun 21 12:16:15 (0.18746600ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:15 (0.18576000ms): Debug Server Software: Apache 05 Jun 21 12:16:15 (0.18366100ms): Debug CURL call: https://hancoglobal.com/services/templates/hanco/js/scripts.min.js?v=07f587 with [] 05 Jun 21 12:16:15 (0.18170500ms): Debug Not cached, processing file - https://hancoglobal.com/services/templates/hanco/js/scripts.min.js?v=07f587 05 Jun 21 12:16:15 (0.17989800ms): Debug ajax 0 - {"ajax":"1","js":"templates\/hanco\/js\/scripts.min.js?v=07f587","ccce":"js"} 05 Jun 21 12:16:15 (0.17728900ms): Debug [URL 465] https://hancoglobal.com/services/templates/hanco/js/scripts.min.js?v=07f587 05 Jun 21 12:16:14 (0.76249900ms): Debug [C] Checking templates/hanco/css/custom.css 05 Jun 21 12:16:14 (0.75922700ms): Debug ajax1: js 05 Jun 21 12:16:14 (0.75707000ms): Debug 05 Jun 21 12:16:14 (0.75494500ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:14 (0.75264900ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:14 (0.75028500ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:14 GMT\r\nServer: Apache\r\nLast-Modified: Sat, 05 Jun 2021 11:39:00 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 34159\r\nContent-Type: text\/css" 05 Jun 21 12:16:14 (0.74789600ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:14 GMT\r\nServer: Apache\r\nLast-Modified: Sat, 05 Jun 2021 11:39:00 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 34159\r\nContent-Type: text\/css" 05 Jun 21 12:16:14 (0.73038300ms): Debug RAW data: 05 Jun 21 12:16:14 (0.72882100ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:14 (0.72707900ms): Debug Server Software: Apache 05 Jun 21 12:16:14 (0.72476400ms): Debug CURL call: https://hancoglobal.com/services/templates/hanco/css/custom.css with [] 05 Jun 21 12:16:14 (0.72269200ms): Debug Not cached, processing file - https://hancoglobal.com/services/templates/hanco/css/custom.css 05 Jun 21 12:16:14 (0.72009000ms): Debug ajax 0 - {"ajax":"1","js":"templates\/hanco\/css\/custom.css","ccce":"js"} 05 Jun 21 12:16:14 (0.69477200ms): Debug [URL 588] https://hancoglobal.com/services/templates/hanco/css/custom.css 05 Jun 21 12:16:13 (0.28088300ms): Debug [529] Parser parsing pretty links completed. 05 Jun 21 12:16:13 (0.27896600ms): Debug 9 replacements done 05 Jun 21 12:16:13 (0.26494400ms): Debug Call process completed in 52 microseconds 05 Jun 21 12:16:13 (0.26325700ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:13 (0.26171700ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:12 GMT\r\nServer: Apache\r\nExpires: Thu, 19 Nov 1981 08:52:00 GMT\r\nCache-Control: no-store, no-cache, must-revalidate\r\nPragma: no-cache\r\nTransfer-Encoding: chunked\r\nContent-Type: text\/html; charset=utf-8" 05 Jun 21 12:16:13 (0.26001600ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:12 GMT\r\nServer: Apache\r\nExpires: Thu, 19 Nov 1981 08:52:00 GMT\r\nCache-Control: no-store, no-cache, must-revalidate\r\nPragma: no-cache\r\nTransfer-Encoding: chunked\r\nContent-Type: text\/html; charset=utf-8" 05 Jun 21 12:16:12 (0.75100500ms): Debug RAW data: 05 Jun 21 12:16:12 (0.74958100ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:12 (0.74777700ms): Debug Server Software: Apache 05 Jun 21 12:16:12 (0.74540100ms): Debug CURL call: https://hancoglobal.com/services/clientarea.php?action=quotes&ccce=clientarea&systpl=hanco with [] 05 Jun 21 12:16:12 (0.74364100ms): Debug Not cached, processing file - https://hancoglobal.com/services/clientarea.php?action=quotes&ccce=clientarea&systpl=hanco 05 Jun 21 12:16:12 (0.74116900ms): Debug [URL 868] https://hancoglobal.com/services/clientarea.php?action=quotes&ccce=clientarea&systpl=hanco 05 Jun 21 12:16:06 (0.42879600ms): Debug So looks like it is faithfully trying to do the dataTables stuff ... not sure why no data tables are appearing. 😥 Could someone point me in a direction to look? No idea what assets/img/clippy.svg is btw, or why it is so important :)) weird Thanks so much.
  9. Brian, you sir have gone above and beyond the call of duty! Hook works perfectly. Will consider limiting with template = or pagetitle = in the hook. What a relief that is -- with some of the terms/knowledgebase stuff, was getting to be a bit important to resolve. Yeah, that jQuery was definitely driving me to ask for help -- your solution is elegant and thanks for diving down into that -- was too deep for me! Added .offset().top - 177 just to accommodate the Wordpress header height. Works a treat now with something like "Full details in our Terms of Service" Cheers mate! D
  10. Yeah just saw alot of scrollTop methods etc in the scripts.js file, quite extensive really, assumed it was one of them. So link#bookmark is working fine on your Six? No scroll to top thing happening? Tested with both Six and Twenty-one -- identical behaviour for all templates when testing at https://hancoeuropa.com/solutions/knowledgebase/6/Feature-Development.html#initial-feature-development Goes to bookmark then jets back up to the top immediately. Entering in the address bar on the same address does go down to the anchor, but obviously would want that behaviour first time around. Smells like maybe a Bridge thing since all templates doing the same ... or Wordpress as u suggested; seems like such a simple thing to avoid circumventing, but apparently not. Sigh.
  11. oh duh. yeah, I almost did that. now i have! Didn't remember using the key= syntax for a while. Thanks!
  12. In configureproduct.tpl: <span class="primary-bg-color">{$LANG.orderadditionalrequiredinfo}<br><i><small>{lang key='orderForm.requiredField'}</small></i></span> changed to: <span class="primary-bg-color">{$LANG.orderadditionalrequiredinfo}<br><i><small>{$LANG.orderform.requiredfield}</small></i></span> and added: $_LANG['orderform']['requiredfield'] = "(Please complete)"; to the language phps. All good -- thanks for spotting that, dunno when THAT started happening! Cheers mate
  13. Hey hi -- I often need to give users a link like /index?m=TermsOfService#termtitle3 or /knowledgebase/6/Feature-Development.html#initial-feature-development (you know, because that is useful to the user to go to the right place in a document. 😇 ) And yes, the page loads, and goes to that paragraph correctly. And then .... ZOOOOM! It jets back up to the top of the page. Every time, every load. Why? I have seen some scrolling scripts here and there ... but how does one disable this on page load (or just forever and ever)? Thanks!
  14. Colleague noted last week this also is not happening on the new client registration form during the check-out process. Colleague is in sales and gets nervous when e-mails are not verified. Might try to find a dreaded Marketplace plug-in or something ...
  15. Brian, thanks -- you saved me ANOTHER hour of trying to isolate it! Most appreciated, as always 🙂 My close button working okay on my Frankenstein custom template. Several clients closed tickets, then of course (!) wanted to reopen them with a reply ... eh, sure the 8.2 won't be long! 😆😆😆 Was worried it was due to using WordPress jQuery library (due to using WHMCS-Bridge; otherwise, strangely, using the WHMCS jQuery, config options and view cart get screwy -- I don't envy the guy at i-Plugins at all ...)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated