yanarasod Posted May 4, 2006 Share Posted May 4, 2006 not it shows but as i said before i works only for categories and not for all pages can you do something that the title works for every page. you can make it by defining the code to look for the title in navbar_head_title as you know navbar is there in every page, so that way i will get title for each page. example the navbar at the starting has "home" so the title will display home, when i move to category named suppose "cars" the navbar will have title as "cars" and so the title of that page will be as "cars" and if i have to contact us the navbar has contact us so the title will aslo be contact us and so on for every page. can you make something like that Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2006 Share Posted May 4, 2006 ok in the file include/modules/new_products.php near the end you will see $col ++; if ($col > 2) { $col = 0; $row ++; } } ok this is $col ++; // add a new colum if ($col > 2) { // how many product display per colum this is set to 3 right now # 0,1,2 = 3 $col = 0; // start over at 0 $row ++; // add a new row } } Thanks a lot for you reply :) Hm ok but i get a parse error if i add + signs to the rows, how would i go on about to get: 3 colums, and 12 rows ? Thanks again, your awsome Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted May 4, 2006 Share Posted May 4, 2006 Thanks a lot for you reply :) Hm ok but i get a parse error if i add + signs to the rows, how would i go on about to get: 3 colums, and 12 rows ? Thanks again, your awsome ok $row ++; // this adds 1 to the value of row // it is like saying $row=$row+1 $row +++; is wrong at the end of the day the code will be good Link to comment Share on other sites More sharing options...
yanarasod Posted May 4, 2006 Share Posted May 4, 2006 ok, leave title behind, i will have to forget that feature. Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2006 Share Posted May 4, 2006 ok $row ++; // this adds 1 to the value of row // it is like saying $row=$row+1 $row +++; is wrong Hmm im afraid i still dont get it :o $row=+1? I cant figure out the code to display more rows im afraid Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted May 4, 2006 Share Posted May 4, 2006 ok how many products do you want to display in total? at the end of the day the code will be good Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted May 4, 2006 Share Posted May 4, 2006 ok to update how many products you are going to show in the page go to your admin are , Configuration /Maximum Values look for New Products Module and change the value at the end of the day the code will be good Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2006 Share Posted May 4, 2006 ok how many products do you want to display in total? Three columns, and 8 rows. Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted May 4, 2006 Share Posted May 4, 2006 so set the New Products Module to 24 at the end of the day the code will be good Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2006 Share Posted May 4, 2006 oh, so thats where you set it :D Thanks a lot :) Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted May 5, 2006 Share Posted May 5, 2006 any time. I am glad that i was able to help at the end of the day the code will be good Link to comment Share on other sites More sharing options...
deliwasista Posted July 17, 2006 Share Posted July 17, 2006 :P Hey Moises - you rock, thanks for taking the time to post your replys here they were exactly what I was after too! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.