6 years ago
Topic

I'm built a list & search. Now I'm want to put a button to show a form in read only mode, just to view. Hom can I do that? Thank you.

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
4
Level 1

Where do you want to add this button? Normally you would just set redirection that is performed after save to the View or add some menu piinting to the article (this gve you view mode).

If you would like to add button to the form you can use Free button https://www.seblod.com/resources/extensions/plug-ins/button-free-field

6 years ago
3
Level 2

Ok, I've already created the list (List & Search). I put a Free Button. My questions:

1 - How can I create a view (a form just to view the record. Can't add, edit or delete)

2 - How can I configure the Free Button to open that view, on that record?

I use a custom content.

4229 Posts
Kadministrator
6 years ago
2
Level 3

You just need to configure the button, see manual liked in my previous post.

6 years ago
1
Level 4

I configured the Free Button. I choosed 'View' in the link and then I choosed the Menu Item. That's all.

The problem is that I get a 404 Error page. In the browser link I have:

...index.php/pages/29-2017-06-07-11-52-22

That date+hour is the article's title. All my articles, in my custom content, get the date+hour as the title. Why? How can I change that?

I'm new to Seblod. I viewed several tutorials in Youtube, etc. before post here, but I didn't find the solution for my problem.

Thank you again.

4229 Posts
Kadministrator
6 years ago
0
Level 5

On list&search try using normal text field with link applied to it. There you need to specify Menu that will get used for the links, if you don't already have one, create a hidden menu to com_content top category as Seblod view is actually displayed inside com_content.

To avoid dates used as titles add Article title field to your content type, if there is none Joomla fills the void with date.

6 years ago
4
Level 1

Ok, I did that. Add a field to store the article title. But I get the same 404 error page. I created a menu item just to show a single article (of my seblod content), and I get the same 404 error page???  What I am doing wrong?

4229 Posts
Kadministrator
6 years ago
3
Level 2

Did you activate sef rewriting , but you forgot to rename htaccess.txt to .htaccess?

6 years ago
2
Level 3

No, I have sef rewriting avtivated and the .htaccess file, but the error is still the same.

Maybe I must add some article fields on my content? Right now I just have the article title.

4229 Posts
Kadministrator
6 years ago
1
Level 4

I would say something is configured wrong on your site - are normal Joomla articles or any other Joomla menus working?

6 years ago
0
Level 5

I downloaded my app, and then installed it on a new default Joomla installation, and I'm getting the same error (404 article not found).

6 years ago
1
Level 1

Ok, I figured out the problem. I must choose a category for each content I have created. I did that on administration, and the 'View' button starts to work.

Thank you.

4229 Posts
Kadministrator
6 years ago
0
Level 2

Good to know, might be useful for someone else having the same problem, thnx.

Get a Book for SEBLOD