News CP problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mshaker
Posts: 19
Joined: Fri 20. Jun 2008, 11:13

News CP problem

Post by mshaker »

I have an article with with two news content parts. Each CP has its own Template and pulls different News Articles based on their TAGS. The separate Templates are used to format the different News Articles individually. The listing page works as expected, however, the problem that occurs is that when clicking the newsdetail link, the detail page shows the article two times. Any thoughts on how to get around this?
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: News CP problem

Post by Oliver Georgi »

You must link to another detail page.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
mshaker
Posts: 19
Joined: Fri 20. Jun 2008, 11:13

Re: News CP problem

Post by mshaker »

I sorry but I don't understand your meaning. How do I link to another page. Do I use form field in, the CP, article or do I use tags?
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: News CP problem

Post by Oliver Georgi »

Have a look in the news CP - there you have fields for other targets. Try to play with it and look at the resulting links.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
zuker
Posts: 80
Joined: Fri 18. May 2007, 17:13
Location: Lithuania

Re: News CP problem

Post by zuker »

Hi,

my problem with News CP is that the listing page works as expected, but the problem that occurs is that after clicking the newsdetail link I get index page of my website, not the detail page. Any suggestions what kind of problem it can be (missing file after installation, db problem )?

Donatas
٩(͡๏̯͡๏)۶
Mobius
Posts: 39
Joined: Sun 15. Aug 2004, 13:07
Location: Hungary
Contact:

Re: News CP problem

Post by Mobius »

zuker wrote:Hi,

my problem with News CP is that the listing page works as expected, but the problem that occurs is that after clicking the newsdetail link I get index page of my website, not the detail page. Any suggestions what kind of problem it can be (missing file after installation, db problem )?

Donatas
I have a same problem on my site.
Can anyone help us??
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Re: News CP problem

Post by jsw_nz »

I am having a problem with the news contentpart - as well
- a little bit different to the above issues
- thought it would be best to post here -
- Basically I cannot get the image thumbnail to show up
- in both news listings and news detail page - hmm


I am working off my localhost and using subdirectories

The script utilizes the img/cmsimage.php

BUT.......
- upon rendering the page
- I get a missing image icon in IE
- and the name only of the image in FF

I have tried this in two separate installations localhost/R257 and localhost/R263
Is there an issue of subdirectories here?

- Everyone reports the image thumbs work
- but i cannot figure out why it is not working
- on my localhost

- pointers appreciated
- i really like this cp
- so i really want to get this to work


:D
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: News CP problem

Post by Oliver Georgi »

I saw you use PHP as CGI - you must switch cmsimage.php/... to cmsimage.php?...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
mshaker
Posts: 19
Joined: Fri 20. Jun 2008, 11:13

Re: News CP problem

Post by mshaker »

Search results do not use the article alias to render the article detail for a news article. It uses the newsdetail and I'm therefore back to the original problem of this thread, that is when clicking the search result link to a news article. I'm using r257.

Thanks
Post Reply