Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Static page simulation. Search engine improvements

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 03-17-2005, 07:33 PM
 
fernando fernando is offline
 

Member
  
Join Date: Oct 2004
Posts: 29
 

Default

Quote:
Originally Posted by Moza
This is the code that I am using:

Please, use the latest version of the MOD:

http://forum.x-cart.com/viewtopic.php?p=80454#80454

Let me know how it went!
__________________
Fernando
Sorry, I\'m not using x-cart anymore, so I am unable to reply to enquiries about modules. Thank you.
Reply With Quote
  #42  
Old 03-17-2005, 07:41 PM
 
moza moza is offline
 

Member
  
Join Date: Apr 2003
Location: Australia
Posts: 22
 

Default

Quote:
Originally Posted by fernando
Quote:
Originally Posted by Moza
This is the code that I am using:

Please, use the latest version of the MOD:

http://forum.x-cart.com/viewtopic.php?p=80454#80454

Let me know how it went!

Sorry, I forgot to say that I also used this code as well. There are 3 different version in this post and I tried all of them and same error on same line that I mentioned.
__________________
x-cart 3.5
Reply With Quote
  #43  
Old 03-17-2005, 08:04 PM
 
moza moza is offline
 

Member
  
Join Date: Apr 2003
Location: Australia
Posts: 22
 

Default

Quote:
Originally Posted by mrbiggles
This is my code and it seems to work for me

Code:
<?php require "./auth.php"; require $xcart_dir."/include/categories.php"; $qry = "SELECT * FROM " . $sql_tbl["products"] . " where forsale='Y' order by product"; $result = db_query($qry); $products = array(); while ($result_row = db_fetch_array($result)) { $products[] = $result_row; } $smarty->assign("main","SEO_listing"); $smarty->assign("products",$products); func_display("customer/home.tpl", $smarty); ?>

Regards Adam

I tried this code and got same error :
Code:
Parse error: parse error, unexpected T_VARIABLE in /Applications/MAMP/htdocs/test_001/xcart_412/customer/listing.php on line 12
__________________
x-cart 3.5
Reply With Quote
  #44  
Old 03-17-2005, 08:04 PM
 
fernando fernando is offline
 

Member
  
Join Date: Oct 2004
Posts: 29
 

Default

Could you please copy your code and PM it to me? I'll take a look at it and let you know if I see something off.
__________________
Fernando
Sorry, I\'m not using x-cart anymore, so I am unable to reply to enquiries about modules. Thank you.
Reply With Quote
  #45  
Old 03-17-2005, 08:16 PM
 
moza moza is offline
 

Member
  
Join Date: Apr 2003
Location: Australia
Posts: 22
 

Default

The only thing that I didn't use here is the change in .htaccess file, so I type the url like this:

http://localhost/test_001/xcart_412/customer/SEO_listing.php

Base on what you said it should work this way, but I get this ERROR:

Parse error: parse error, unexpected T_VARIABLE in /Applications/MAMP/htdocs/test_001/xcart_412/customer/SEO_listing.php on line 12
__________________
x-cart 3.5
Reply With Quote
  #46  
Old 06-27-2005, 09:32 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Can anyone tell me if this works in 4.0.14? I had this working in v3 without problem. I finally got it going with this version; however, the page it generates has broken up images, and I noticied it adds two extra: -- in the url, but I'm not sure how to fix that. Any advice is greatly appreciated. Also, I used every possible combination on here, lol. Thanks.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #47  
Old 03-12-2007, 02:06 AM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 480
 

Default Re: Static page simulation. Search engine improvements

Quote:
Originally Posted by Gijs
I don't know what a hidden link is

In CSS you could do the following and ... I hope this is not what you call a hiddenlink
Code:
.HiddenUrl { COLOR: #fbf6ce; TEXT-DECORATION: none; } .HiddenUrl:link { COLOR: #fbf6ce; TEXT-DECORATION: none; } .HiddenUrl:visited { COLOR: #fbf6ce; TEXT-DECORATION: none; } .HiddenUrl:hover { COLOR: #fbf6ce; TEXT-DECORATION: none; } .HiddenUrl:active { COLOR: #fbf6ce; TEXT-DECORATION: none;

Match COLOR to the background colour of where you put the hyperlink (f.e. in bottom.tpl)
When hoovering you'll notice the "hand cursor" showing up for the rest it will be invisible.

<a class="HiddenUrl" href="mycatalog.html>Catalog</a>

Careful!!!

See http://forum.x-cart.com/showthread.php?p=164373

Google will take a site down from their listing if using hidden text.
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:59 PM.

   

 
X-Cart forums © 2001-2020