Hi,
When we click on edit entries link in left navigation, all the entries for that author are displayed.When we click on a category link(X) of any particular entry(in the format Published by AAA in X), all the entries in that category are shown.
Here for each entry theres a small box on the right top corner in the format:
[Entry Tilte Posted by Author in Cat1,Cat2.. at Time
Edit Entry
Comments
Trackbacks]
In which file to look for the above box, because i want to know how the categories are displayed in that box.(sometimes these categories are not displayed i.e cat1, cat2)
Also when i click on comments link that box, Add comment form is shown for that entry and on the right top corner we have the same box and [posted by A in ,] categories is shown blank.where to look for this in code.
I have changed category logic and not using Serendipity_category table.
pls help me out.
Thanks.
manoj.
Edit Entries LInk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Edit Entries LInk
Hi!
You can see that "box" inside the 'entries.tpl' template file!
Best regards,
Garvin[/list]
You can see that "box" inside the 'entries.tpl' template file!
Best regards,
Garvin[/list]
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
how data is coming to entries.tpl
hi,
Thanks for the help. But still iam unable to solve the problem.
When i click on the category link(Cat1) in [Published by AA in Cat1] in edit entries section , all the entries in Cat1 are shown and even the box in top right corner for each entry is properly displayed even Published by AA in cat1, cat2 at xx:yy is shown correctly in the box. But the problem comes when i click on the comments link in that box.
when i click on comments link the add comment form is shown but in the box[ Published By AA in ] is shown the categories are not shown. why is this happening because in the earlier screen it was showing all in that box.
Also in entries.tpl from where is $entries getting values?i mean how is $entries assigned values. where exactly is entries.tpl called for my problem. when i print $entries.categories it prints as Array. how to print individual values in array?
sorry for such a long list of doubts.
thanks.
manoj.
Thanks for the help. But still iam unable to solve the problem.
When i click on the category link(Cat1) in [Published by AA in Cat1] in edit entries section , all the entries in Cat1 are shown and even the box in top right corner for each entry is properly displayed even Published by AA in cat1, cat2 at xx:yy is shown correctly in the box. But the problem comes when i click on the comments link in that box.
when i click on comments link the add comment form is shown but in the box[ Published By AA in ] is shown the categories are not shown. why is this happening because in the earlier screen it was showing all in that box.
Also in entries.tpl from where is $entries getting values?i mean how is $entries assigned values. where exactly is entries.tpl called for my problem. when i print $entries.categories it prints as Array. how to print individual values in array?
sorry for such a long list of doubts.
thanks.
manoj.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: how data is coming to entries.tpl
Hi!
If you tell us your URL, we could have a look at this?
$entries is getting its values from the serendipity_fetchEntries() function that is called in include/genpage.inc.php.
You can use code like {$entries|@print_r} in your smarty template to see the whole array, but you need to set "$serendipity['smarty']->security = false" in your templates config.inc.php file first to be able to call print_r.
HTH,
Garvin
If you tell us your URL, we could have a look at this?
$entries is getting its values from the serendipity_fetchEntries() function that is called in include/genpage.inc.php.
You can use code like {$entries|@print_r} in your smarty template to see the whole array, but you need to set "$serendipity['smarty']->security = false" in your templates config.inc.php file first to be able to call print_r.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
URL
hi garvin,
I have installed serendipity on my local machine.
all the urls start with http://localhost.
I dont know if u can access if i give u a url because we have firewalls and our network has restricted access.
If u feel u can access then let me know i'll give u the URL.Thats not a problm.
Thanks.
manoj.
I have installed serendipity on my local machine.
all the urls start with http://localhost.
I dont know if u can access if i give u a url because we have firewalls and our network has restricted access.
If u feel u can access then let me know i'll give u the URL.Thats not a problm.
Thanks.
manoj.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: URL
Hi!
Hm, that's a problem. I can of course only access internet URLs, not intranet ones.
Maybe you can make screenshots of your problem, or put up a public blog so that we can see your problem?
Best regards,
Garvin
Hm, that's a problem. I can of course only access internet URLs, not intranet ones.
Maybe you can make screenshots of your problem, or put up a public blog so that we can see your problem?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/