How to customize / edit wiki theme in content_entry.xsl file to display tags for blog pages and not wiki pages?
I am trying to customize a wiki theme by displaying the "Edited Today at… by…" for only blog pages and not wiki pages.
I tried editing the content_entry.xsl with an xsl if tag, but failed.
<xsl:if test="context/link='/groups/groupname/weblog/'">
<div id="entry_date" class="entry_date">
<a href="{../contentEntry/historyURL}" id="history_link" title="{../../jsstrings/tooltips_history_link}" onclick="return false"><xsl:value-of select="../../strings/History"/></a>
<span id="history_time_author"><xsl:value-of select="historyTimeAuthor" disable-output-escaping="yes"/></span>
</div>
</xsl:if>
What is the correct <xsl:if test=""> tag, that would execute this?
For <xsl:if test="context/"> I believe the content after "context/" are variables like link, baseHREF, contentEntry. What are other variables I can use?
I also tried it this way, but does not seem to work.
<xsl:if test="context/link='/groups/groupname/weblog/'">
<xsl:template match="context/entryMeta">
<div class="metadata" id="entry_metadata">
<div class="start startmetadata"><span></span></div>
<div class="contents contentsmetadata">
<div id="entry_date" class="entry_date">
<a href="{../contentEntry/historyURL}" id="history_link" title="{../../jsstrings/tooltips_history_link}" onclick="return false"><xsl:value-of select="../../strings/
History"/></a>
<span id="history_time_author"><xsl:value-of select="historyTimeAuthor" disable-output-escaping="yes"/></span>
</div>
</div>
<div class="end endmetadata"><span></span></div>
</div>
</xsl:template>
</xsl:if>
Similar Messages
-
how do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?
so the thing is a few days ago i made an app store purchase and i didn't know i was running out of money on my credit card. i realized that only when i tried to purchase another item and it didn't work. nothing special til here. the problem is that meanwhile my credit card was replaced by a new one by the bank because the old one was soon expiring. So the data associated with the old credit card no longer exist.
i tried to edit my billing info associated with my apple id in order to enter the new credit card data, but the system doesn't allow me to do that.
so i can neither pay my purchase, nor edit my info, nor access app store anymore.
what's next? any ideas? thanksServers down wait till status is fixed to change or add your data http://www.apple.com/support/systemstatus/
-
How do I edit the text in a pdf file that has been converted to a Word doc
How do I edit the text in a pdf file that has been converted to a Word doc?
Hi BridgetteJean,
Please go through this video this explains how to edit text in a pdf document.
http://tv.adobe.com/watch/acrobat-tips-and-tricks/editing-text-with-the-typewriter-tool/ -
Before I updated my iPod I had all of the songs to an album that I bought on iTunes. After I updated my iPod I only have 5 of those songs from the album. I would like to know how I can get the rest of the songs cause I already paid for the album and I went on my computer and it said that I have to pay for them even though I already paid for the whole album. So what do I do?
Sync with the same computer iTunes that you normally sync with.
-
How do I share a new project on imovie if the export option is greyed out and not an option?
how do I share a new project on imovie if the export option is greyed out and not an option?
nicoleking wrote:
... I heard that if you bring in your old iPhone, they will give you a new one with some kind of fee, but I don't know how that works.
https://discussions.apple.com/message/22920500 -
When I send a text using siri the recipient shows that the text came from my email. How do I fix that so it show that the text came from my phone number and not my email address?
Settings > Messages > Send & Receive > Start new conversations from:
Only your phone number is selected. -
How can I get my data from a old iPad to a new iPad using iCloud and not iTunes
How can I get my data from a old iPad to a new iPad using iCloud and not iTunes
Restore from the iCloud backup - assuming that you were backing up to iCloud in the first place. If you weren't using iCloud for backup - then you are out of luck.
If you were backing up to iCloud - you have to erase all contents on the iPad in Settings>General>Reset>Erase all content and settings - before you can restore from the iCloud backup.
Read this article before you do anything else
http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/ -
how can i hold a spot in a clip, let the audio continue for a moment and then resume the clip and audio together?
you want to use the retiming tool. you can select what you want to hold, then use the "Hold" command (shift-H) to create a single frame of a default duration, which you can then change to whatever length you want by dragging the retiming handle.
Here's the page in the help manual that describes the hold feature in detail:
http://help.apple.com/finalcutpro/mac/10.0/#ver4c2173c9 -
After updating to iOS 6 my iPod Touch 4th.Gen is virtually unusable ... does anyone know how to sue Apple since they gave no warning about iOS 6 being for iPad optimisation and a killer for iPods ? Before I throw away my iPod Touch does anyone know if Apple intends to rectify their obnoxious disregard for iPod users by issuing another 'upgrade' which will allow iPods to work without the constant system crashes that iOS 6 has caused ?
Contact a lawyer if you want to sue.
Otherwise try:
- Reset the iPod. Nothing will be lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup
- Restore to factory settings/new iPod.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
How do I force the player to open in the center of my screen every time, and not way on the side?
Solution is very simple, Just choose firefox as your default browser.
Follow these steps :
* Open '''Options'''
* Click on '''Advanced'''
* Now open '''General''' tab and click on '''Make FireFox The Default Browser'''. See Image below. -
How do you fix a iPod Touch 4G when you had it off for 2 weeks and charging it back faster.
How do you fix a iPod Touch 4G when you had it off for 2 weeks and charging it back faster?
After charging overnight
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
How do i attach a file to an email as an attachment and not embeded in the message?
how do i attach a file to an email as an attachment and not embeded in the message?
This question has been asked and answered several times already.
Any file attached to an e-mail message is an attachment. There is no other possibility -- the mail protocol does not allow it.
However, different e-mail clients may have different ways of displaying or viewing attachments, depending on their settings and the type of file attached.
If you're having problems with Windows users complaining about your messages, follow these instructions
<http://docs.info.apple.com/article.html?path=Mail/4.0/en/9965.html> -
How do I get my twitter to work? It's been working for ages now and as soon as the IO6.1 update comes out its stops working!
same issue here 6.1 messed up my iphone and ipad
-
I've recently change my Apple ID email so I've recently went to the App Store to download some apps that I've bought a while ago and none of them are showing. I've also searched for the app and wants me to buy it again.
Do you remember the old Apple ID and password? If so try using that.
Otherwise contact support at the App Store:
OT -
After an initial sync my iphone phots are gone and not on the computer, can i retrieve them?, After an initial sync my iphone phots are gone and not on the computer, can i retrieve them?
Is this is a new iPhone that had never been synced with iTunes on any computer - the first time this iPhone was connected to iTunes on this computer which has been used to sync with another iPhone or iOS device?
The first time a new iPhone is connected to iTunes on a computer that is used to sync with another iPhone or iOS device, you are prompted to transfer the backup for the other iPhone or iOS device, or set up the iPhone as a new iPhone.
If you choose the former, the Camera Roll on the new iPhone is replaced with the Camera Roll contents included with the backup for the other iPhone or iOS device.
Syncing with iTunes alone does not touch the iPhone's Camera Roll.
Maybe you are looking for
-
Adobe Acrobat 9 Pro - Creating PDF from explorer (Right-Click) problem
Hello, I am new here. I've searched the forums here and maybe I've missed finding the solution. We recently updated from Acrobat 6 Pro to Acrobat 9 Pro, and I can no longer get a PDF to be created in the same folder the Word, Excel or other file is
-
Is Your Monitor (Especially iMac 24") Too Bright? Try "Shades" - FREE!
A number of iMac 24" users have complained that the screen can be too bright - even when dimmed the maximum amount. A comparatively new forum member - tysohsg - posted details (on the iMac forum) of a free program called "Shades" which gives fine tun
-
Best approach to do Range partitioning on Huge tables.
Hi All, I am working on 11gR2 oracle 3node RAC database. below are the db details. SQL> select * from v$version; BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production PL/SQL Release 11.2.0.3.0 - Production CORE 11.2.0.3.
-
IC Remove views "Note History" and "Last Interactions"
Hello Everyone, I've got a problem within the IC(Business Role IC_AGENT). On the Account Identification view there are two screens, the first screen shows the Note History and the second shows Last Interactions. I really would like to remove them fro
-
Widget is missing it's scroll bar
After publishing my project and viewing the project in Chrome, the tabs within a widget that have more content then the widget frame can hold are not accessible because the scroll bar has dissapeared. Please advise on how to fix this. Thank you in a