Newbie question: How to get menu on the left?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Newbie question: How to get menu on the left?

Post by Moozie »

Hello,

In fact I have 3 questions:

Question 1:
I managed to get the admin working. I set some articles and a site structure of 2 menu items. But when I check the frontend, I do not see a menu to navigate. I believe I have to code the HTML for the left column by hand. And I believe I have to put the php code in it to get the menu's... But how do I know the code needed to get these fancy menu's (or any menu)? Is there some example code that has a menu in it?

Question 2:
Do I understand correctly that I can not use images from the admin menu "file" as long as I don't have ImageMagick installed?

Question 3:
What is GhostScript for? I do not have that right now.

Thanx

Moozie
Last edited by Moozie on Thu 18. Dec 2003, 02:15, edited 1 time in total.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Q1:
No special PHP code is needed to create such menu. Just a replacement tag. Look here: http://www.phpwcms.de/index.php?tags or here http://www.phpwcms.de/forum/viewtopic.php?t=2 (scroll down to the English Part)

Q2:
That is true - no image support for the content type "image with text" and "images". But you can also use replacement tags (if ImageMagick is not available) - but then you should not manage images with the file manager of phpwcms. Many project site graphics are presented by replacement tags - e.g. non clickable.

Q3:
GhostScript is a PostScript Interpreter. If you upload PostScript-Files or PDF or AI files ImageMagick can create thumbnails of these formats.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

>>>Many project site graphics are presented by replacement tags - e.g. non clickable.

Can you explain how to use those replacement tags?
What do I choose in the article create menu: text & image? And what do I put as image tag then?
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Even if ImageMagick is not available you can do everything (apart from using automatic thumbnail creation and images through internal filemanager) in phpwcms. Create your article as you like. In the event you would paste an image think about how this should be rendered in the frontend (normal, left, right). Then upload the images you want to use to your webserver - the standard path for {IMAGE...} replacement tag is "picture". You can create new folders inside "picture" to get a better order. Then look how the image you would use is named and where it is stored. Paste the following {IMAGE:photo/myphoto.jpg} anywhere in your article text OR also in the template. phpwcms will then make the follwong when it renders the content in the frontend:
Ah - there is an image replacement. What is ist {IMAGE: -> means put in directly here -> and "photo/myphoto.jpg" means -> return the <img src="phpwcms_root_path/picture/photo/myphoto.jpg">. OK? Try it!!!

The navigation replacement tag should used within templates only.

There are more simple replacement tags planned.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply