[Contribution] SEO-G
#1041
Posted 17 December 2008, 04:54
Screen is just blank now.
Not sure where to go from here. After step 10, I get lost. Admin screen still works at this point. Nothing else is visible.
Ron
#1042
Posted 04 January 2009, 12:55
here's an example for the manufacturers in index.php
$filterlist_query = tep_db_query($filterlist_sql);
if (tep_db_num_rows($filterlist_query) > 1) {
echo tep_draw_form('filter', FILENAME_DEFAULT, 'get') . '<b>show:</b> ';
if (isset($HTTP_GET_VARS['manufacturers_id'])) {
echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);
$options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));
} else {
echo tep_draw_hidden_field('cPath', $cPath);
$options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));
}
echo tep_draw_hidden_field('sort', $_GET['sort']).(isset($_GET['list']) ? tep_draw_hidden_field('list', $_GET['list']) : '') . (isset($_GET['max']) ? tep_draw_hidden_field('max', $_GET['max']) : '');
?>
<select class="xdrop1" name="select2" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">
<option value="<? echo tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('filter_id','page', 'max', 'sort')) . ''); ?>">All Manufacturers</option>
<?
while ($filterlist = tep_db_fetch_array($filterlist_query)) {
?>
<option value="<? echo tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('filter_id','page', 'max', 'sort')) . 'filter_id='.$filterlist['id']); ?>" <?php if($HTTP_GET_VARS['filter_id'] == $filterlist['id'] ) {echo 'SELECTED';}else{ echo '';} ?>><? echo $filterlist['name']; ?></option>
<?
}
?>
</select>
<?
echo tep_hide_session_id() . '</form>' . "\n";
}
and for the manufacturers infobox (includes/boxes/manufacturers.php) on the column_left.php i used this (you should be able to find out where this goes in the file):
// Display a drop-down
$manufacturers_array = array();
if (MAX_MANUFACTURERS_LIST < 2) {
$manufacturers_array[] = array('id' => '', 'text' => PULL_DOWN_DEFAULT);
}
echo tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get');
?>
<select class="xdrop1" name="select3" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">
<option value="<? echo tep_href_link(FILENAME_DEFAULT); ?>">Please Select</option>
<?
while ($manufacturers = tep_db_fetch_array($manufacturers_query)) {
?>
<option value="<? echo tep_href_link(FILENAME_DEFAULT, 'manufacturers_id='.$manufacturers['manufacturers_id']); ?>" <?php if($HTTP_GET_VARS['manufacturers_id'] == $manufacturers['manufacturers_id'] ) {echo 'SELECTED';}else{ echo '';} ?>><? echo $manufacturers['manufacturers_name']; ?></option>
<?
}
?>
</select>
<?
}
?>
#1043
Posted 12 January 2009, 14:30
I tried to install SEO-G but unfortunatelly my site does't load after upload includes/functions/html_output.php.
If I copy
//-MS- SEO-G Added
$link = $g_seo_url->get_seo_url($link, $separator);
//-MS- SEO-G Added EOM
in the file my page doesn't work..
Do You have any idea?
Thanks,,
Zsolt
#1044
Posted 16 January 2009, 19:40
gombszorp, on Jan 12 2009, 03:30 PM, said:
I tried to install SEO-G but unfortunatelly my site does't load after upload includes/functions/html_output.php.
If I copy
//-MS- SEO-G Added
$link = $g_seo_url->get_seo_url($link, $separator);
//-MS- SEO-G Added EOM
in the file my page doesn't work..
Do You have any idea?
Thanks,,
Zsolt
recheck your .htaccess file that may be the problem cost your pages don't load
#1045
Posted 20 January 2009, 22:55
http://mysite.com/index.php?cPath=60&page=1&sort=2d
I owuld like the stuff after index.php to not be present as my website is showing up with multiple index pages.
can you please advise if this is at all possible.
Regards. Peter.
#1046
Posted 22 January 2009, 21:53
BarrySmith, on Jan 20 2009, 10:55 PM, said:
http://mysite.com/index.php?cPath=60&page=1&sort=2d
I owuld like the stuff after index.php to not be present as my website is showing up with multiple index pages.
can you please advise if this is at all possible.
Regards. Peter.
does anyone know how to resolve this issue?
Regards. Peter.
#1047
Posted 01 February 2009, 13:36
Parse error: syntax error, unexpected $end in /home/html/includes/application_top.php on line 514
the code of the file starts with
//-MS- SEO-G Added
if( !isset($g_seo_flag) || $g_seo_flag !== true) {
// start the timer for the page parse time log
define('PAGE_PARSE_START_TIME', microtime());
// set the level of error reporting
this error is because of unclosed if condition. (that i was asked to place while installation of SEO-G) but don't know where to put the ending paranthesis in application_top.php
plz help!
#1048
Posted 14 February 2009, 07:37
8thperson, on Feb 1 2009, 09:36 PM, said:
Parse error: syntax error, unexpected $end in /home/html/includes/application_top.php on line 514
the code of the file starts with
//-MS- SEO-G Added
if( !isset($g_seo_flag) || $g_seo_flag !== true) {
// start the timer for the page parse time log
define('PAGE_PARSE_START_TIME', microtime());
// set the level of error reporting
this error is because of unclosed if condition. (that i was asked to place while installation of SEO-G) but don't know where to put the ending paranthesis in application_top.php
plz help!
This is the correct code for the ending part.
//-MS- SEO URLs Support Added
require(DIR_WS_CLASSES . 'seo_url.php');
$g_seo_url = new seoURL;
//-MS- SEO URLs Support Added EOM
}
//-MS- SEO-G Added EOM
#1049
Posted 14 February 2009, 13:11
BarrySmith, on Jan 22 2009, 09:53 PM, said:
Regards. Peter.
If it helps my website url can be found here buy earplugs
#1050
Posted 20 February 2009, 00:45
Any ideas?
#1051
Posted 24 February 2009, 13:11
header('Location: ' . $g_relpath . SEO_DEFAULT_ERROR_REDIRECT);
i dont think this is a good idea but now whos online shows the current page i m on instead of cookie_usage.php
i also noticed if a bot is on the website , Last URL shows up ok but for a visitor the same cookie_usage.php
#1052
Posted 03 March 2009, 14:51
anabrolic, on Feb 24 2009, 01:11 PM, said:
header('Location: ' . $g_relpath . SEO_DEFAULT_ERROR_REDIRECT);
i dont think this is a good idea but now whos online shows the current page i m on instead of cookie_usage.php
i also noticed if a bot is on the website , Last URL shows up ok but for a visitor the same cookie_usage.php
After reading allot of posts, i'm asking anyone have this contribution working????
I try the Ultimate CEO URLs and SEO-G but i can't get none of those two contributions work properly... I Have allways error 404...
#1053
Posted 03 March 2009, 17:10
For Example:
If i have on product description something like
JBL GTO-937 - Colunas Coaxiais "GTO Series" de 3 Vias, 6x9"(16.0x23.0Cm), 300W
with SEO i currently have something like
jbl-gto-937-colunas-coaxiais---gto-series---de 3 vias--- ....html
So the characteres like " , ( ) à á ç ã ' are not translated or wrong translated at the moment, my language is portugues, so anyone can help placing this very usefull contribution working????
I Appretiate any help...
Best Regards
João Carrolo
KarTunes
#1054
Posted 04 March 2009, 13:42
Like all changes, i allways try to implement any changes in local mode, with EasyPHP 2.0b1 and only if it's working i publish all files online, so my question is, there is any limitation using EasyPHP 2.0b1 ??? I need to change any configuration???? Where i must change the configurations...
Anyone can help????
Best Regards
João Carrolo
#1055
Posted 04 March 2009, 18:50
KarTunes, on Mar 4 2009, 01:42 PM, said:
Like all changes, i allways try to implement any changes in local mode, with EasyPHP 2.0b1 and only if it's working i publish all files online, so my question is, there is any limitation using EasyPHP 2.0b1 ??? I need to change any configuration???? Where i must change the configurations...
Anyone can help????
Best Regards
João Carrolo
OK... I have the SEO URLs working in local mode... I have only one last question to see if anyone can help me...
The Category name is: Iluminação auto
I must have something similar to: http://127.0.0.1/loja-pt/iluminacao-auto-c-12.html
But i have with strange characters: http://127.0.0.1/loja-pt/iluminação-auto-c-12.html
It´s displaying properly on the web page but when i click i have that strange sintax, i know the problem it caused because special characters...
Any one can help on this last issue to get this working properly????
I appretiate any help
Best Regards
João Carrolo
KarTunes
#1056
Posted 13 March 2009, 13:08
Is there any fix to work SEO-G with Register Globals contrib?
#1057
Posted 30 March 2009, 19:53
Thanks
#1058
Posted 09 May 2009, 08:49
I have an artist listing and a record label listing, both are being converted by the contribution and in the report all the links are right. However when you click on the artist link, instead of going to the artist page. It just loads the normal index page.
Also is there a way to list the links without the .html as the url prefix.
thanks for any help.
here is the link to our test site http://testingsite.ntactrecords.com
thanks
alex
#1059
Posted 10 May 2009, 17:40
eyekandee, on May 9 2009, 08:49 AM, said:
I have an artist listing and a record label listing, both are being converted by the contribution and in the report all the links are right. However when you click on the artist link, instead of going to the artist page. It just loads the normal index page.
Also is there a way to list the links without the .html as the url prefix.
thanks for any help.
here is the link to our test site http://testingsite.ntactrecords.com
thanks
alex
I got the artists listing to redirect. I had some code in the application top that was affecting the redirect.
Now I got the .html prefix removed everything works, except none of the images are showing up.
Is there a solution to this.
cheers
#1060
Posted 15 May 2009, 08:24
It looks run all well, but...
I get:
http://www.mysite.com/myproduct.html ---------> perfect
when I get reviews...
http://www.mysite.com/product_reviews_myproduct.html ----> perfect
but when I clic next link for read reviews I get:
http://www.mysite.com/product_reviews_info...mp;reviews_id=3 ------> incorrect, dont work and i cant read review
http://www.mysite.com/product_reviews_info...mp;reviews_id=2 ------> incorrect, dont work and i cant read review
....
and I cant read reviews because link isnt correct... I read... author H... reviews H ...image product H.... or another letter.
Can you help me?????? THANKS!














