Page 2 of 4
Re: News template
Posted: Wed 2. Jul 2008, 09:42
by heliotrope
Hi all !
I've just been installing 1.3.9 version (213)...
This News CP seems great !
BUT .. impossible for me to get it work properly..
in fact, I insert a jpeg Image but it never appears in frontend .
I installed template+css provided by 360fusion (thanks !) But it doesn't works better........
Instead of getting the jpeg image, I get a small square ...
When I clic the thumbnail in "news detail", lightbox starts but the image doesn't appear.....
Has anyone a solution ???? Something special to do to get it work ?????
Re: News template
Posted: Thu 3. Jul 2008, 14:07
by heliotrope
Am I alone having this problem ???
Re: News template
Posted: Fri 25. Jul 2008, 17:48
by chico_html
heliotrope wrote:Am I alone having this problem ???
Nope, I have the same problem. First I tried to insert an image with an absolute path, but it didn't work. Then I uploaded the image through the phpwcms file manager but when I selected it in the news editor, the image didn't appear. Neither in the frontend.
I even tried with the default template and with the one provided by 360fusion. Nothing. The content of the news is shown, but not the image.
Has anyone the slightest idea of what the problem could be?
Re: News template
Posted: Fri 25. Jul 2008, 20:51
by chico_html
The problem seems to be in this path:
img/cmsimage.php/168x115x0/8
this file (cmsimage.php) doesn't find the image. The complete path in the browser returns a 404 error, but if I remove the params (leaving img/cmsimage.php) it shows a blank image (leer.gif), so it's correct.
But why doesn't find the images uploaded with the filemanager?
The images are correct, because I can use it with other content parts (eg: text w/image).
I don't know... any help will be welcome.
Thanks,
Eduardo
Re: News template
Posted: Sat 26. Jul 2008, 08:56
by Oliver Georgi
if you have problems loading the image try set image src attribute to
{SITE}img/cmsimage.php/168x115x0/8
or
{SITE}img/cmsimage.php?168x115x0/8
{SITE} might be not necessary. Try with or without - the key might be the
/ or
? - some web servers (mainly CGI based) cannot handle this.
Another option might be to set
base href in the head.
Oliver
Re: News template
Posted: Sun 27. Jul 2008, 05:10
by chico_html
Thank you very much Oliver!!
The problem was the slash; using the question mark it worked.
I hope this also solves heliotrope's problem.
Regards,
Eduardo
Re: News template
Posted: Mon 4. Aug 2008, 16:55
by Darodesign
Hallo Ben
Ich habe Dein Template für die News einmal getestet. Was ich festgestellt habe, wenn ich im CP News Paginierung aktiviere und angebe dass es 5 Einträge pro Seite anzeigen soll, wird die Navigation nicht angezeigt. Auf der Seite werden alle 11 Einträge angezeigt. Ich habe es auch mit dem Standard Template getestet, auch dort werden alle 11 Einträge angezeigt. Daher bin ich nicht sicher ob das ein Fehler vom Template ist, oder vom CP News!
Kann mir da einer helfen?
Danke zum voraus
Daniel
Re: News template
Posted: Mon 4. Aug 2008, 18:02
by Oliver Georgi
Ich habe das doch schon gepostet - aktuell funktioniert die Paginierung noch nicht!
Oliver
Re: News template
Posted: Sun 28. Sep 2008, 02:48
by jsw_nz
I too am having problems with getting the
image thumbnail to render
I posted this issue elsewhere - just minutes ago
http://forum.phpwcms.org/viewtopic.php?f=1&t=17691
I have tried
all the above mentioned workarounds
(1) base href
(2) {SITE}img/cmsimage.php
? data_for_image
(3) {SITE}img/cmsimage.php
/ data_for_image
(i am working off of my localhost - cgi fast - so am I out of luck?)
- this is such a nice cp
- would love to see the cmsimage.php work
- on my local host development environment
Re: News template
Posted: Sun 28. Sep 2008, 08:04
by jsw_nz
Hi Ben.
I have another question - regarding your template
(first of all thnx - for the video and post)
I found the setting:
news_per_row = 2
-quite interesting
but have been unable to get it to work.....
- guessing that it is unsupported atm
- but something OliG plans to support
- would be nice
- is this the case?
all best
Re: News template
Posted: Sun 28. Sep 2008, 08:29
by Oliver Georgi
news_per_row should work.
Oliver
Re: News template
Posted: Sun 28. Sep 2008, 10:58
by jsw_nz
Hi Oliver
Thanks for your reply to the two posts (in different places) on forum related to news cp
on issue 1 - CGI -
Neither work -- "/" or "?" - I am running php 4.3.9 windows - fast cgi - i guess i have no luck
on issue 2 - Number per/row of news items - I have used ben's template - but been unable to get
news_per_row to work.....
(any chance for you to supply an example to put into news templates folder)
- or perhaps ben can help out -
anyway i think i am missing something - feeling unlucky today
Re: News template
Posted: Sun 28. Sep 2008, 13:41
by Oliver Georgi
default news template has such section:
Code: Select all
<!--NEWS_LIST_ROW_SPACE_START//-->
<!-- space between rows of news items -->
<hr />
<!--NEWS_LIST_ROW_SPACE_END//-->
And you should really update your PHP version on Windows. For me it sounds more like an browser or firewall blocking - cmsimage makes a redirect to the correct image - switch from
/ to
? must give an result. On other hand - maybe you do not have all updated files or rights or path is set wrong.
Oliver
Re: News template
Posted: Sun 28. Sep 2008, 15:59
by jsw_nz
big thanks Oli!
BOTH issues sorted now!
Re: News template
Posted: Tue 30. Sep 2008, 12:07
by heliotrope
Hello!
I have a strange problem with this CP News ...
I 've made everything indicated (.tmpl + css )... It looks very beautiful ...Everything I expected ...
The problem : when I want to see details of one of the News in the list : just nothing happens .
The News list page just reload ....
Any solution ??
NB : I upgraded 1.3.5 (2007/10/29) to 1.3.9 r213 (2008/06/18) ...
perhaps it's a sql-update problem .....
Thanks in advance