Caching

jupiterchild - July 28, 2008 - 22:19
Project:Node Browser
Version:5.x-2.5
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Since issue http://drupal.org/node/285757 is marked as fixed (thanks, it fixed the issue I was experiencing) I have created another caching issue.

I find if I make changes to any existing Node Browser pages, the changes do not show until I delete the Drupal cache. Since I am rather ignorant of how Drupal caching works maybe this is unavoidable, but I thought raising this issue may help other users of this great module who may be experiencing similar problems.

#1

himagarwal - July 29, 2008 - 15:32

JupiterChild, where you able to make a directory similar to http://www.germany-travel-guide.info/en/directory/ with the help of node browse + node link?

#2

jupiterchild - July 29, 2008 - 18:08

himagarwal

I figured out how to use Node Link in a very simple way to create URL links to suit my own requirements though I do not have enough coding knowledge to theme the output in Node Browser to point to external links rather than nodes as suggested by dortik here http://drupal.org/node/284304#comment-927842.

Looking at the Node Browser module code a great deal of the output is themeable in template.tpl and if you use the two column code as suggested by dortik here http://drupal.org/node/284766#comment-937284 then yes you can make a directory similar to the http://www.germany-travel-guide.info/en/directory/ though you need to tweek Node Browser output settings for 'Sub Terms' under 'Navigation by Category Settings' to emulate the demo.

I had already created a large number of external links using CCK + Link together with taxonomy and this works much the same as Node Links. I have two test directorys one using Node Browser + Node Link and one using Node Browser + CCK + Link. At the moment I prefer using CCK + Link because I have found Node Link occasionally will not verify an external link even though I can open the link in another tab. Will post this as an issue at Node Link.

I had been waiting for the caching issue to be fixed so I could play around with Node Browser some more. I am very impressed with Node Browser since it has made displaying taxonomies very easy (I was using Views to achieve a similar result) though I still need to figure out how to theme the output better. How I wish I was a natural born coder!

#3

jupiterchild - July 29, 2008 - 18:45

himagarwal

I have just re-instated the two column template.tpl code on my site as shown at http://drupal.org/node/284766#comment-937284 though I have tweeked the width settings.

This link is using Node Browser + CCK + Link http://neiljacklin.com/cms/links

This link is using Node Browser + Node Links http://neiljacklin.com/cms/directory

My Node Browser settings are:

Navigation = By category
Node Type = My custom content type
Vocabularies = Suitable vocabulary
Terms of = Unchecked since I wish to use the full vocabulary
Order nodes by =Title
Node Limit = -1
Node View = Link

Navigation by Category Settings
Hide empty terms = Unchecked
Sub Terms Depth = 1
Sub Terms Limit = 0
Sub Term Nodes Limit = 0

I haven't played around with Nice Path settings yet

The output is 'as is' other than the template overide for 2 columns

BTW the items listed under the 'Categories' menu on my site are also using Node Browser pages.

#4

himagarwal - July 29, 2008 - 19:45

Both of them looks quite similar and I don't see any difference.

Since, the work of "node link" type can be achieved easily by CCK+link field (as you have done in links), I think we are missing some main feature of node link? And why voab. "terms" are not listed in the last link pages of your website?

I added both phptemplate function but seems nothing has changed in my website.........

JupiterChild, please see the post that I made at http://drupal.org/node/288001#comment-941208 . Since I was going to write the similar things here, I though it would better if I just add my previous post link....
..
I've sent you the link to my website directory using your website contact form....:-)

#5

jupiterchild - July 29, 2008 - 20:21

himagarwal

Have posted a few notes regarding 'Node Link' here:

http://drupal.org/node/288001#comment-941637

BTW re: the title of this issue. I am still having to delete the cache in order for any changes to Node Browser pages to show. This may be why you are not seeing 2 columns after changing template.tpl. I had to delete the cache for the template.tpl changes to show.

I agree we are probably not using (in my case through not understanding) some of the functionality of Node Link. I am sure it probably offers a lot more than CCK + Link does, but in my case I need to keep things simple to prevent my head from exploding!.

#6

himagarwal - August 1, 2008 - 07:51

will add configuration of node browser in details.....soon

#7

jupiterchild - July 30, 2008 - 07:12

#6
Activate Menu Link: Adds a menu entry for the Node Browser page to the Drupal menu system.

#8

Operations - August 18, 2008 - 15:31

Using this http://drupal.org/node/284766#comment-937284 to display 2 columns has a problem:

Suppose that we have 10 main terms and one of these terms has more than 10 subterms (lets say 11). than, we will not be able to display 2 columns.

Is there any way to solve this?

 
 

Drupal is a registered trademark of Dries Buytaert.