Jump to content

several questions before I can start


roelof
 Share

Recommended Posts

Hello,

I have read a lot how Processwire works but before I can start converting my site to a Processwire site I have still some questions.

1) How can I take care that 1 fixed article will be on the FrontPage.

2)  How can I take care that there will be 1 article a page on my site.

3) How can I insert images on articles on a particular page.

4)  I have to import my articles from the old site made by symphony cms to my processwire site. I can copy them 1 by 1 but that will take me months to work. Which options do I have.

Roelof

Link to comment
Share on other sites

Hi roelof,

Before you start you should also install ProcessWire and do some stuff with it, e.g. try things out: Create some templates / pages.

Try to understand how selectors work. Then you can easily answer the questions yourself.

Nevertheless, try to give you some guidance:

1) In home template: $articleBody = $pages->get(ID_FROM_ARTICLE)->body;

2) Not sure here, normaly one page = one article, so assign a body field to the template of that page?

3) Add an 'image Field' to the template. Images uploaded to a page can then also be inserted into richtext.

4) I'd export them from the old database and create a csv file. Then you can use this module from ryan to import them into Pw.

Cheers

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...