I have a template made out already in HTML/PHP format http://www.atcork.com/beta/preview/check.php .
What I want to know is would it be possible to code a template around this design or am I wasting my time with Drupal as a backend. Are there any better Content management systems for the job?
Over the past several days I've been immersed in hacking xtemplates. My goal was to assign templates based upon sections of the Web site. My first inclination was to assign styles based upon the vocabulary of the site, later I decided that for my purpose it would be better to assign styles based upon terms.
I've gotten as far as:
Copying Xtemplages and renaming every reference
Creating the necessary functions to access the "terms" stored in the DB. (wish that I had known about some of the functions in taxonomy.module before hand)
Generating new forms in the theme manager [ /admin/system/themes/mxtemplate ] to assign specific templates to each term.
Where I was headed:
I was hoping to somehow pull the term (taxonomy) of the current page, and match it to the data that I had already collected. If there was a match, I was going to give the page a different style sheet. But I'm not sure if this is even feasible. I realized this when I started poking around more in the xtemplate code. Then I started looking at the URL's that Drupal generates and I realized that you can have multiple taxonomies displayed at the same time. Obviously I'm struggling to understand the different components of a drupal page that gets rendered to a browser.
How can I display the individual blocks? I know they have their ID's, but I can't find anywhere in documentation how a tag invoking the individual block looks like? How to get some block's unique ID?
Additionally, is there any documentation on the list of Drupal's tags?
Guys, I am sorry - I am the Drupal beginner, and some things are very unclear to me even after fiddling with Drupal for a few weeks... :( Please, give me a hand here...
How can I display the individual blocks? I know they have their ID's, but I can't find anywhere in documentation how a tag invoking the individual block looks like? How to get some block's unique ID?
Additionally, is there any documentation on the list of Drupal's tags?
Guys, I am sorry - I am the Drupal beginner, and some things are very unclear to me even after fiddling with Drupal for a few weeks... :( Please, give me a hand here...
I would like to put the words "Featured Article" at the top of each node that has "Static on front page" checked. I'm using xtemplate.
I tried inserted "Featured Article" after the div class="node {static}" tag and it worked, sort of. It put "FEATURED ARTICLE" at the top of every node, not just static on front page nodes. Is there any way to limit it to just static on front page entries?
I need to set up the front page content so it displays Title and teaser from the pages that have 'Promoted to front page' option setup - just like the default, but would need to use 4-6 separate table cells for display. Meaning newest articles would be output in 4-6 cells.
So the same tags would be invoked 4-6 times. I have tried to copy the code from BEGIN: node to END: node into four cells but the output is all messed up. I know I am missing the basics here, but I really can't do it. :(
Taxonomy terms are all assigned. How do I start doing this?