Insert macro Options
Tobbi
Posted: Wednesday, September 17, 2008 9:36:02 AM
Rank: Newbie

Joined: 9/9/2008
Posts: 23
Location: Copenhagem
hi

been trying to insert a macro into some content, but i can't get it to work.

for testing:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:Stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">


<xsl:output method="xml" omit-xml-declaration="yes"/>

<xsl:param name="currentPage"/>

<xsl:template match="/">

<p>test</p>

</xsl:template>

</xsl:stylesheet>

this should do it right ?
what happens is i go to my content and press insert/edit macro, inserts the macro and when i click save the rte disappears and all the buttons is missing... i'm using Firefox.

You can see a screenshot here:



i cant see it when i view the page either.
Maybe i'm just a noob and missing something :)

edit, this it how it's supposed to look before i insert macro :P :


Tobbi
Posted: Thursday, September 18, 2008 10:00:39 AM
Rank: Newbie

Joined: 9/9/2008
Posts: 23
Location: Copenhagem
nodody else having any problems working with the ui or a solution ? Think
Dirk
Posted: Thursday, September 18, 2008 10:07:09 AM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,136
Location: Belgium
Hi,

Did you check the 'Macro properties' tab for the macro

'Use in editor' (Yes/No) ?
'Render content in editor' (Yes/No)?

Greetz,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
Tobbi
Posted: Thursday, September 18, 2008 12:20:19 PM
Rank: Newbie

Joined: 9/9/2008
Posts: 23
Location: Copenhagem
Dirk wrote:
Hi,

Did you check the 'Macro properties' tab for the macro

'Use in editor' (Yes/No) ?
'Render content in editor' (Yes/No)?

Greetz,
/Dirk


yes i did... the problem is when i insert the macro, the page no longer render's correctly in the ui.
I can't do anything or see anything, as you can see in the first screenshot above.

hmm i get these 2 javascript errors:

Fejl: document.getElementById(tabs[i] + "layer") is null
Kildefil: http://172.16.0.52:1111/umbraco_client/tabview/javascript.js
Linje: 5

Fejl: document.getElementById(TabPageArr[i] + "layer") is null
Kildefil: http://172.16.0.52:1111/umbraco_client/tabview/javascript.js
Linje: 33
deeflate
Posted: Thursday, September 18, 2008 10:39:45 PM
Rank: Newbie

Joined: 3/18/2008
Posts: 6
Location: Århus
I'm experiencing the exact same problem when trying to insert a super simple macro.
This happens regardless of whether or not I set the macro to render in the editor - and like Tobbi I can't see the macro's content on the website either.

Any help anyone has to offer will be greatly appreciated :)
drobar
Posted: Thursday, September 18, 2008 11:31:49 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Which version of umbraco are you using, and what browser?

Javascript errors are almost always related to a lack of file permissions one place or another. If you're on a test machine you could just give NETWORK SERVICE (or whoever 'owns' the application pool for your site) full control to your entire site. Otherwise, look at the manual installation instructions at http://www.umbraco.org/documentation/books to get a list of the proper files, folders, and permissions you'll need.

cheers,
doug.


MVP 2007-2009 - Percipient Studios
Tobbi
Posted: Friday, September 19, 2008 10:05:43 AM
Rank: Newbie

Joined: 9/9/2008
Posts: 23
Location: Copenhagem
drobar wrote:
Which version of umbraco are you using, and what browser?

Javascript errors are almost always related to a lack of file permissions one place or another. If you're on a test machine you could just give NETWORK SERVICE (or whoever 'owns' the application pool for your site) full control to your entire site. Otherwise, look at the manual installation instructions at http://www.umbraco.org/documentation/books to get a list of the proper files, folders, and permissions you'll need.

cheers,
doug.


i have given permission to the folders mentioned in the documentation, and now I've tried given permission to the entire site, but still no luck.

Maybe I'll try a reinstall when i got the time.

*im using umbraco v 3.0.3 (Assembly version: 1.0.2825.21247)

Firefox 3.0.1

(also tried with IE, same error)
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.