News template
- heliotrope
- Posts: 33
- Joined: Fri 14. Sep 2007, 15:21
Re: News template
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 ?????
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 ?????
- heliotrope
- Posts: 33
- Joined: Fri 14. Sep 2007, 15:21
Re: News template
Am I alone having this problem ???
-
- Posts: 28
- Joined: Wed 18. Oct 2006, 15:07
- Location: Montevideo - Uruguay
Re: News template
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.heliotrope wrote:Am I alone having this problem ???
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?
-
- Posts: 28
- Joined: Wed 18. Oct 2006, 15:07
- Location: Montevideo - Uruguay
Re: News template
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
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
- Oliver Georgi
- Site Admin
- Posts: 9906
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: News template
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
{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
-
- Posts: 28
- Joined: Wed 18. Oct 2006, 15:07
- Location: Montevideo - Uruguay
Re: News template
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
The problem was the slash; using the question mark it worked.
I hope this also solves heliotrope's problem.
Regards,
Eduardo
- Darodesign
- Posts: 47
- Joined: Fri 1. Aug 2008, 14:15
- Location: Schweiz
- Contact:
Re: News template
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
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
- Oliver Georgi
- Site Admin
- Posts: 9906
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: News template
Ich habe das doch schon gepostet - aktuell funktioniert die Paginierung noch nicht!
Oliver
Oliver
Re: News template
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
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
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
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
- Oliver Georgi
- Site Admin
- Posts: 9906
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: News template
news_per_row should work.
Oliver
Oliver
Re: News template
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
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
- Oliver Georgi
- Site Admin
- Posts: 9906
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: News template
default news template has such section:
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
Code: Select all
<!--NEWS_LIST_ROW_SPACE_START//-->
<!-- space between rows of news items -->
<hr />
<!--NEWS_LIST_ROW_SPACE_END//-->
Oliver
Re: News template
big thanks Oli!
BOTH issues sorted now!
BOTH issues sorted now!
- heliotrope
- Posts: 33
- Joined: Fri 14. Sep 2007, 15:21
Re: News template
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
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