Delaeter G�ric wrote:
Actually JahiaPage objects have a counter associated with them, that you can access through the JahiaPage.getCounter() method. Note that this counter is only updated on non-cache hits.Hello Everybody I'm new to jahia and i have a few questions.
Is there any way to add a page counter (don't know the right english word, sorry ) ?
Add a page couter in each page and have a page with all the statistics.
Secondly, i want to know if there is a way to "inject" data directly to the jahia tables.Well I wouldn't recommend this, especially if you are a novice Jahia user. Basically Jahia uses a lot of object caches for the content stored in the database. Now if you are populating the tables while Jahia is not running this is another problem altogether. You would indeed have to reindex the whole content, but you would also need to understand very well the object model, including versioning, workflow states and multilingual issues in order to be sure you are not corrupting anything.
I mean i make a template for a page that i want, and i insert all the rows in the jahia tables directly ... ? Is there any side effect ? (re index for the search engine or things like that ... )
We have an introduction to the object model in the Template Developer Guide, but it doesn't cover all the functionalites and it doesn't map to the database. Most users therefore go through the API instead to do special operations.
Regards, Serge Huber.
