This topic is locked

Paypal template

3/30/2008 4:53:32 AM
PHPRunner General questions
N
nadimo author

Hello ,
Any one has a hint how the Paypal template is arranged ?. I mean how to insert the category and sub category links in the main page. In the main page when you build the site you see to the left the category and sub category hyper links with the number of items found in each subcategory - category , I tried to follow the list view but could not find any signs of those menus .
Any help is greatly appreciated.

nadimo.

J
Jane 3/31/2008

Hi,
check ListOnLoad event for main table. Menu with links is created in this event.

N
nadimo author 3/31/2008

Hi,

check ListOnLoad event for main table. Menu with links is created in this event.


Hi,

Thanks a lot for the feedback .I saw the code, yes; it is pretty impressive and intimidating. Could you please tell me where one can learn this code, is it PHP?? I don't see the <? Php tag.. What books can help one learn such a code.
Thanks in advance.
Nadimo

Sergey Kornilov admin 3/31/2008

Yes, this code is PHP.
php.net and phpbuilder.com are two good web sites to start.
You can also stop by your local bookstore and pick any PHP book for beginners.

N
nadimo author 4/1/2008

Thanks a lot.

I will follow your advise .
Can you please tell me how can I change the color of the links displayed from a loadonevent code in the list page? The gray color of the links is too light say I want to change it to dark .

Thanks .

nadimo.

J
Jane 4/2/2008

Hi,
you can change it adding style parameter to the <a> tag.

Here is a sample:

...

$message = "<a style=\"color: black;\" href=\"main_list.php?a=search&value=1&SearchFor=".$category."&SearchOption=Contains&SearchField=Category\">".$data["Category"]." (".$data["numbers"].")</a>
";

...