Forums / General / Totally confused and stuck

Totally confused and stuck

Author Message

David Barker

Friday 25 July 2003 2:53:53 pm

Hey,
I'm really excited that I got eZpublish 3 working on my site but I'm totally stuck!! I feel really bad for asking but I've looked at the SDK and all the documentation etc. and I'm totally baffled!

I installed the demo site and it works but I don't seem to get how the stuff in the admin corresponds to the actual site - for example:
* Why does the 'News' page show up automatically in the site as the first page?

* How is the News page set to show the summaries of the news articles?

* Where are the templates for each section set? For example, how would I change the template of the News page?

I'm seriously totally confused :( I just want to know the 'basics' so I can get started. Another thing... in the first page of the admin where the folders are listed, what do they represent? Help!!!

Thanks to anyone that can help!!!

Dave

Robin Sørlie

Saturday 26 July 2003 1:15:17 am

* Why does the 'News' page show up automatically in the site as the first page?
-----------------------------------------
This you can configure in settings/site.ini

Under [SiteSettings] you find:
# Which page to show when the root index (/) is accessed
IndexPage=/content/view/sitemap/2/

change it to your destination.

* How is the News page set to show the summaries of the news articles?
---------------------------------------
I assume you mean teh summary on frontpage which you click on "read more.." to .... yeah, read more:)

If you go to the admin site you can see that each news is an article. Under settings in admin you can see the classes. Find article in classes, and what ID it has. In the demo, article has ID 2.

Under design/demo/override/templates/node/view/ you can find the templates for each class.

line_class_2.tpl is the file you are looking for. line_class is in other words the link for full page. The full page is full_class_2.tpl. line_class links to full class. The number _2 points to the class, in this case articles.

Hope this is understandable, if not I will try and give you more step by step.

* Where are the templates for each section set? For example, how would I change the template of the News page?
---------------------------------
in design/demo/override/templates/

pagelayout_section_(number).tpl

(number) is the section number wich you find in admin.

Another thing... in the first page of the admin where the folders are listed, what do they represent? Help!!!
------------------------------------
You see a tree view of your website. Try to imagine it like your windows explorer. Go to "Frontpage" (top left), and you can see the folders in "root".

-Robin

edit:typo's (a lot, and still some left :) )

David Barker

Saturday 26 July 2003 2:52:33 am

Hey! Thanks for the reply!!!
I'm still really confused though lol.

How about this... if I wanted to start a site from scratch... with a few different sections where each one had a different 'title image' with a different colour background, how would I do it? It would have a text link to each different section at the top.

Then how do I put my content in it? (one section I want to be a forum, the other a product centre etc).

Thanks again!

Dave

liu spider

Saturday 26 July 2003 3:45:16 am

You should read the SDK, the tutorials are what you need to read first!

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

David Barker

Saturday 26 July 2003 5:29:14 am

I'm sorry but I just cannot figure it out - I've just been through the tutorial and manual but I still am totally lost. I made a folder in 'Root Folder' called 'Sports' and put an article in there, but when I go to index.php, the admin page just loads up, not the sport section :(

Dave

David Barker

Saturday 26 July 2003 12:18:07 pm

Hi,
I just installed the demo site again and changed the 'indexpage' in site.ini to this...

# Which page to show when the root index (/) is accessed
IndexPage=/content/view/sitemap/4/

But it still shows the news pages when you open index.php!

Please help... I'm really close to leaving eZpublish (even though it will do exactly what I need) because it's not that easy.

Dave

Jerry Jalava

Sunday 27 July 2003 4:56:40 am

Hi Dave,

You should try to empty your cache.
Goto your ezpublish root folder in shell and type "./bin/shell/clearcache.sh --clear-all"... That should do the trick. And if you don't have shell access, you can also clear your cache from the admin site. It was somewhere in "setup"-tab if I remember right...

Hope this helps,
Jerry

eZ debug

Timing: Jan 18 2025 05:20:36
Script start
Timing: Jan 18 2025 05:20:36
Module start 'content'
Timing: Jan 18 2025 05:20:36
Module end 'content'
Timing: Jan 18 2025 05:20:36
Script end

Main resources:

Total runtime0.1793 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.1328180.8438
Module start 'content' 0.00720.0054 769.9766101.8359
Module end 'content' 0.01260.1666 871.8125531.0234
Script end 0.1792  1,402.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00362.0148200.0002
Check MTime0.00140.7800200.0001
Mysql Total
Database connection0.00080.425610.0008
Mysqli_queries0.132373.81861410.0009
Looping result0.00150.83281390.0000
Template Total0.166192.610.1661
Template load0.00100.557910.0010
Template processing0.165192.084410.1651
Override
Cache load0.00070.416210.0007
Sytem overhead
Fetch class attribute can translate value0.00060.332010.0006
XML
Image XML parsing0.00030.194210.0003
General
dbfile0.00281.5625200.0001
String conversion0.00000.002930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs