/    Sign up×
Community /Pin to ProfileBookmark

Magento Editing The Columns?? Please Help

I’ve gone thru the tutorial on Magento layouts here: [url]http://www.magentocommerce.com/design_guide/articles/intro-to-layouts[/url] and am really confused right now. I guess I have 3 main questions:

  • 1. I’ve downloaded a social bookmarketing widget (are these even called widgets like they are in wordpress and joomla?). What’s the easiest way to get it into my right column? I tried creating a static block and adding the widget to that. Then went into cms.xml and added
  • <block type=”cms/block” name=”test”>
    <action method=”setBlockId”><block_id>test</block_id></action>
    </block>

    It showed up, but it didn’t have the css formatting that the rest of the widgets have. You can see what I mean here: [url]http://www.renownhearingaids.com[/url] and look on the right for:

    Twitter Facebook Linkdin MySpace Digg Technorati Del.icio.us Live Reddit StumbleUpon

    How do I get the widgets I download from connect in properly?

  • 2. How do i add the widgets that have come stock with my theme? I’m using mapple, and have a number of widgets that came in the template folder. My question is how do I add these into the xml file? How do I know what actions are available for me to use?
  • For example, one of the widgets that was already added in the theme – poll – has the following in the xml file:

    <block type=”poll/activePoll” name=”right.poll”>
    <action method=”setPollTemplate”><template>poll/active.phtml</template><type>poll</type></action>
    <action method=”setPollTemplate”><template>poll/result.phtml</template><type>results</type></action>
    </block>

    How would I know the action method setPollTemplate and the template names poll and results?

    One of the included widgets that I want to add is smartmenu. One of the included files is accordian_left.phtml. How do I set this up in the xml?

  • 3. Can you do layout updates from the backend?
  • Looking at the social bookmark widget, i see there is a section called layout update, but the block reference is empty? Aren’t the block references stuff like right, left, ect. Why aren’t they appearing? How do I create a block reference for this widget if I need to create one?

    to post a comment
    PHP

    0Be the first to comment 😎

    ×

    Success!

    Help @daniel7rusu spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...