Problem of presenting the "Archives" page
- GK User
- Sat Feb 01, 2014 4:45 pm
Hi,
Please have a look on this page : http://fapisere.fr/archives
There are 2 problems :
- sometimes an article is only with title, wihout any text, and in this case there is no space before the title of the following article,
- the text of other articles is too short.[/list]
Thank you to tell me how to fix it
Please have a look on this page : http://fapisere.fr/archives
There are 2 problems :
- sometimes an article is only with title, wihout any text, and in this case there is no space before the title of the following article,
- the text of other articles is too short.[/list]
Thank you to tell me how to fix it
-
- Expert Boarder
- teitbite
- Sun Feb 02, 2014 11:55 am
Hi
I believe the problem is that the intro part is not specified. Instead the whole HTML code is being cut leading to a wrong HTML syntax. Please be more carefull when setting the "Read more" line.
I believe the problem is that the intro part is not specified. Instead the whole HTML code is being cut leading to a wrong HTML syntax. Please be more carefull when setting the "Read more" line.
- Code: Select all
<p row1"="" style="text-align:... </div> </li> <li class="> </p>
-
- Moderator
- GK User
- Sun Feb 02, 2014 2:21 pm
Hi
Unfortunately, most of articles are without "Read more" line and problem is not fixed when I delete "Read more" line if any.
Unfortunately, most of articles are without "Read more" line and problem is not fixed when I delete "Read more" line if any.
-
- Expert Boarder
- teitbite
- Sun Feb 02, 2014 5:01 pm
Hi
Ok. Please send me an access to joomla panel than. I'll check.
Ok. Please send me an access to joomla panel than. I'll check.
-
- Moderator
- GK User
- Sun Feb 02, 2014 5:49 pm
Hi
I created an administrator access GKTEITBITE with your personal email address below : thank you to request a new password.
I created an administrator access GKTEITBITE with your personal email address below : thank you to request a new password.
-
- Expert Boarder
- teitbite
- Mon Feb 03, 2014 11:12 am
Hi
Thanks for the access, but unfortunately it didn't helped to solve the problem. There is nothing wrong with configuration. Please send me an ftp access I think the problem is in file's code.
Thanks for the access, but unfortunately it didn't helped to solve the problem. There is nothing wrong with configuration. Please send me an ftp access I think the problem is in file's code.
-
- Moderator
- GK User
- Mon Feb 03, 2014 11:43 am
Hi,
See ftp access by PM
See ftp access by PM
-
- Expert Boarder
- teitbite
- Tue Feb 04, 2014 12:13 pm
Hi
I have tracked the issue to truncate function. Looks like article is being cut despite the HTML code it's been using. A fix would be to remove truncate or to strip content from HTML before it will be truncated. Unfortunately I cannot fix it. I have prepared a file for that in /html/com_content/archive/default_item.php but I think You have some kind of a server cache working, becuase none of my php changes are visible for the site. Can You please disable it so I'll be able to finish fixing the problem.
I have tracked the issue to truncate function. Looks like article is being cut despite the HTML code it's been using. A fix would be to remove truncate or to strip content from HTML before it will be truncated. Unfortunately I cannot fix it. I have prepared a file for that in /html/com_content/archive/default_item.php but I think You have some kind of a server cache working, becuase none of my php changes are visible for the site. Can You please disable it so I'll be able to finish fixing the problem.
-
- Moderator
- GK User
- Tue Feb 04, 2014 3:30 pm
Hi,
Thank you. I ask OVH how to disable the server cache.
Thank you. I ask OVH how to disable the server cache.
-
- Expert Boarder
- teitbite
- Wed Feb 05, 2014 7:50 pm
Hi
Ok. Let me know when it will be disabled so I'll make this fix.
Ok. Let me know when it will be disabled so I'll make this fix.
-
- Moderator
- GK User
- Sun Feb 09, 2014 9:19 am
Hello
I'm still waiting for the response of OVH, but I have a question.
Indeed, I see no directory "archive" in "www/templates/gk_twn2/html/com_content/" : what does that mean ?
Regards
I'm still waiting for the response of OVH, but I have a question.
Indeed, I see no directory "archive" in "www/templates/gk_twn2/html/com_content/" : what does that mean ?
Regards
-
- Expert Boarder
- teitbite
- Sun Feb 09, 2014 1:00 pm
Hi
It means that a file from an orginal component is used. I'm planing to make an override by adding this file. Let me know when access will be extended.
It means that a file from an orginal component is used. I'm planing to make an override by adding this file. Let me know when access will be extended.
-
- Moderator
- GK User
- Sun Feb 09, 2014 1:49 pm
Hi,
Access is extended
Access is extended
-
- Expert Boarder
- GK User
- Tue Feb 11, 2014 11:59 am
Hi,
The cache is disabled.
The cache is disabled.
-
- Expert Boarder
- teitbite
- Wed Feb 12, 2014 9:34 pm
Hi
I have replaced the orginal code for displaying introtext to:
Works better, but revealed that some of the articles has no introtext at all. Anyway with a dots at the end of the cut introtext the empty ones has a small element to separate them from the other titles. Hope You will like it.
I have replaced the orginal code for displaying introtext to:
- Code: Select all
<?php echo substr( strip_tags( $item->introtext ), 0, $params->get('introtext_limit') ) . '...'; ?>
Works better, but revealed that some of the articles has no introtext at all. Anyway with a dots at the end of the cut introtext the empty ones has a small element to separate them from the other titles. Hope You will like it.
-
- Moderator
- GK User
- Thu Feb 13, 2014 7:38 am
Hi,
This is perfect, thank you.
This is perfect, thank you.
-
- Expert Boarder
- teitbite
- Fri Feb 14, 2014 9:07 pm
Hi
Great to hear that I'm happy I could help.
Great to hear that I'm happy I could help.
-
- Moderator
17 posts
• Page 1 of 1