Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Bread crumbs anybody?
-
- Rank: Freshman
- Registered: Aug 29, 2002
- Last visit: Nov 03, 2009
- Posts: 85
I need cut and paste code for display user Content pages visits to News and to Content pages itself. Or is there a better way to incorporate this functionality into Zikula? Thanks for the help. -
- Rank: Freshman
- Registered: Aug 29, 2002
- Last visit: Nov 03, 2009
- Posts: 85
I take it that no one can answer this "riddle"? Bread crumb functionality may be a good idea for the next version of Zikula, especially fOr News and Content, even PageMaster, and others. thanks -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
Hi,
Sorry no one got back to you about this. Breadcrumb functionality is difficult in a system like Zikula, as every module has different ways of storing and fetching data. However, if you want to achieve the effect for just a few modules, you can easily create a theme plugin with a bit of PHP code that will:
1. Get the current module display name, and output it
2. Using the module API, Get the item category (if categories are in use)
3. Get the item name, or any other information (for example, News year, month, day)
Mateo can probably give a short section of code that will do this for news. I have used content, but I'm not familiar with the APIs so I can't give code off the top of my head, but it's probably easier than the News version of the code.
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
What would you like to display in the breadcrumb, that is also the question. For News, there is only 1 level or maybe 2 if you count the categories as well.
A breadcrumb in for example a webstore makes a lot of sense.
In BlankTheme we have tried a breadcrumb, but it all depends on what you want ot show.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Yeah
Breadcrumbs are very relative to the needs of each website, and Zikula is too flexible that we can have many combinations of the modules in use. Breadcrumbs by default would be like:
Startpage > ModName > Category > Item name/title
but sometimes websites needs:
Startpage > Section (Category) > Service (Modname) > Item name/title
so, what to do you need?
i didn't get the idea in the first post...
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Freshman
- Registered: Aug 29, 2002
- Last visit: Nov 03, 2009
- Posts: 85
Content is able to create links to subpages but each subpage does not create a link back to previous pages; I suppose one could use the back button but what the heck were using Zikula aren't we?. If a block of News articles are inserted into the content pages once a user "clicks out" of the content page a user cannot return to the content pages they just left. One then needs to click thru a series of links to the Content page to continue reading the article they just left. I hope this makes sense. thanks for the help. -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Well
late answer but better that no answer.
That's a very specific and hard issue
due to the flexibility of Zikula and a fixed content structure like that.
Two modules involved, and it's hard to know which Content page refers which article or it's "easy"? mmm, i guess that a custom plugin checking the HTTP_REFERER to check if there's a previous Content page, and building the custom bread crumbs for your site could work...
A visible study case or a URL of that site to see the structure of the content and articles may help to see how to implement this.
Greetings
--
- Mateo T. -
Mis principios... son mis fines
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
