This forum is for assistance with theme development.

Change the "primary link" output.

Well as the topic title says, I want to be able to manipulate the link output at theme level without changing any drupal modules and other core functions.

A little more on changing output. I wan't to change the element structure, I really dislike the raw dumping of elements and a "|" in the middle. What I would like is to see all the links in

  • elements for easy styling afterwards.
  • Iam a starting duplar programmer and find the documentation on this part verry weak so all help will be greatly apreciated.

    Regards,

    Joost.

    How to theme view module's "table view"?

    I've themed my view's "list view" with great success, based on the code automatically generated by the views_theme_wizard module. Unfortunately this module currently only provides code for list views and I would like to theme a table view.

    Is it possible for someone to post some code that is relatively generic that I can modify to get me going? It would be much appreciated.

    Thanks,
    Jeff

    bug in admin -- block; suddenly reverts to default theme.

    This seems to be a bug. I don't know where to report it.

    if you do admin -- block, you suddenly revert to the site default theme. does not happen with other admin pages.

    can others replicate this?

    I've just spent hours trying to fix it, thinking it was a bug in a custom theme. But I can replicate this with pushbutton and bluemarine.

    Fatal Error When installing PHPTemplate

    I was going through the Theme development handbook. I downloaded and ftp'd the unzipped directory into themes/engines/phptemplate. I noticed that the Drupal install included this template engine, but there were afew more files, so I "upgraded" anyway, thinking there were improvements. I'm using the "pushbutton". This caused a "fatal error" on line 275 of .../themes/engines/phptemplate.engine.

    I replaced the files with the ones that came with the original 4.7.3 install, and everything is working again.

    FYI.

    -Doug

    How to know the weight of the parent

    Hi,

    I need to know the weight of the parent menu in page.tpl.php to theme the navigation menu. Example if the weight of the parent is 1 to 4, the secondary block is displayed at left:65px, and if the parent weight is 5 to 8, the secondary block is left:300px. Is there a way to know that?

    Thanks

    if else statement for contemplate and imagefield

    I'm using CCK with imagefield and imagecache to output a teaser view page. All the code is working correctly except that the 'focus_on_thumb' imagefield code is outputting the wrapper divs even if no image has been loaded.

    What I need to do is output the image and wrapper divs if an image has been uploaded else print nothing. I know this is done with an else/if statement but I'm not sure how it would work with the current foreach code.

    Any help greatly appreciated.

    Pages

    Subscribe with RSS Subscribe to RSS - Theme development