D
D
dk-web2015-11-15 01:37:37
PHP
dk-web, 2015-11-15 01:37:37

How to add information to the site?

That's what I encountered ... as such, the admin panel was not enough. Joomla somehow turns out).
For your own projects, it's not a question ... but on the side? I kind of now begin to understand what site support means ...
But nevertheless, the question arose.
There is an initially set structure of information on the object - let's say 10 indicators.
Date: 05.10.2008
Owner: Ivanov
, etc.
Accordingly, each object is a row in the table, and its indicator is a table field.
But what if the site owner then adds another indicator?
How is it implemented?
Or from a different angle.
There is a summary table for the company on the site - the object seems to be one.
Again, it's very simple:
Name: LLC "Roga"
E-mail: [email protected]
Phone/fax: 890000199
890992323/// and from a new line - do wysiwyg for this field? after all, they will not write manually,
although here you can make a transfer to css ...
and then they will need to add a new field?
How in that case?
Do it simply in the
page_content id table and let them draw through the wysiwyg editor? but then they will draw something like that...
or
id title content
1 Name LLC "Roga"
2 E-mail ...
and then, of course, just add information... but you lose "management" by indexes.. id is not the best - $obj ->street is no longer output.
It is my inquisitive mind that initially sees that such a situation will arise ... too little initial data is provided.
P.s. sorry for the confusion..
UPDATE: what is the fundamental difference between a simple CMS and an admin panel a la CRUD+Datatables?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2015-11-15
@saboteur_kiev

People make CMS with free templates in which you can specify the output of the necessary information through variables / blocks.
Added an object or parameter, corrected the template.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question