Closed (fixed)
Project:
Fervens
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2010 at 20:45 UTC
Updated:
24 Apr 2010 at 14:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
ktleow commentedHello thekayra,
I've switched my demo site to Fervens C + Liquid width (http://demo.kahthong.com/fervens/).
Its all good here. The
firstandlastare applied to the blocks correctly.May I know what other modules are you using, did you make any modifications to the theme's template files?
I'll try to reproduce the problem from your list of modules and Drupal version.
Comment #2
thekayra commentedThanks ktleow,
I have altered -more than a little-
page-front.tpl.phpand created the following templates:page-front.tpl.php,views-view--quicktabs-latest-reviews.tpl.php. You can find these three files in the attachments. I am not the best coder around so the the way I ahve done things might seem crude =).I do not have any blocks on the front page and I rely on Panels for frontpage and user-profile. I do have the same issue on the search page where I do not use panels and did not alter the tpl.php.
Here below, the list of my modules. I am also going to delete and re-install the theme after this email. Once again thanks for your help. I already like the theme a lot and was already thinking of giving you some paypal love, once I launch my website.
gmap/
persistent_login/
google_analytics/
quicktabs/
active_tags/
heartbeat/
rules/
admin_menu/
i18n/
schema/
advanced_help/
imageapi/
spoiler/
auto_nodetitle/
imagecache/
tabs/
cck/
imagecache_actions/
tagadelic/
cck_fieldgroup_tabs/
imagecache_profiles/
taxonomy_manager/
cnr/
imagefield/
term_node_count/
computed_field/
imagefield_tokens/
token/
conditional_fields/
jammer/
token_custom/
content_profile/
l10n_client/
translation_helpers/
content_taxonomy/
languageicons/
transliteration/
ctools/
lightbox2/
tw/
custom/
link/
unique_field/
devel/
location/
userpoints/
emfield/
logintoboggan/
userpoints_contrib/
luceneapi/
userpoints_nc/
filefield/
luceneapi_cck/
views/
fivestar/
mimedetect/
votingapi/
flag/
multiselect/
wysiwyg/
friendlist/
panels/
genpass/
pathauto/
Comment #3
thekayra commentedRe-installing did not work out unfortunately.
Comment #4
ktleow commentedCan you provide me the link to your Drupal site with this modified Fervens you're using?
Also, goto http://validator.w3.org/ and try to validate your site see if your modifications are correct.
From the looks, your code have some tags mismatch (eg: forgotten to close an opening
<div>, etc).Comment #5
thekayra commentedFinally, the site is online. Unfortunately the problem persists. You can visit it on www.bencesuper.com.
I have checked the validator and it is validated as "XHTML 1.0 Strict".
When I have added some functions in the template.php, they worked. So this is really becoming confusing for me =).
Comment #6
ktleow commentedI think I see your problem now.
The blocks within Panels are not controlled by my theme (i mean the markups).
Therefore it does not get the classes applied.
Only normal blocks outside a Panel gets
firstandlast.Comment #7
thekayra commentedHmnn, I see. However I am not using Panels on taxonomy or node pages. And the blocks are still not getting the
firstandlast. This might still be related to Panels?Comment #8
ktleow commentedThats a very long list of modules you have there :(
First of all, you should try a fresh copy (download) of latest Fervens theme on your server with only core Drupal modules.
See if the blocks get
firstandlastclass applied.Then install 1 by 1 modules to find out the problem.
Comment #9
thekayra commentedOuch! Well I gotta do what I gotta do then =)
Will let you know once I find the culprit..
Comment #10
thekayra commentedOK, Found the culprit!
"Block translation" is the one causing the problem. Once I disabled it, the blocks started to get the
extraclass.Any idea why? I will also ask Internationalization module people to get their help. Will let you know, if I get any info.
Thanks for the help,
KK.
Comment #11
thekayra commentedThe issue I have opened at Internationalization project: http://drupal.org/node/707596
Comment #12
Jerimee commentedI think this is a problem with the latest Fervens update. I have an older version of the fervens theme; when I apply it the first and last classes are correctly applied. In the latest version they are not.The old version is 6.x-2.2 (where it works), the new is 6.x-2.4 (where it does not).Please disregard
Comment #13
Jerimee commentedThe only difference I can find is that the old 2.2 uses the prefix phptemplate_ and that 2.4 uses the prefix fervens_It's a separate issue, but the theme settings no longer work either. You can no longer choose fervens-b or c from the theme admin.And sure enough, when I replace the the function prefixes "fervens_" with "phptemplate_" both issues are resolved.Please disregard - I renamed the theme, and this is why I had the error.
Comment #14
ktleow commentedFor users upgrading from previous version, you need to goto admin/settings/performance and clear your Drupal caches because there has been a slight change in codings.
My demo site is using the latest Fervens 2.4, it gets first/last class and switching from styleA/B/C works too.
Have a look at it where I've changed to Fervens C layout, http://demo.kahthong.com/?theme=fervens
Comment #15
ktleow commentedThis problem should be fixed in the version 2.5 release.
Similar issue: http://drupal.org/node/702862