need to pipe between menu items in drupal (non-css) - drupal-6

(Newbie)
How can I locate the PHP code which generates html for the menu in drupal 6?
Is there a hook that I could customize?
I wish to add pipe symbol between the items.
I can add this using CSS but that is not what I want.
Please suggest.
Thanks,
Vikas

You probably want to write your own theme_menu_item().
It is documented here: http://api.drupal.org/api/drupal/includes--menu.inc/function/theme_menu_item/6

Related

How to show list content in Twig Drupal 8 without views

Sorry, I'm newbie in Drupal 8.
Is there any ways if we want to show content using Twig template in Drupal 8.
I have 2 kind of content let's say:
Article Content
Slider Content
I want to show them in front of my Drupal 8 page.
I see another suggestion is using views, but can I show them via Twig template?
Thanks for help.
Yes, you can. You have to create your own controller or custom plugin block to loads pages that you want and prints it in twig. Or you have to prepare your nodes variable using hook_preprocess_hook and then it will be able using twig.
doc #here

How to make multiple menues in Orchard CMS

I would like to make a content based sub navigation on some pages in Orchard 1.4, but i don't know how. Can I achieve this by using Advanced Menu Module or any other module?
Or is there a way to get this done without a module?
Thanks
You need a module. (some random text to make SO happy)

How to include custom CSS or Javascript on a Content Item in Orchard

Sometimes I want to add some custom CSS or Javascript to a page but the HTML editor doesn't handle this gracefully, even when using text dialog.
I could use an alternate view but then I have to upload the view file to my host every edit.
Any ideas?
Ok, I found a module (Vandelay.Classy) that does exactly this.
http://orchardproject.net/gallery/List/Modules/Orchard.Module.Vandelay.Classy

drupal 6 multitab with ajax content

I just want to show multitab on each node page. and want to pass node id to each tab. each tab should load content either via ajax if noscript it should load via url
Please help me with this any tutorial or reference
Thanks,
Edvin
Create a View that use the node id as an argument. Then you may use Panels to display your view at the desired nod, using tabs style.
Let me know if that was enough to solve your problem. :)
this module will do exact thing , though its more like an api, you have to create link using the function this modules provides .For example
l_ajax("add page", "node/add/page", "#content-content")
OR
<a class="ajax_link" href="node/add/page" rel="#content-content">Add page</a>

Use image buttons for pagination - Drupal

The default pagination in drupal is great, but the text links are used
<<first <previous 6 7 next> last>>
But I need to use forward and backward image buttons instead of text links. Can anyone point me in the right direction?
Depending on what portions of the pager you're interested in replacing with images, you may be able to use CSS background images, without having to override the theme function. However, in the default pager output, not all the links may have unique classes.
That said, if you're using Drupal's default pager, you can override the theme_pager function to add your image links.
If you're using the Views module, you may be using a different theming function. When in doubt, you should be able to use the Theme Developer module to find which function or template file is outputting the part of the page you're interested in theming. Theme Developer will also tell you what suggestions you can use to override the output.

Resources