Is there a plugin or an easy (semi-automated) way of adding "Next" and "Previous" links to a Redmine wiki page that is part of a sequence of pages (in my case, it's for a sequential tutorial)?
I guess the core problem here is that wiki's are not generally designed for making multi-page tutorials or am I missing something?
AFAIK there is no automagic way of doing this, there are to ways you could implement it,
Link directly
You could always link to a wiki page directly by it's name, like
[[Page_1]]
or decorate the page link with a description;
[[Page_1|< < Previous]]
Will show as < < Previous
Use Parent-Child relationships
On a newly created page, goto Rename and choose a parent Wiki page. That willl display a breadcrumb bar allowing backwards navigation. The page(s) will also show as child page(s) if you want to list all Wiki pages on Index By Title.
Reference: http://www.redmine.org/projects/redmine/wiki/RedmineWikis#Creating-sub-pages-parentchild-relationships
Related
I just started a new project on Contao 4 CMS and are a bit stunned by the absense of an easy "editor friendly" way to edit and manipulate the content.
Is there some kind of custom module which adds this "pagebuilder" feature as we know it from other cms systems like Wordpress or Drupal (with Paragraphs module)?
In Contao (all versions) the actual content of pages (i.e. page articles), news articles, events etc. is represented by so called "content elements". You do not need to enable anything in order to be able to create and edit content elements (assuming you have an administrator account - because editing can be restricted for non-admins, depending on the settings). See the manual to get an overview over content elements in general and which content element types are available by default.
Btw. you need to make sure that the "Articles" module is enabled for at least one section of your layout in your page layout's settings, in order to be able to create page articles and edit their content.
See also the Create the first start page article in the manual.
I was wondering which way would be the best for my following problem. and maybe sample on how to do it also
I have the following models: customer, music, books.
What I would like to do is when a customer wants to go into the edit page then automatically customer general information such as name, password show up! But on an other tab by pressing music which his another model then music information comes up in the same. Sorta like facebook and twitter edit page do it.
Now each of the form are rendered by the following code line at the moment
<%= render 'general'%>
but how do i include them in the link and should i just use javascript and toggle them or use ajax ??
Thanks
Well, this has little to do with Ajax, since all information you need aparently would already been loaded by you main customer object.
What i understand you want is something like the tabs javascript plugin of twitter bootstrap: http://twitter.github.com/bootstrap/javascript.html#tabs
You put the different content (music/books/etc) in different divs and when the tab is clicked, the content changes and the user gets a better experience.
Take a look at the link, it is super easy to set up this plugin on your project.
I'm brand new to rails, and have inherited an app I'm trying to make modifications to; it uses activeadmin - which seems nice, but is a bit opaque to me at the moment.
The show page - the page that shows a detailed, single record - doesn't seem to be generated by anything I can find. I found the file dealing with the list of all records, but can't find what's actually generating the details.
I need to add some custom info to this page that's not directly linked to the record in the database itself basically group of related resources.
What file am I looking for? Or do I need to create one somewhere? The listing page is in admin/users.rb
You want to edit admin/users.rb.
http://activeadmin.info/docs/6-show-screens.html
The above link documents how to customize the show page.
Im having difficulty moving forward with my app. The problems I face are:
App: Beat selling website.
I am looking to have a home page with a : Jquery photo slider, Social bar for (twitter,Facebook,youtube), a video box, an opt-in box, and a benefits box outlining 6 benefits of the company.
I want to have all the above elements on one page (home) but have an admin interface where I can Add new photos to the photo-slider by uploading, update the video box via youtube url, manage the form for opt in and have a list of all users that have opt-in and also for the benefits i would like to be able to administer the benefits, add new one and delete old one.
So the problem I face is: I understand I have to create a controller model and view for each module I want placed on the home page. Do I need to create a MVC called HOME too? I also plan to use partials so I can pull it all together then on the main HOME page. How do I display all the modules above on the one page for the user to see, Do I need to set up some sort relationship between each controller?
I should also mention I'm using user authentication so I will have the admin pages protected.
rails version 2.3.5,
ruby version 1.8.7,
Please if you can help out it would be much appreciated,
Thanks, Ian
You seem to be slightly confused with what views do. You don't need to create a view for each model unless you want to view them separately (i.e. only that model).
What you want to do in your case is to have a controller (such as HomeController) with an index action where you gather all the data you'll to show (models, etc). Then, in app/views/home/index you use your partials to show your data with something like
<%= render 'pictures/show_inline', :picture => #picture %>
Of course, you'll need a partial in app/views/pictures/_show_inline.html.erb that will display a picture like you want it (using the picture variable we call the partial with).
I have done stuff like this before, but I want to figure out the most efficient way of doing this. There is my scenario:
A user can search our site. Depending on that search they have a number of refinements they can make to the data. There are categories for different refinements. Each refinement is represented by a checkbox. The refinements might look like this:
Appliances:
Washer,
Dryer,
Dishwasher,
Microwave
Rooms:
Family,
Dining,
Bedroom,
Game
Each refinement has its own ID. The checkboxes are not ASPX controls. The HTML for the boxes is being built server side. I may want to change that, but not sure if it is going to matter.
When the page is posted back to, I am building the breadcrumbs for it and preselecting (checking) the refinements that were checked. The breadcrumbs are not clickable. However, I need to keep track of what may have been previously checked. So the breadcrumbs should look like this:
Washer, Dryer > Bedroom > Microwave
Each ">" represents a new refinement search. The user can unselect a refinement a remove the item from the breadcrumb list. So let's say they uncheck Dryer and Bedroom:
Washer > Microwave
I need some suggestions on how I should keep track of the refinements and building / rebuilding of the crumbs. TIA!
I don't think breadcrumbs are the right metaphor for this application. Breadcrumbs are a navigational aid, to show the path someone took to get where they are, such as:
Home -> My Account -> Profile -> Edit Preferences -> Change Address
Meaning that the user entered the site via the home page, clicked the My Account link, etc. etc. etc.
This user should be able to get back to the Profile page by clicking "Profile" in the breadcrumb trail.
I think what you really want for this application is a Shopping Basket metaphor, where all refinements are added to a list, and then the list can be displayed at the top of the page in a "My Refinements" area. Bonus points for making the items in the list selectable via CheckBoxes for an add/remove functionality.
Generally, once there's an established metaphor, you shouldn't use it for something else, as users get used to a standard way of doing things. ( I recall coming across sliders being used for a list selector and it was very confusing. Dev. should have stuck with the tried and true Dropdownlist)
I'm making this Community Wiki as I haven't actually answered the question.
Well, i ended up using some hidden input controls to keep track of checkbox states.